From patchwork Tue Jan 9 07:20:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 761244 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2063.outbound.protection.outlook.com [40.107.255.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56AA09444; Tue, 9 Jan 2024 07:21:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="DXuZ+KSf" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HSz4y6UDm+IFd+zObDjNT3i6l+pXG0LwQgO9B4+fRwcER0nXXXeXyZQmvj68jk1Msr6C/xrHqwXwt5XgHxYgdhAymzCmQO+Fbori25LU1pcfrpB1DGiYwYwC+r8j5d3Jq3GAmQrn7Xw5aaAM1ady3i+/FFK/1XJ8o+n4gZQ4OviQb4AU3RK4BnUS+6g9rnepBQOC8C+CER6AaAtsrdDPpL3Iu/AUwWTu6KnHzGfRqym1l7xvVRxnpFZx585NQ/DGAXB7KJqCY7UzHXTzX0thOBh+mjXTv9WJJRyVFDrzcgXknCzCIYBuZqPzGC67XY7buMSexZVMi+ynLpOYZueU9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=EmSKcEEWKURPlkS19SqAb+0saPQht4EwjxaRbHrRzNY=; b=PtlNyob9jGE05Tkv1CWSqr1qnTAkbFtK6+i2wQ2zNB/yNARcK07n+f6hFX1Fzh70qoAOgWaUxyTxKXJSaI6XiX+nnrpb4H3Ayg9CUkDFH5Bdyof6YV/4d3s/oGt4aazf3Qlhg+3BI0Q9uH9hkVZkHoqoDsZ67McuYfqPzrK1TqXfoLJQhDPJ/0NlnWRNyIwwUsgs5cXCbqWiu5WEc+vwQVGYI6KMNdjmEg7EF251lu3ffRX3ounwH2ehSCz4yhjxyZJ8rmDzFtAQsx9hsQUNMlbD1AWIN0PJ3Zll+VpHRJh9pBhZm6rVP7pYK+hP32ccuBcEThThoJVxyV+MQhGNUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EmSKcEEWKURPlkS19SqAb+0saPQht4EwjxaRbHrRzNY=; b=DXuZ+KSfs2FxWEQbdzoc5qn6V8MFCPkKcOeQXYmUrRfAGbTTd2mdY0SKjlGMnxdYgAPSUefsTlBLP5m+YZLZE0Hvow7Bn7TY2kaDePlesOWiu98VLaCHnMeKqTQwwaNeSGi6SrMd9zbFuF9EZIiURNhtLYHrrySTKZ+XL3+9QReuCTB4+mwKP1B74bHH8SBvCnmjYPMZLHUNlP8Yw3BpfX1us9oivXnRdANxvBliTd+fQpBKxhAptcSQ+hURsQJfgrWCKwSMFGViu1rpGibt/5eDw/3M/o2IphkTQfYhmYVX9xf3UzrlORI/xx2iDalkZXTZcfvy56fNQQfGFCwTjA== Received: from PUZP153CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::10) by TYZPR04MB4495.apcprd04.prod.outlook.com (2603:1096:400:5e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.14; Tue, 9 Jan 2024 07:20:59 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::79) by PUZP153CA0009.outlook.office365.com (2603:1096:301:c2::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.7 via Frontend Transport; Tue, 9 Jan 2024 07:20:59 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:20:58 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 01/19] ARM: dts: aspeed: yosemite4: Revise i2c-mux devices Date: Tue, 9 Jan 2024 15:20:33 +0800 Message-Id: <20240109072053.3980855-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TYZPR04MB4495:EE_ X-MS-Office365-Filtering-Correlation-Id: 1225718d-88cf-4406-4878-08dc10e38711 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dobb9ea2xYoC7UCpCWrfUC+oCy50PrRxADHspucTGuBRoq95LgXlppduhLwjlL94GSupZJzyIfbPCDRaR0CkPLKJoU2cH1Uj/dKWveYCmxPGQOL+NV+S0fNG2eoS6FBWHn2//B6LCSsOY8KpQ0+kB4mZtTiPYmiUE91Ck1AID/B2vwVeeGirJDS3NSQP+nqdW05jedV0050AnjG7b/N0sPllQtj0uEpNARp5pICQHCPMJtOFRLXr6lMRTzguk/ZPB5YSFwSU+Xa9cuuamkygrJUJwf5aH+Ci7CK6iPOs4sg2E7T9lVibXinucQsmJ8nEuKvOjzJJ2IbWL6/YKGaINfupkK+qX1z30gsPeOhRuvxPq7PRK8w+q99p1QBm4KIGD86DXMMuDcuTllhBR1/R6DHh2m4EqMI9BaUwSb301pkjX2RnfKZ776ZA1N40tcVen6UsPT9Qb+es4DodZ+FLNDEYZsTDHz4SaReBun9ulCkuNvjIDR+udB4EBbdpmFBrWl2qgAyffg9sCmFndFHJj5+1GPm3VvgV/w64+zaYu/+bZLQTD+H6G2noDlIWpVcIX3AsoRDtZoKhy6fDCNy8GtO6ROV89/ic2cki6VHn7Bh/wUyzf/GhzLKSEvlbmcQ3QztQm8KlzeDh+nHbjZUllTOsOzPJISUQzbMZ4JvearKsSZbqu4GvdP5eX2pLyHAkYiHN9GVd1PRCDV2qYHk1Cg== X-Forefront-Antispam-Report: CIP:211.20.1.79; CTRY:TW; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:localhost.localdomain; PTR:211-20-1-79.hinet-ip.hinet.net; CAT:NONE; SFS:(13230031)(6069001)(4636009)(376002)(346002)(396003)(136003)(39850400004)(230922051799003)(64100799003)(451199024)(1800799012)(82310400011)(186009)(46966006)(36840700001)(4326008)(83380400001)(36860700001)(2906002)(8936002)(86362001)(8676002)(47076005)(5660300002)(7416002)(9316004)(82740400003)(478600001)(36736006)(41300700001)(6486002)(6666004)(6512007)(6506007)(70206006)(36756003)(70586007)(316002)(40480700001)(110136005)(956004)(2616005)(1076003)(356005)(336012)(26005)(81166007); DIR:OUT; SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:20:58.7413 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1225718d-88cf-4406-4878-08dc10e38711 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167; Ip=[211.20.1.79]; Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB4495 Revise Yosemite 4 devicetree for devices behind i2c-mux - Add gpio and eeprom behind i2c-mux - Remove redundant idle-state setting for i2c-mux Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 381 ++++++++++++++++-- 1 file changed, 347 insertions(+), 34 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 64075cc41d92..dac58d3ea63c 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -17,6 +17,25 @@ aliases { serial6 = &uart7; serial7 = &uart8; serial8 = &uart9; + + i2c16 = &imux16; + i2c17 = &imux17; + i2c18 = &imux18; + i2c19 = &imux19; + i2c20 = &imux20; + i2c21 = &imux21; + i2c22 = &imux22; + i2c23 = &imux23; + i2c24 = &imux24; + i2c25 = &imux25; + i2c26 = &imux26; + i2c27 = &imux27; + i2c28 = &imux28; + i2c29 = &imux29; + i2c30 = &imux30; + i2c31 = &imux31; + i2c32 = &imux32; + i2c33 = &imux33; }; chosen { @@ -259,9 +278,109 @@ &i2c8 { bus-frequency = <400000>; i2c-mux@70 { compatible = "nxp,pca9544"; - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x70>; + + imux16: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux17: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux18: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux19: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; }; }; @@ -270,15 +389,174 @@ &i2c9 { bus-frequency = <400000>; i2c-mux@71 { compatible = "nxp,pca9544"; - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x71>; + + imux20: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux21: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux22: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux23: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; }; }; &i2c10 { status = "okay"; bus-frequency = <400000>; + i2c-mux@74 { + compatible = "nxp,pca9544"; + i2c-mux-idle-disconnect; + reg = <0x74>; + + imux28: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = + "","","","", + "NIC0-MAIN-PWR-EN","NIC1-MAIN-PWR-EN", + "NIC2-MAIN-PWR-EN","NIC3-MAIN-PWR-EN", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + }; + }; + + imux29: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + }; }; &i2c11 { @@ -433,16 +711,14 @@ eeprom@51 { reg = <0x51>; }; - i2c-mux@71 { - compatible = "nxp,pca9846"; + i2c-mux@74 { + compatible = "nxp,pca9546"; #address-cells = <1>; #size-cells = <0>; - - idle-state = <0>; i2c-mux-idle-disconnect; - reg = <0x71>; + reg = <0x74>; - i2c@0 { + imux30: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; @@ -450,26 +726,26 @@ i2c@0 { adc@1f { compatible = "ti,adc128d818"; reg = <0x1f>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; pwm@20{ - compatible = "max31790"; + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ compatible = "ti,tca6424"; reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; }; - pwm@23{ - compatible = "max31790"; - reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; + pwm@2f{ + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; + reg = <0x2f>; }; adc@33 { @@ -492,34 +768,34 @@ gpio@61 { }; }; - i2c@1 { + imux31: i2c@1 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <1>; adc@1f { compatible = "ti,adc128d818"; reg = <0x1f>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; pwm@20{ - compatible = "max31790"; + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ compatible = "ti,tca6424"; reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; }; - pwm@23{ - compatible = "max31790"; - reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; + pwm@2f{ + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; + reg = <0x2f>; }; adc@33 { @@ -547,12 +823,10 @@ i2c-mux@73 { compatible = "nxp,pca9544"; #address-cells = <1>; #size-cells = <0>; - - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x73>; - i2c@0 { + imux32: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; @@ -563,10 +837,10 @@ adc@35 { }; }; - i2c@1 { + imux33: i2c@1 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <1>; adc@35 { compatible = "maxim,max11617"; @@ -589,9 +863,48 @@ mctp@10 { i2c-mux@72 { compatible = "nxp,pca9544"; - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x72>; + + imux24: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + imux25: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + imux26: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + imux27: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; }; }; From patchwork Tue Jan 9 07:20:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 761243 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2043.outbound.protection.outlook.com [40.107.215.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A60B21A11; Tue, 9 Jan 2024 07:21:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="Q0ItonQC" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h+txASSd7vjykcow3fzqDRmkQbp3i0TWSb2/wYAQuzXvWuoYDJahajVddt8NnZGCB76VSgYLbmmWjYJehlZDm+et+gQnEN4vvN/LdMKW12+0LlNfPErgNdUN+o6uV9fqlC7k6YKOUd6ZsDF2Yn2MmnqtuEVhwNBGiZgYT6/fEJxNl13d7oG3Wple4b5LUzPXb1yX+vjcpHvIe1Y5yWiEDybjmATlRJsicP75cSi9o0YMDoYGmMulBiGQYuDaZyPt+U6p48qNdXgr675EPwr4MkzNEvKKwWkc+SaEGX7ljecyLiPhoHgp05A678lv0EtyCLZPwoMuIzzJZ3r5vwj+5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MXS/IBxr+oV5K2cp3jW9e7qRwk8DHsYfz2fJN3Mk/J8=; b=jTNrDZCYMdUm/kBTS8cbOJxLX6pL0wh9geMoz0yvCoykhgeA5yybzngJ8UZfF3IUxLwHiU0CZN/TLeFnZnSzFYQEfWZ+ar2gooDNFzgHZ00XsvaOoRu1j+G7fHyOIvWQZFGpY772zZb3Nm73xl/dkgdMuotSAIFw0TMAs6M6pTgCLDYJxrsHauOfHPXsk3WBkxd1ICWgTujCJ2WD+55TYUWu8aXuXSj+aoPbt5GQk7RQx4XTq7ZHzHN1eZegsmdbYL6BUKu0GAE73F9jkZu4hNOi+eWR0FTtYnaEAF1bHU4ioSTqZAFRjQ6G4aQ7MrR59cpGLE9dOp32n0MMO/rT2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MXS/IBxr+oV5K2cp3jW9e7qRwk8DHsYfz2fJN3Mk/J8=; b=Q0ItonQCq8u1DO6c7xHcQoUoDZOHHhkNiW6EEopeIDW/w9puDDHFHHpaY41OfDXZVPl7mpQH8m9Qh+pzEcQ5qt5Q/jR3rZLKu4EsxHNQ2/S/wpXGjbymBgWCuWiqrBFytd4BALIz+eYo+KsLaMWIsFrUblp+lINh7bk4OqwuZOFgK6yIyCjZBJTb9P9wBN4yn7QOMkDgNF7yS8XmGdyTye6nyhB5vluh+v9Dnjj/J+zSy0ou4OI2yWK1geliOKFjGFlaBRIk1/uQXj8oXV0fpAYn7jt3+p1+JPHb5A8P6KERLOEgVV/URZ829sWEA35AjkgbEwrhJpxvHlcs5J7t3w== Received: from PUZP153CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::10) by SEYPR04MB6310.apcprd04.prod.outlook.com (2603:1096:101:b3::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:04 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::4a) by PUZP153CA0009.outlook.office365.com (2603:1096:301:c2::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.7 via Frontend Transport; Tue, 9 Jan 2024 07:21:04 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:03 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 03/19] ARM: dts: aspeed: yosemite4: Enable spi-gpio setting Date: Tue, 9 Jan 2024 15:20:35 +0800 Message-Id: <20240109072053.3980855-4-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEYPR04MB6310:EE_ X-MS-Office365-Filtering-Correlation-Id: d0dfec52-d1d5-4cc9-75d9-08dc10e38a26 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: k2vbLPNPZjTFwa+Imbh6KP9T5KWyYUSnVQ9o5DvyCyb6IDTGxqM9axNuzpvaVzzLLCw9m8cR/CpzRH3QHQ27/dk5k3q/2XJh31wk2Yo71Pznl+BEKbIjRG7Dygr3p5jMWUWolVR0vTBYAwXyFRCwxFXWI0R4Ygi37yKi6a9VkMKmue704WRvHN11mMwyEwk5Zo2QYKyxHr6eIPzYPVfZFHinJ0h4vDt8p8BrQGVPfbIhW45HboXbwc2gKTkm9s+F2MNs0S7wk6njFOTl60eNR+hxBNs6kpTdP8QSvlgKw9rFvMaai8wovaRSOprr3J1dpRQNurirI9+FgwPtJs8WRPC0is49m80hQD7TsCDPjIs1tC1Mmj7AglwY0fvKCTO+zcqD+iFpfX0mXBBy7i/H9Bdews/17IkBgxQdNsY0dRHlHf/CNaDRtxs4poIg2mRXHbTv1KFR5SIpTqJuVQhIbMgAINld3NbDxZdCeOISxehAqhOwY/wLg9eYI90UxR2wesjIeQSTe7QZXuaF4jS0mRKzbl15wyFqdeU2wbD6wQyrnuQqmE0igohYaVJXjGaMGR132eYXrJICjksyV9eDB6CVeW7bzUDaWXuUyT8EZoIMYE23Bm70q8DZpjzYueAXYTpy8Sg0yt6g1sPru1HCZmjL6orlwGpw4HM6hHvEYuC8Yokn/0/gT1sW3mdtB3KWQIFkGtJRzEIcPAlmbIe92w== X-Forefront-Antispam-Report: CIP:211.20.1.79; CTRY:TW; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:localhost.localdomain; PTR:211-20-1-79.hinet-ip.hinet.net; CAT:NONE; SFS:(13230031)(6069001)(4636009)(396003)(39860400002)(346002)(136003)(376002)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(82310400011)(46966006)(36840700001)(9316004)(6512007)(956004)(82740400003)(7416002)(5660300002)(36860700001)(2906002)(36756003)(4326008)(41300700001)(356005)(81166007)(6486002)(336012)(86362001)(26005)(1076003)(2616005)(6506007)(8936002)(478600001)(6666004)(8676002)(47076005)(70586007)(110136005)(316002)(70206006)(36736006)(40480700001); DIR:OUT; SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:03.9133 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d0dfec52-d1d5-4cc9-75d9-08dc10e38a26 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167; Ip=[211.20.1.79]; Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB6310 enable spi-gpio setting for spi flash Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 6846aab893ad..ea8fd3ec0982 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -53,6 +53,24 @@ iio-hwmon { <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, <&adc1 0>, <&adc1 1>, <&adc1 7>; }; + + spi_gpio: spi-gpio { + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + gpio-sck = <&gpio0 ASPEED_GPIO(X, 3) GPIO_ACTIVE_HIGH>; + gpio-mosi = <&gpio0 ASPEED_GPIO(X, 4) GPIO_ACTIVE_HIGH>; + gpio-miso = <&gpio0 ASPEED_GPIO(X, 5) GPIO_ACTIVE_HIGH>; + num-chipselects = <1>; + cs-gpios = <&gpio0 ASPEED_GPIO(X, 0) GPIO_ACTIVE_LOW>; + + tpmdev@0 { + compatible = "tcg,tpm_tis-spi"; + spi-max-frequency = <33000000>; + reg = <0>; + }; + }; }; &uart1 { From patchwork Tue Jan 9 07:20:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 761242 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2087.outbound.protection.outlook.com [40.107.255.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3DAD929CE3; Tue, 9 Jan 2024 07:21:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="AaAIICy/" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f2VoYDX2XLR6Ivv8MK0pTeoNo2qcxnnMIBElGxCu4ixqnVmlqL5EMloFF5KjIXKabRrt91qrNwJ7TtNercJDTF9JnLf4S6M2vA+HamhSXog5yr60/XH/1rdz7o/FJMM8FbP69b2A/aTpZeCA7pDaPyQMxA5LX/QTtyULm3T9gIlSIk/QOJUBCT+QaKmwrUcqvfyglK1kR4Nt9hRmOGb57POufgYYgSHeol/dCO8RRL330Isf/Qlt/eE/OdCG98GS9Zk8q4MMCXh6rhBPNuVBr6zSvbtPHG7hHS5bL/obvjIf0Fwg0xQv99B8NJ48qpJas52G9ZpZA8T0Z6L05iUdSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GzEHseuWZgbqaKQJTdqvuHDahqAOJEonMBupyxnn32I=; b=Tzltf94eBR+nUE6y4Oxk1teARwTW2la4kk2fi/K+eFj4i6WAOgfLAh7Edg8nGm2xLVOpqj9rWSyDkgO0dnQSfasqsW6+38QGp7yuWqoFysVPwTgvnFiLVQuyquUKHiyLtAmcDHpZqcV9vWDUI5uM5zMV7RK4v2fZDnb9/G/i+7ll+QCC+jux6RORyXHl5W+zCpGd87iWuKmxLWKDD8smAG6ezULGPR9xXf18fdLtWn6gzEvlpXgY822GdRn/7A6dchIR3aS8hQSSy8kSoAYLV7t70lAsGGLzOuuhrMKCFauwlmgnMxPTIWNzbgrpJg9TNdW7L7wK5CksxAbQD+s81w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GzEHseuWZgbqaKQJTdqvuHDahqAOJEonMBupyxnn32I=; b=AaAIICy/EV+C5P96VRlARRYt7fnDLSkSee7pnvI+yBzYBOYxqRo1mvjJHHGXfoKxqPUKc3l+FOIplHp/lk+V/x+2KRfzx7OUUKSNoDcmoSQklyFfrjMLDQkc8ev1LSWORquT4rGIDVLF1qTOCw4BOuCAleSSbFHFmuW1tFEgeWjf2OYzf/ziXOXNsOUJcKE0jD0FMfyidZlm074e8Z2FLdwdFpOQunRek3vJ6nKRE6UhpCx9GofrceLyazM5+P+YF7nwWoOKgl1d5tXyZpGbOFPJ0BaP2ufbuNGTXnCvaJ5lYd75DWX9MP5xNyhqQN9Rr1+h7N3hzngC7WBfXElTDA== Received: from PUZP153CA0007.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::11) by JH0PR04MB7071.apcprd04.prod.outlook.com (2603:1096:990:34::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:14 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::45) by PUZP153CA0007.outlook.office365.com (2603:1096:301:c2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:14 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:13 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 07/19] ARM: dts: aspeed: yosemite4: Add gpio pca9506 Date: Tue, 9 Jan 2024 15:20:39 +0800 Message-Id: <20240109072053.3980855-8-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|JH0PR04MB7071:EE_ X-MS-Office365-Filtering-Correlation-Id: 50593bff-7a4f-4d0f-6f23-08dc10e3902f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bObgvnrnxTaa6unh8Z9q1aMi3KvK9ytQjzLKHvcfxOjfE0tEYJ20wWR5Ol7fivRA6DCkJ0FVwd8SzQhGkd6u4zSMwHETkNZ/caBfBI3rh1kWuwMJqmc8ZUXY7U01vBu+Kn714dqimEYvMixA9ccK5GQGweirQQlIA8ZNsSFSRXiHtU4Lt4d/F0f1nb5ndot2FqOuSsUlZ2q9CkDoIjBIs3E1VD82GlWiPAr9XNYCEnOK+ul574jj37Ruy00nyP/gCCSRkTv6rkPwFnpZY8/PHmyC+uT7sw/1yBT4fjg+d1EJv6b086TieVzfkWbmwR4Hm2oN9zrHOoIr8gVY9xRvwGEGgGPeTMZZmP6LVKY1XnihOOqgRKr+mztIEFEq7onv0sjv/s+W0Fp35r3WAoG/4JX/UBY3UyOzX0ps5B7ApmCDNqyESDaIzBeQZPfcNLb8X7HWVGi74IUeZHaG9RNjaOygkhtEiPERWnz0uxpnyw8FrB+QXQqZwapFr/8d8a19LquEJtfxPMaQqjXpH4IuvhivJr06LzYwrupfwhzD2juF5r2skaJNtPstIaICGwqM98t4mwvFJtMTVSE9aKaA8kZQmhRHLEBRhWFbLORfvcRjD45Dndu73DOGjg0RsFB1KDO3nVT6XPl/4nIJk2Y/ES0iutThhsnAT2GW0kl+vXmF5mpRC2yBLH8TpFIBSVeRAAuYOc4qH2NkrAkN5QnFrw== X-Forefront-Antispam-Report: CIP:211.20.1.79; CTRY:TW; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:localhost.localdomain; PTR:211-20-1-79.hinet-ip.hinet.net; CAT:NONE; SFS:(13230031)(6069001)(4636009)(39860400002)(376002)(396003)(136003)(346002)(230922051799003)(82310400011)(64100799003)(186009)(451199024)(1800799012)(36840700001)(46966006)(478600001)(110136005)(70206006)(70586007)(6486002)(36736006)(5660300002)(316002)(2906002)(7416002)(4326008)(8676002)(8936002)(6512007)(47076005)(6666004)(6506007)(26005)(1076003)(336012)(2616005)(956004)(9316004)(41300700001)(36756003)(81166007)(356005)(36860700001)(86362001)(82740400003)(40480700001); DIR:OUT; SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:13.9291 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 50593bff-7a4f-4d0f-6f23-08dc10e3902f X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167; Ip=[211.20.1.79]; Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7071 Add gpio pca9506 I/O expander for yv4 use Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 251 ++++++++++++++++++ 1 file changed, 251 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index af9f7067c57c..b1775b5a6782 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -175,6 +175,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -193,6 +221,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -211,6 +267,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -229,6 +313,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -247,6 +359,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -265,6 +405,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -283,6 +451,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -301,6 +497,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -683,6 +907,33 @@ rtc@6f { &i2c13 { status = "okay"; bus-frequency = <400000>; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; }; &i2c14 { From patchwork Tue Jan 9 07:20:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 761241 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2064.outbound.protection.outlook.com [40.107.215.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D984131A78; Tue, 9 Jan 2024 07:21:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="UnBTLK9o" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=amKfKM749mWDt+CjU3O8kEYCVbjNlR5wybV0xUx64cLS83TaLMn4Q3IMxYODPulTegvSPA9pt9WVKgvr5TkYt9u86xvVKpHLYE3bV8urh/KYL5QiSw4Im7921T94Wyf5KUvyOZQq7BoWAFgt8QMS2ZgGvFbx3lZVm8pVorsUKn2koT0uhZFt4vw8lzsz32emfd1JwdmhUZjpEuwBpswzR+5HIk/gzJZVX0QeWQ2nsao1yiuBX/G09q2t5ZFfQsS7BLm4DgVZd4GHxxGvYeir0QaRpLY/EXXcVyAvUh5XfUoNnJ2QBBXKfn2M5LcnL4kiSNGJt4shJt51UzkqqgrSOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IINSoxJIm5iybOOhBOWJpL9vfzS3qN3CTn+pgk7JS9w=; b=LCEUvzKkw4bpOY65KOY4bPcbOFhZGgNyEYXYtwZAPNRHdfekwxxfqWSC1qX0kxoLfpjnUHsAG51kbqSTATmEfCTRlrtLPj3bC68y8ueYo7YLlt07hPzESZHfRr5YV4aOfqBKvhxNj7HlYPiQP46qHEbBNYNaV9vLEYxgGgahZWJE8ekCuZJOWb9fhu+9RJa+E6YoIfBmd5YG/IiMnOO/mOi7beHTUzYj+ksEBFAWEUzALY5VPfuaxYPzYnPp4Ie6FcusdXeRfGf2IZtrZ3DZ88MrZCDJyTi6w/Kh5QT/VkbAGWBk0kUUqy0icsCohuMjnMphCfgc3GhalT2PMGIdOA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IINSoxJIm5iybOOhBOWJpL9vfzS3qN3CTn+pgk7JS9w=; b=UnBTLK9oLafdxO0mrDRjSLUVM/hQd42ZYjx6Zzxn9WjC6Ghs0LbvkQQpSVnj6PMwzfriL8XrumYyKEsi13riBtbsK2TP3kl3DTbCcCSmFY3IV2OXd70e44CkxeTTprLHgIIBhCB4Qd0HlRB5L7ACDp4W5PcXSJXWb6HVENbNHI8UEMSP+4oReHHjpgb8sjhhH3NS0xmw97JniEKza/dfj60jeC0M1P15KcqcS96RJQR317ZffWLeMAxtUVTSuCPNsWOPjQ7N8ixzWYjAlh/T/obAcQxWWa3+M5HTXk9WtUltJkQl3u8ZiuAMluaL22kXDqQfLeVrocOsQ0W3FHuHAQ== Received: from PUZP153CA0017.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::19) by SEZPR04MB7856.apcprd04.prod.outlook.com (2603:1096:101:228::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:17 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::26) by PUZP153CA0017.outlook.office365.com (2603:1096:301:c2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:16 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:16 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 08/19] ARM: dts: aspeed: yosemite4: Remove space for adm1272 compatible Date: Tue, 9 Jan 2024 15:20:40 +0800 Message-Id: <20240109072053.3980855-9-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEZPR04MB7856:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b28386f-c925-4f95-fbcc-08dc10e391bf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wzCpxhIvAeAYvm17QcF+uU/yw/Dpkh1OEoJJ9HhKput3LHqkgWjbFt7HUZr3tBxJjpu+lbuWardhIlwpcH6UUge2VBfdWpqaexNQiBb7APYAGP0z0RLYpdpwt96cA6+G0wzCX2vHSWTFo9PKE5b5jPovXoK8e2jG4LhSbzo67ZTHlmibv/g6SZPC5e4GhmpDVXEUZJp/T9gYkL84ZrB/epN6IGzm/ISkvaYD3ATzsIWnXOZQcE430OQSU6ocnKRyd5FwctlzYIsb0C1eNGRO9V/vu4iME0d0WvfbSK9Gqh+p4L8eNM9Sz1mt4+LX8G4lozJ0bRcg9iCFePFhCVAae4aNIYpTvprdJLsY9BP5DK+lt1kP5XHYnVzklBog9h3KB+mSKzgdqWKeHDYDaHGENTXDHlOfk0WANXmr9+DE3Q8ox4KFEs8wwRUXzClKNDeHebTLEIE+m3iPitfl2Mif7ulpD4LpuTtJy7xD2rkON5zta7fpS8xeiO7TS10yp4qVy+Xy/BLeBormqFtuDFjPSIAHkKA3UEykN4l6Bu55CtkdDR4SgJ1LLYgpGWhOY172Jx8mjLbGTaxP9+MCfw84saoM1r679VjBxz7Hg9TRpd+13Bapb6K6UBkYflQ6/ri8x0A/IraVdYf8BLoudBZf3qDjTfWtTiMN1RJXQETRKWKSatYPVwuTSrrFRsnA8h4MO4cqPL1wBrAaMmUz16NaKQ== X-Forefront-Antispam-Report: CIP:211.20.1.79; CTRY:TW; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:localhost.localdomain; PTR:211-20-1-79.hinet-ip.hinet.net; CAT:NONE; SFS:(13230031)(6069001)(4636009)(39860400002)(346002)(396003)(376002)(136003)(230922051799003)(186009)(64100799003)(451199024)(82310400011)(1800799012)(46966006)(36840700001)(83380400001)(6506007)(6512007)(1076003)(26005)(336012)(956004)(2616005)(82740400003)(47076005)(36860700001)(5660300002)(8936002)(8676002)(4326008)(4744005)(7416002)(2906002)(6486002)(6666004)(478600001)(316002)(36736006)(110136005)(70206006)(70586007)(41300700001)(9316004)(81166007)(36756003)(356005)(86362001)(40480700001); DIR:OUT; SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:16.6479 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5b28386f-c925-4f95-fbcc-08dc10e391bf X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167; Ip=[211.20.1.79]; Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7856 Remove space for adm1272 compatible Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index b1775b5a6782..cbf385e72e57 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -821,12 +821,12 @@ imux29: i2c@1 { &i2c11 { status = "okay"; power-sensor@10 { - compatible = "adi, adm1272"; + compatible = "adi,adm1272"; reg = <0x10>; }; power-sensor@12 { - compatible = "adi, adm1272"; + compatible = "adi,adm1272"; reg = <0x12>; }; From patchwork Tue Jan 9 07:20:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 761240 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2085.outbound.protection.outlook.com [40.107.215.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B1B6033CFA; Tue, 9 Jan 2024 07:21:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="02eLfoLt" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ESiFtRbnyBN8GH4w0CxoIIedW7MXc5ZbLgeKJDftAElnh5Z+7i2xR/drDdasiZwMyaEEfOXyo78kFSJssOg+U6+rVDav7l36FekOdczLVlmW7E5Oh+E3ZBALveixAPOxDCoJ8sVn2vT5GzkeM/0mbrgxiGiSDlR6yjY8r93NJfLiGeUTgShifshwX7YTDJYt99b2EBGSWQQD/r9Gg5AR44Az8F+tRlJbHAh4uAf2z9CGZsa9WFx7JgauIBwwWDB9hXkWN/ied/1JrmMNf2cu2XrOMdpGpBdAlPyqAczQdnxoZISwbTSZ4Qf56RM+3neFcoh6hEO5dXzdqBZqzUwJcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HtqQUkvzpz5Gr8tpkdwXofht6Yc97OkbmG2K4Damyzo=; b=iVU02/v+RQ6jVAotAcxzASNx5Ic2UEi9nfnfdW6Fm4sFkx77d4lgfmRabr1dIM0gNWP/NN9nBw5L61zDcMt16x3zbs6m5m8VDEfVSlcYRZVODZYe9PcgAAbLsjiV965/MTHj81T/br3yO7Po14JWhl1LglfEuV1tEawmHpLyMw6Qzxa+S20xxGeIHV4Jve8lf+l+/YzWv42cVe14udBvhkPtIuBHecWp1m1qLjqBkVgLGMzszsbv8fm0MvI+6GoUMqlR/gIaeFlf2wTfl7ZigIm5IDvauvMa0NfdhHipwaSNHhWVwUPxo/UhsqTn06q43v0FGeYIIc4LO7lAje0eYg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HtqQUkvzpz5Gr8tpkdwXofht6Yc97OkbmG2K4Damyzo=; b=02eLfoLtcmRFGildhI5xfTf27N1n+2cA5Q+xpyNZGvh5QGkOCBptcmE4zXXFOrd6w5GEAEc+wJg3ir+mlgRdnMlITiSqw2OcBdz9Fb3NdQUMVUVBqCxkgCEGWRu/XvdgJiTusPXP5LgyRwilpKVoGfX8AUGYuHcvCQ5FiKsnjOGUo6edF1Zk+v6M++IEIZuLqkh9htbc8+2azwVwKeo60TWayad2GmcnFrjNLm/S/6PplDAslvwA0VfFl5iiMLvhbRIGJYkJhRo5GSGkK7bZQd5V4b3Zl9AHRjaB9O6fPC6zYDqnoYnMMSKejKTFq4k9dMPA15yVZPDtJdH5tiiRNA== Received: from PUZP153CA0013.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::17) by SEYPR04MB7474.apcprd04.prod.outlook.com (2603:1096:101:1dc::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Tue, 9 Jan 2024 07:21:23 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::bb) by PUZP153CA0013.outlook.office365.com (2603:1096:301:c2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:22 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:22 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 10/19] ARM: dts: aspeed: yosemite4: Add power sensor for power module reading Date: Tue, 9 Jan 2024 15:20:42 +0800 Message-Id: <20240109072053.3980855-11-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEYPR04MB7474:EE_ X-MS-Office365-Filtering-Correlation-Id: 31b52847-e479-4cbd-2392-08dc10e39551 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FvXzhsA07wE6vxgEbnbOx4OsrBP4MTfyMskwaCP3/gFL0j+vESbmmj5NGobQJPGchrNiXGSZvYFJSrLDTQHo1WneVQuKUQ4l0JDaYdR8UMUD+ZGW60L5471IWHsXVQ72RYwUq1qj6mzp98sVP7ZbLvnYkuhjaxdbsC4h9xqGtCAB04vgUFZ3tANy58BYuPKeGbHX/hwzLvUpRz69AvTCpKT4SIazDOLjUrN06wlwje2eDxvZcLSCDEveInAonpoB5JdYBHufQy4XObkmfRzL7u+A/4N9zfLpiYg3wqrCh8nCnxVqyhzW+URuUooazJsj5uEIC2kKH1vOJcUsfYoYi/RMXv1KSq59K+6ghtL5/1Shr0k+K4Z5V+0BCAeGqS0Qe/jtx7aEm6sAYEO1or99kIHAOAEVmklXmzybsmwuUhPYwadkYMWkpFFVI8K2JgkhJiIg4yPM3of0+6Hmiw5FCsDPXOP41VZ9NZCC7zCV7nRiVaqwjn45aXHNT8pHgzLoNJcBFS93fSuoRrjv/Bt7CpkGi7u/PqXaYEE3no0XAImuUuEXPN86/vHtRHWwq0NimzI11b6kKevga7XxOnAJ2Bz4GZBAkH1cx+snsrDB5XttM7xIRqGindq15VfJezKj3/Ryvv9op/0dAIsdmiYiC3zVySEiJJs0Hoa2lUJkv9KSxtiGktMbxrtjIXbDM8ph6/BoZwRDqOZngayR3kjVtw== X-Forefront-Antispam-Report: CIP:211.20.1.79; CTRY:TW; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:localhost.localdomain; PTR:211-20-1-79.hinet-ip.hinet.net; CAT:NONE; SFS:(13230031)(6069001)(4636009)(396003)(376002)(136003)(346002)(39860400002)(230922051799003)(64100799003)(186009)(451199024)(82310400011)(1800799012)(36840700001)(46966006)(41300700001)(356005)(8936002)(86362001)(8676002)(6486002)(81166007)(40480700001)(1076003)(7416002)(2906002)(5660300002)(70586007)(956004)(36756003)(26005)(336012)(36860700001)(70206006)(2616005)(110136005)(36736006)(82740400003)(316002)(83380400001)(478600001)(6512007)(47076005)(6506007)(6666004)(4326008)(9316004); DIR:OUT; SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:22.6479 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 31b52847-e479-4cbd-2392-08dc10e39551 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167; Ip=[211.20.1.79]; Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB7474 Add power sensor for power module reading Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index dce413c99037..3028ba4ee815 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -906,6 +906,11 @@ gpio@23 { "HSC7-ALERT2-R-N","HSC8-ALERT2-R-N"; }; + power-sensor@40 { + compatible = "mps,mp5023"; + reg = <0x40>; + }; + temperature-sensor@48 { compatible = "ti,tmp75"; reg = <0x48>; @@ -930,6 +935,26 @@ eeprom@54 { compatible = "atmel,24c256"; reg = <0x54>; }; + + power-sensor@62 { + compatible = "pmbus"; + reg = <0x62>; + }; + + power-sensor@64 { + compatible = "pmbus"; + reg = <0x64>; + }; + + power-sensor@65 { + compatible = "pmbus"; + reg = <0x65>; + }; + + power-sensor@68 { + compatible = "pmbus"; + reg = <0x68>; + }; }; &i2c12 { From patchwork Tue Jan 9 07:20:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 761239 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2089.outbound.protection.outlook.com [40.107.255.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB59F3608A; Tue, 9 Jan 2024 07:21:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="a7HbmJsd" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ahqG3meiWAX609T6rELYf3NfKoaZ9n5xgezjZdzvI/6mjxOJxEpJs0diividnRsRSDNHmYG2sp8JYRAEONNpuw0vi5/ohU6Ro/or6CMN5v7nyqGkyK1/FtdAyDjwzsMNPiMYdgd/coFQA7MK95srKXAHsBavWXvYYt4uh7P3s0nNLuEXGgvQ1MJ2VmOrA4toBUGQskWi4Cz82vjA64orXybxSwBMv25JpM+4YfnWMVcbmm+yb6ldU//T/+IIC2ystkIM48o/fSe/VjT5P6A7+zoCI2uiT0GT/5Wk2qHV2EDdkboAsOB/rlVYmO/kV8jx+SVcMuJS/M2mhl5IqM3f0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=g6SBrC22pzYsy1098dJb+MNOSZHyygMA2V1d0CFPWng=; b=d4jxDQEMCDn66SXllB+0sqqpCy0GYYIKMUe6+yj0CZabOVdpjQaLempDJ4xtpzaa/0z2xy1GXy2WVFwa4CQUkQrJB/QTnXvKaqbu3imb9dIPO9glEZ9Q3gazp9urOD2bVTKGQk2XEKeDRSuUQtDHeSy52sbJ/crZz7/dApx4zHoqOluQpM4ZaOZRJLAkOCVfrwC0tOjljDjM0getEiGpVohz5BdiW0+rySO9l8AdifU2EsFaQuDQvD1EKUB3odJZtq0PYFCqxwbVZwfNfgtbn28VkruaVwCUWbvy6kkZGPKRxO1s32xbkqzbSuSMJcWAPQ7XP6rx3u7hV+TbaYHptw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g6SBrC22pzYsy1098dJb+MNOSZHyygMA2V1d0CFPWng=; b=a7HbmJsdjv/5J4BTSLIne6EHxUzrjestCNMcVrm/+J7jOSCyzcFnNIOAbtgXQt0kITOFSHpgI0JZgtGK/giME8IUXJJ3yFx3bIiJEhtxq/ymvzg3NbZ3/zsxdfeNenZmpmibvZvurFUnnJQIZG/gUe8lzaQxxuIgU9ObC1jqUOYU6Y5ZkyJwLKlKvnv0RQGj0lQIALPgbWRJ41ABdTVUv9g0NEqWz4cFNv1kyQbzMifWWTZEA9ndzxsRE1wCOdefgIZE00bkwNm0EHxn+OkTqFRLOJklAmgUfEq6eup4YbrzF/xr31er6QBmKNj6OIfnWjmdgYCREXIHGry8BmXrXA== Received: from PUZP153CA0007.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::11) by SEYPR04MB7576.apcprd04.prod.outlook.com (2603:1096:101:1e4::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:27 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::2c) by PUZP153CA0007.outlook.office365.com (2603:1096:301:c2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:27 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:27 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 12/19] ARM: dts: aspeed: yosemite4: Remove temperature sensor for yosemite4 schematic change Date: Tue, 9 Jan 2024 15:20:44 +0800 Message-Id: <20240109072053.3980855-13-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEYPR04MB7576:EE_ X-MS-Office365-Filtering-Correlation-Id: b4afb2df-14cf-4a9f-67b7-08dc10e3981c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4TIHsDiwppZxkeL1N0T4Xi9BALJ5Xc8w5/bBuY9rCAcRHLV51pzTHterjcy4uHsefvAkJ4B+1O5nBOJrMSDIyuOSA0h/MBpD3sFvAsTOoWcVMhZak9BfOMD76pvRgUWS4yRKcRXz+jBlJZpRm+B7qkDSkVNEOlyPgs3odNyN+4tElB502mC3zBZ7zIpXLMqn2RtXfbCnvgbusN5SUVsA4cJFPKhZ0NFN60JtRV+pZxVnr6hHnDrDHZpRTWIg8A4qWkXB4Y7TJXXT+ob5PcRpCnsbxIq4nLzV+4zt3+Ls9sk+waHf+l6es2jIo/qjZdVu7IitF5ETvFTxB56u4kiTkJnSLkTo1I0nU7CYHZXTa+kPSszPG4U6pvK18adRj9pQqXKsfKUlcNiE/d3qu/QnAL/ZgunvH9s6JAdTA+JHcSWK7g393aUp4O6haiM8x0Co4G8ztQu9zbhwQZL4+ZzZiugNQA8x33qRb9X3DRzBq2kll5IZWUSVWQ6B7rAchDSObc6hax7y2fPgY+s3T1kmXuJ6NxMs9SA/xtmv9E/YjJt1DIUtjZadUQgH2MGzzEkT3QhiEEqVbxNmIdJjH/hXc8mUnuQoSOmnksgDHCduQhvq+Fz6rs+sEPTk8gcxAH0veYOCvLB/8BldV8cJnPk5ELzY/+s9RhQiadq2vGfrBoFr9RSwfSnds9qolQqAfozxYti+62An685TV12013bNHQ== X-Forefront-Antispam-Report: CIP:211.20.1.79; CTRY:TW; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:localhost.localdomain; PTR:211-20-1-79.hinet-ip.hinet.net; CAT:NONE; SFS:(13230031)(6069001)(4636009)(136003)(376002)(39860400002)(346002)(396003)(230922051799003)(1800799012)(451199024)(82310400011)(186009)(64100799003)(46966006)(36840700001)(336012)(9316004)(83380400001)(82740400003)(36860700001)(2906002)(47076005)(41300700001)(86362001)(36756003)(356005)(81166007)(316002)(36736006)(110136005)(6506007)(70206006)(70586007)(6512007)(6666004)(6486002)(8676002)(478600001)(8936002)(7416002)(5660300002)(4744005)(4326008)(26005)(1076003)(956004)(2616005)(40480700001); DIR:OUT; SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:27.3355 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b4afb2df-14cf-4a9f-67b7-08dc10e3981c X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167; Ip=[211.20.1.79]; Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB7576 Remove temperature sensor for yosemite4 schematic change Signed-off-by: Delphine CC Chiu --- .../boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 32c602124033..4b227bd3982a 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -921,16 +921,6 @@ temperature-sensor@49 { reg = <0x49>; }; - temperature-sensor@4a { - compatible = "ti,tmp75"; - reg = <0x4a>; - }; - - temperature-sensor@4b { - compatible = "ti,tmp75"; - reg = <0x4b>; - }; - eeprom@54 { compatible = "atmel,24c128"; reg = <0x54>; From patchwork Tue Jan 9 07:20:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 761238 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2087.outbound.protection.outlook.com [40.107.255.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D978364DA; Tue, 9 Jan 2024 07:21:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="iVHjrfYj" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TXrcLHjSxsG6F0wVumYtt3piMWelZXjPeZFPJi3UKo/aDBDbYOKD8Opop+dFVTZNIjIJOjdLK6AvhcRhcJF8v+HDTODpQysQhyIgScC8yTdzwZF4H5o5dU2Moy6rx5sY8zgZnfZa7r8+nWzaAP5+hCG4UiJC/anl+9+tdUXcXOCzb0XMI1LdrtfwSfcyHGkeQz+6I7KxbSQZGaumZGzLEp8ch8yCfxxJFNJo88IMbY0nXqsqq35xqzb/CPlZt+QPCRunm4UzwcZIyOGwjcO6Cnx0jM2/lZz93BguIf/8XS8I8G26SoW0usidYnkkm7H+jT+IyLtjVJ5vM7hlfLy98w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ypdE8E+Og4B9hXjKCzAhuUhw4Chp9PyEaASS1wZf8LY=; b=E44EE8mjA03cL+KbbJWcfm894yai5aolbSnHnnDe0EepnkMT7zH3TxbUQAhxDBdxFMyXR/q452svvcEnPcsxHOsYXpx+W4+BfVPRvgMZPMU3mhc7OHMGy8A4OSINh7dCS6VA0QYVrarwKtKRdxfLMf4TVjRdhh+OuJgwKUayRk/CU9t79o4ep4FhjmVI1yxEli0cEuP1L9PsKoFwVPbcrL86hlLyvU4GPLBGFm3Gf+eHEsBGlZ14I/2of8HGFmjGLl/WPZ715Of8ew4XeFPg5dV4veFeSqx8oz2IyIEA6ozOAqhL77ElJedN/Etlf1ynTzADEvOAq8KI/nCFoEpMKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ypdE8E+Og4B9hXjKCzAhuUhw4Chp9PyEaASS1wZf8LY=; b=iVHjrfYj4/ZTksMVjZbCmG+4U1ZCCIib8kxlLTIME5jk/Qbps1xMHasrItmtC4E0Ork1UVdwpNMJDo47XKHigZbPNBFsJ8MRC4nxI6Mf8VflTwFW9o2wM9G2b1NU4PduYhAwgBL089yQowUIoe72b5zlzGW73D7m5DaQt3u6niVXEwPe4tSlzIcnzT6esN2HCDnkjibr3VV7YGdCjcfmEbFoTUq4yhMRL7gRVm+HXLQQ1WqpLTsB91VNQ/dJptJcHotnJy2MTIrelWC6ypRxiTMrcJGA2q/ZofYQSSwl9a0YkQAyeWXbmX6w/uCDWZmU4rgMjuFbxjMKpLrBHJKUpA== Received: from PUZP153CA0016.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::18) by KL1PR04MB8191.apcprd04.prod.outlook.com (2603:1096:820:148::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:33 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::a4) by PUZP153CA0016.outlook.office365.com (2603:1096:301:c2::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:32 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:32 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 14/19] ARM: dts: aspeed: yosemite4: Revise ina233 config for yosemite4 schematic change Date: Tue, 9 Jan 2024 15:20:46 +0800 Message-Id: <20240109072053.3980855-15-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|KL1PR04MB8191:EE_ X-MS-Office365-Filtering-Correlation-Id: 813747ae-99dc-495e-bc46-08dc10e39b38 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c4RdqgZVwPvHII4omk/5kj8Gh3YbucUH7RvxBfa/H1oXiDJm7XPqMHtJ+nWah2PhugR+cmdZS2hcuY59Uy41EADYCTCDAS7D9m1r27sOsLe2Qco+pkzBHJojZLk7E6XrfjHPu8i/HYCaiCq7wkTKfJ8jTJokSyp/sbAErqTeDHMzo9ev4PX3MvsI0Pq+JDdlO3hKeDqL70RUCcEo4rkFReZBTkhFikmZHTALcGWRG/NMORALQt+3wrRLu3h62zZIHcqnFsCYb+c3Pw9K1kVX/wpYYTRWJiXmec04vUecEZg18e4GTO+EmytSOBxGMWSejBdAEIiaIFdcrms9/U9MagLhojNbFtvGWd0gMj6U7tMoXVThYq7XQzlzVLLk/DlkmVAuRTigWhLfxNRw6JBUxbRzqVdOn4YE8+B5bP5dHg0oMkp8DG28MrlLiv2zvNM5UpKqdFNYZcf1jv0Yv3yvlPO+AsoSn2KwvwxOPvsGc/ZfgYTAf/Sj8ZX00/5H3uIhmpBfhBgPNSadQehTlHMVAXSG49RXKW50NodIHFOGMkBsS6av2rUrPi1c8lvUO9cvLZJcvx586ivMQ1heE+aTiN6wmtONBjI3j2JCys8AmxCYbDjuVzCEoSQu7C2S5PxQ5gYNXV3cScyDWZpFzsiifFybmiQ3s1Mp5jDzWxqbKWENo/3BG8sUkqe6qVw94cyImk5VhhpaBZWRFvfdVDdoWg== X-Forefront-Antispam-Report: CIP:211.20.1.79; CTRY:TW; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:localhost.localdomain; PTR:211-20-1-79.hinet-ip.hinet.net; CAT:NONE; SFS:(13230031)(6069001)(4636009)(136003)(376002)(346002)(39860400002)(396003)(230922051799003)(186009)(82310400011)(1800799012)(64100799003)(451199024)(36840700001)(46966006)(2906002)(36860700001)(41300700001)(7416002)(83380400001)(47076005)(82740400003)(81166007)(356005)(478600001)(6486002)(70206006)(70586007)(36736006)(110136005)(6506007)(6512007)(1076003)(956004)(336012)(2616005)(26005)(6666004)(5660300002)(4326008)(36756003)(316002)(86362001)(8676002)(8936002)(40480700001)(9316004); DIR:OUT; SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:32.5387 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 813747ae-99dc-495e-bc46-08dc10e39b38 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167; Ip=[211.20.1.79]; Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB8191 Revise ina233 config for yosemite4 schematic change Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 904c0ac0d8d2..c61b46a0a262 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1026,28 +1026,38 @@ adc@37 { }; power-sensor@40 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x40>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@41 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x41>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@42 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x42>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@43 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x43>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@44 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x44>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; temperature-sensor@4e { From patchwork Tue Jan 9 07:20:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 761237 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2077.outbound.protection.outlook.com [40.107.117.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE5D237163; Tue, 9 Jan 2024 07:21:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="omNISwtX" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jlkmXkD/eL6sgn9J0RIs+6GaoyuBCHcRFGd4OWt12nIj/IByP+j567iXAHB/B9sPxVxNpk7NS28wm2GP4394TkE+7pupiB4VOST+pZfUgBo97eZQ9FzA6wPJBiqLaOL1aUJtVPx5LSDrr5kEScOurWLyeHyHuXjdx+Nr2KDvOkoJzRyMUINmpXPcTfRqT5fpuTokKPYt45UqSsyiIIitup9mri4yC1kSYM934UE8k9KqWhrS3CXlbt6d4wSuMGS53gbAltMpFiaXFIZNGjAmO11wNfqaKsTFOuQCdW9MVVHXv8dn9L2sf8wBnnikmKimFdz4NqdCNkuop6kV22E83g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ghd7MUWeahElP55YHQpIY4zwwZsB/SJzcvZ4DnSLI3A=; b=CI56B1sJgz6lKWHSDogX0v+uuEJsAuV/oD2N4wrV9iwAo8B8SdKs9wX7Ke3uvNFhDpVh6CIf6/kWUjmg9bIhUKmwKXyYv657ypYhRjYazXXGH9VYjb4WqgT3AJ+WXlNsJe/85B+cTGTUhzKOdqRPi7NGQCc/Ess+e09p98uIdGggdOfoVIGN2lEuGn+QIlRCvmzzeJYCOmplEFkdQrT/+PSXAPHz30HjptZAXFzs6KGeo3rg9UlNL5LuAOc/dQ7Cjkay1irbLv9Q6sqpi7/43Z6kiBxtYP1fW2o5dFODWTpI6arYzqXKncOJkFQ6xdy8BJwgs3qVwhejH3M3auRWtw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ghd7MUWeahElP55YHQpIY4zwwZsB/SJzcvZ4DnSLI3A=; b=omNISwtXEbc6PJYHrs6EwkIRldNb3/IUqcisrZpmKynvinliadKn3VAyrkVz0sT6Px8tch6nlv9Z37Qx2E5VEUZKC1K9YnYqRU6FgY1N4PEMNpGDFVrppvwpj/w2Jir217wIpjg2/7jVE9bRF0Wd1Eur61mNw4dqS91WS6Btgv9ZIl/fx8UQXshkCLkkk6vf/WRciZeCmO/hR6XyJ/5n+gX1o7VAOBhabWgu4tEs9Z0t1PF6MUvdWCwfNdXWLRj0Gf9VlBlowKkn7snZZHsyu8zDg8yrkNnUiO97g/dvd8jNr8BrI1X3iVuVdkLsuGserGcbJQl430CYt4QxhQOChw== Received: from PUZP153CA0012.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::20) by TY0PR04MB6224.apcprd04.prod.outlook.com (2603:1096:400:32a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Tue, 9 Jan 2024 07:21:39 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::b0) by PUZP153CA0012.outlook.office365.com (2603:1096:301:c2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:38 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:38 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 16/19] ARM: dts: aspeed: yosemite4: Initialize bmc gpio state Date: Tue, 9 Jan 2024 15:20:48 +0800 Message-Id: <20240109072053.3980855-17-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TY0PR04MB6224:EE_ X-MS-Office365-Filtering-Correlation-Id: 072b8e0e-42d0-4c53-fb28-08dc10e39e7f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6KnK+6jckNzpG2WYzC0j2XK//A7XB+nm+FlmF5qOqE5vFcpJynZSmnP+Zsec5BXl5XHjGSzCMPUBeNwUfIpM+PmCxWNQE4jXdq2mDeu9+3Qf4aonF7WIsUaHDa1B2DukeTL6N1RdpLTlkDeaxS0FiG7RgYf4qxTuLrPzlrSjn0Qeh/rlw/dpsaEYy3j5KIoAfSV8XV8nnsc1pBFoVDYPHxMdG9ke1Ud0zx+K3f020CZJzc6d12M2O2WHzv9bslCzgOpeJJMKvKeztrRkXN+RTGsAz82Nk/iJN6uK9xK8cNoQJjDvvAodSFaDwN3ynS+y0v0r7VQltbuq+GTz5ntj5mt7v6F9F7TQjaJG3Ppocx200XV1k8S5AfNsPsMEaNH+5Tybys0Wo9fjDA5W4qw72r9ZsSbsDcqNVmZWs+4M98N3amg4d0sv1cE3F9Vl7/vL5iMV1jl+U/DhiUv+8V6pkd+LVTKYX59xRBhyXeyD3Nh/DSW6HzxrvpdlHg8iK7GSmyHKIigIuJlq9AHeckIi68FtJahoKCbc2sCIWjMacb5Et7XYENv/k48PzFN4+BfM/sf4UU4VyrbxNVTnRQFqmjtJ31R3Z32RBbs8Y9MYQeVAUadlL7EpGlFa0sZRGMy3/7WDMfm1y6uMZ/IMx++Rq2aMLruAi7wGwwNjw/UOq04eFVJ9v5/777AddJSBYJVfcuGVq5lcC0tVBILQW0cysg== X-Forefront-Antispam-Report: CIP:211.20.1.79; CTRY:TW; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:localhost.localdomain; PTR:211-20-1-79.hinet-ip.hinet.net; CAT:NONE; SFS:(13230031)(6069001)(4636009)(346002)(376002)(39860400002)(136003)(396003)(230922051799003)(82310400011)(451199024)(64100799003)(186009)(1800799012)(36840700001)(46966006)(316002)(36860700001)(36736006)(110136005)(336012)(8936002)(47076005)(8676002)(36756003)(6666004)(83380400001)(6506007)(4326008)(40480700001)(70586007)(70206006)(1076003)(2616005)(956004)(6486002)(478600001)(26005)(6512007)(7416002)(2906002)(82740400003)(5660300002)(9316004)(81166007)(41300700001)(86362001)(356005); DIR:OUT; SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:38.0544 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 072b8e0e-42d0-4c53-fb28-08dc10e39e7f X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167; Ip=[211.20.1.79]; Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY0PR04MB6224 Initialize bmc gpio state Signed-off-by: Delphine CC Chiu --- Changelog: - v4 - Rename gpio-line-names - v3 - Add patch for revising gpio name --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 192 ++++++++++++++++++ 1 file changed, 192 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 6cfd9c231700..0691c09b6e74 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1271,6 +1271,7 @@ temperature-sensor@1f { }; }; + &adc0 { ref_voltage = <2500>; status = "okay"; @@ -1298,3 +1299,194 @@ &ehci1 { &uhci { status = "okay"; }; + +&sgpiom0 { + status = "okay"; + ngpios = <128>; + bus-frequency = <48000>; +}; + +&gpio0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpiu2_default &pinctrl_gpiu3_default + &pinctrl_gpiu4_default &pinctrl_gpiu6_default>; + gpio-line-names = + /*A0-A7*/ "","","","","","","","", + /*B0-B7*/ "FLT-HSC-SERVER-SLOT8-N","AC-ON-OFF-BTN-CPLD-SLOT5-N", + "PWRGD-SLOT1-STBY","PWRGD-SLOT2-STBY", + "PWRGD-SLOT3-STBY","PWRGD-SLOT4-STBY","","", + /*C0-C7*/ "","","","","FM-NIC0-WAKE-N", + "FM-NIC1-WAKE-N","","RST-PCIE-SLOT2-N", + /*D0-D7*/ "","","","","","","","", + /*E0-E7*/ "PRSNT-NIC1-N","PRSNT-NIC2-N","","RST-PCIE-SLOT1-N", + "","","","", + /*F0-F7*/ "FM-RESBTN-SLOT1-BMC-N","FM-RESBTN-SLOT2-BMC-N", + "FM-RESBTN-SLOT3-BMC-N","FM-RESBTN-SLOT4-BMC-N", + "PRSNT-SB-SLOT1-N","PRSNT-SB-SLOT2-N", + "PRSNT-SB-SLOT3-N","PRSNT-SB-SLOT4-N", + /*G0-G7*/ "","","","","","","","", + /*H0-H7*/ "","","","","","","","", + /*I0-I7*/ "","","","","","ALT-MEDUSA-ADC-N", + "ALT-SMB-BMC-CPLD2-N", + "INT-SPIDER-ADC-R-N", + /*J0-J7*/ "","","","","","","","", + /*K0-K7*/ "","","","","","","","", + /*L0-L7*/ "","","","","","","ALT-MEDUSA-P12V-EFUSE-N","", + /*M0-M7*/ "EN-NIC0-POWER-BMC-R","EN-NIC1-POWER-BMC-R", + "INT-MEDUSA-IOEXP-TEMP-N","PRSNT-NIC3-N", + "INT-SMB-BMC-SLOT1-4-BMC-N", + "AC-ON-OFF-BTN-CPLD-SLOT6-N","","", + /*N0-N7*/ "FLT-HSC-SERVER-SLOT1-N","FLT-HSC-SERVER-SLOT2-N", + "FLT-HSC-SERVER-SLOT3-N","FLT-HSC-SERVER-SLOT4-N", + "FM-BMC-READY-R2","RST-SMB-NIC0-R-N","","", + /*O0-O7*/ "AC-ON-OFF-BTN-CPLD-SLOT8-N","RST-SMB-NIC1-R-N", + "RST-SMB-NIC2-R-N","RST-SMB-NIC3-R-N", + "","","","", + /*P0-P7*/ "ALT-SMB-BMC-CPLD1-N","'BTN-BMC-R2-N", + "EN-P3V-BAT-SCALED-R","PWRGD-P5V-USB-BMC", + "FM-BMC-RTCRST-R","RST-USB-HUB-R-N", + "FLAG-P5V-USB-BMC-N","", + /*Q0-Q7*/ "AC-ON-OFF-BTN-CPLD-SLOT1-N","AC-ON-OFF-BTN-CPLD-SLOT2-N", + "AC-ON-OFF-BTN-CPLD-SLOT3-N","AC-ON-OFF-BTN-CPLD-SLOT4-N", + "PRSNT-SB-SLOT5-N","PRSNT-SB-SLOT6-N", + "PRSNT-SB-SLOT7-N","PRSNT-SB-SLOT8-N", + /*R0-R7*/ "AC-ON-OFF-BTN-CPLD-SLOT7-N","INT-SMB-BMC-SLOT5-8-BMC-N", + "FM-PWRBRK-NIC-BMC-R2","RST-PCIE-SLOT4-N", + "RST-PCIE-SLOT5-N","RST-PCIE-SLOT6-N", + "RST-PCIE-SLOT7-N","RST-PCIE-SLOT8-N", + /*S0-S7*/ "FM-NIC2-WAKE-N","FM-NIC3-WAKE-N", + "EN-NIC3-POWER-BMC-R","SEL-BMC-JTAG-MUX-R", + "","ALT-P12V-AUX-N","FAST-PROCHOT-N", + "SPI-WP-DISABLE-STATUS-R-N", + /*T0-T7*/ "","","","","","","","", + /*U0-U7*/ "","","RST-PCIE-SLOT3-N","", + "","PRSNT-NIC0-N","","", + /*V0-V7*/ "FM-RESBTN-SLOT5-BMC-N","FM-RESBTN-SLOT6-BMC-N", + "FM-RESBTN-SLOT7-BMC-N","FM-RESBTN-SLOT8-BMC-N", + "","","","", + /*W0-W7*/ "PRSNT-TPM-BMC-N","PRSNT-OCP-DEBUG-BMC-N","ALT-TEMP-BMC-N","ALT-RTC-BMC-N", + "","","","", + /*X0-X7*/ "","LT-HSC-SERVER-SLOT6-N","FLT-HSC-SERVER-SLOT7-N","","","", + "PWRGD-SLOT5-STBY","PWRGD-SLOT6-STBY", + /*Y0-Y7*/ "","","SPI-LOCK-REQ-BMC-N","PWRGD-SLOT7-STBY", + "","","EN-NIC2-POWER-BMC-R","", + /*Z0-Z7*/ "EN-P5V-USB-CPLD-R","'FLT-HSC-SERVER-SLOT5-N", + "PWRGD-SLOT8-STBY","","","","",""; + + pin_gpio_b4 { + gpios = ; + input; + }; + pin_gpio_b5 { + gpios = ; + input; + }; + pin_gpio_f0 { + gpios = ; + input; + }; + pin_gpio_f1 { + gpios = ; + input; + }; + pin_gpio_f2 { + gpios = ; + input; + }; + pin_gpio_f3 { + gpios = ; + input; + }; + pin_gpio_f4 { + gpios = ; + input; + }; + pin_gpio_f5 { + gpios = ; + input; + }; + pin_gpio_f6 { + gpios = ; + input; + }; + pin_gpio_f7 { + gpios = ; + input; + }; + pin_gpio_l6 { + gpios = ; + input; + }; + pin_gpio_l7 { + gpios = ; + input; + }; + pin_gpio_s0 { + gpios = ; + input; + }; + pin_gpio_s1 { + gpios = ; + input; + }; + pin_gpio_v0 { + gpios = ; + input; + }; + pin_gpio_v1 { + gpios = ; + input; + }; + pin_gpio_v2 { + gpios = ; + input; + }; + pin_gpio_v3 { + gpios = ; + input; + }; + pin_gpio_w0 { + gpios = ; + input; + }; + pin_gpio_w1 { + gpios = ; + input; + }; + pin_gpio_w2 { + gpios = ; + input; + }; + pin_gpio_w3 { + gpios = ; + input; + }; + pin_gpio_w4 { + gpios = ; + input; + }; + pin_gpio_w5 { + gpios = ; + input; + }; + pin_gpio_w6 { + gpios = ; + input; + }; + pin_gpio_w7 { + gpios = ; + input; + }; + pin_gpio_z3 { + gpios = ; + input; + }; + pin_gpio_z4 { + gpios = ; + input; + }; + pin_gpio_z5 { + gpios = ; + input; + }; +}; From patchwork Tue Jan 9 07:20:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 761236 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2046.outbound.protection.outlook.com [40.107.215.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49658374C1; Tue, 9 Jan 2024 07:21:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="QnG1bbWR" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CeTRDI6mR4pv8HHwpt+H8ANBH74nS9uKbQRWJFlNLGbGXgCOQgIqfnc6wCAf+JnlTXo2Ztnqd7ZPQ3hzah+Uj8NhckvlEQK/CrG9Vc5wz1LJEkJjO9fwOqN/wrZLoUzTg459L1VfYTzwvA5JflZr1K+xMO0WYixiDQteveqo+OB98Rdk6lZwmV5peCBY5CCCrVHsdj/lRXMJB0ngOYfzSwLTuTAPD9V4BrDjkfgfIGY+AblWCS77BfyLLZgpVAL4mUzNDwCEftYRxtX2k4dXKB4P4nDOBfIOHgr+KxlPSTJQrAzIMnP3MDDDfwXg/S75C1sR6WDwrOj63f2JHZTZxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=i/XQg6kpljPfLQXpbCmupwZO3URw+vKzREh2KKtjR28=; b=X59jYvmlvx1oPHNgA68DdcnjpN3NzGee91QvYP3ivmlpj0MLLnfSRVKAxg+AH5lWzaKpkb7bjB2xUgumFvvZnSqD4MrZR5bxRvjxefU4PsK/WTJgvAq805u1AjR+GTk4j+iEnsrzubBkYZN9LMlgvmbkXKcz1ZQ0rfieuuOymwQSSTHQ2ovNsRvQtC5UI3VwC0kyyZXHxkS9Qb8AO+JNnlsE2skX/PjhnhbBwcXUSydP5yW2DynKO2AmopH7n5tg3lpaAzk6aM+N4se0EC4Z2wKJRq6cdvluh18w9aIk+nB61qESnRxGqTrZ3oE4Xp8RKWUQCxGfFpWGdhdXepu81w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i/XQg6kpljPfLQXpbCmupwZO3URw+vKzREh2KKtjR28=; b=QnG1bbWR45Lk4qhIguRsoca1nBJCM04+MBRaE2Dg5BtzKd57KHCuoNuhE2V9Sh0eaxQnJqVcutwmHLPRy8sqr7nLNq0QBMVLNQ8yHTne3JaGupbs0JxDRfKUHYejkW48vXCTX4WBofl845j5T7x3ZHpdvy2GSdBd2Icm8psbjD5thdEGVjc2W/UT8uK2CVUnRgQWwX8q21JhBqUy3jB8D5u+vSnvAdjF17CvrmZqvf47Xw5bmnbcEQJpTBC8+RCKbgz7FfbybHvy9jtKlDhZdFBFh2ZZlYhXhIJrkwqlvfO61f9ey0uXH9sqpLwc72PixYO+D0P48odIH3831pjpgw== Received: from PUZP153CA0011.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::7) by TYZPR04MB5902.apcprd04.prod.outlook.com (2603:1096:400:1f1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:44 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::ed) by PUZP153CA0011.outlook.office365.com (2603:1096:301:c2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.7 via Frontend Transport; Tue, 9 Jan 2024 07:21:44 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:43 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 18/19] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Tue, 9 Jan 2024 15:20:50 +0800 Message-Id: <20240109072053.3980855-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TYZPR04MB5902:EE_ X-MS-Office365-Filtering-Correlation-Id: 8f2dbbaf-89c9-4e20-8685-08dc10e3a1f4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xSi/5h2Z+vysVR3cNewWLKKDPrbvhgoK77GBP0dSUuULOjwe05BGX1m6lB0880fPcdyOXgvFJQGlrT3tcOoA1Yc70oaBGBp7uULGL3MY/z5uZFYxNqwq3SgE8QtU4Vnb90p5ZZomALLwODEqgGyPAZEG+ni66fo8Ykr5YKzW8mI5Y+rCYLa/YeSbsHv1L1p42lUqjmWqCaeaeR8cmjyQ/z5FbfrDq1UED0VFQ1sJIRfD07po46dvf5gQcg87RWrdhKqSe0UImIEihlCUFTBUSDpb9iQideZwo1DBFk2Q0DVhL7TskjOiHcYlIY8PWIg59b0oY4rF1KsMtc9hWKrZn1H0tIbHZ8hjb425a6x+5denbcIMcBCCwksezRH2H/EVJsWZtT3FP2tC9b4wOEt1dYjLDb3rttCBo6cvIWj522eNNTNTbRAyE1GHtNw4hmOgD3wVn0HqK03Qa0agiTCdqPJjBBykHGNnh8AR1gBh7+4YMBHCK/4WCtfRJN7AsOSqjVuui+6/s4qYlpnkbb15NTIbEgZH8Y5bhzwj7sY09PYM1m/K8f5q+xWS37EN9hP8x9lzRDfRUZDL4ygpriyX9+N+w1iPu6aH/z17qZcg4d6CMDtrDlKAzk7IyEpAKF8UmBSSoDG7rU5Y3LVyCMY3cQHn0FDqm0uRk+O+6AZPTEV1eAX1lbsCEv4tCkD2Guv24aCGR9kyfWrC9LtNe7movA== X-Forefront-Antispam-Report: CIP:211.20.1.79; CTRY:TW; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:localhost.localdomain; PTR:211-20-1-79.hinet-ip.hinet.net; CAT:NONE; SFS:(13230031)(6069001)(4636009)(376002)(396003)(136003)(39850400004)(346002)(230922051799003)(451199024)(64100799003)(1800799012)(82310400011)(186009)(36840700001)(46966006)(82740400003)(356005)(36736006)(9316004)(8936002)(81166007)(70206006)(110136005)(8676002)(70586007)(6486002)(316002)(7416002)(41300700001)(86362001)(2906002)(36756003)(5660300002)(4326008)(47076005)(40480700001)(26005)(956004)(2616005)(1076003)(6512007)(6506007)(336012)(36860700001)(6666004)(478600001); DIR:OUT; SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:43.8514 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8f2dbbaf-89c9-4e20-8685-08dc10e3a1f4 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167; Ip=[211.20.1.79]; Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB5902 add mctp config for NIC Signed-off-by: Delphine CC Chiu --- Changelog: - v4 - Revise device node name - v2 - Add patch for NIC mctp config --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index ea36d61423a6..8589f7d31ffb 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1273,40 +1273,64 @@ imux24: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; }; imux25: i2c@1 { #address-cells = <1>; #size-cells = <0>; reg = <1>; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; }; imux26: i2c@2 { #address-cells = <1>; #size-cells = <0>; reg = <2>; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; }; imux27: i2c@3 { #address-cells = <1>; #size-cells = <0>; reg = <3>; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; }; }; };