From patchwork Thu Oct 5 03:55:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 730857 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 267DD184F for ; Thu, 5 Oct 2023 03:56:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b="Y25FkCYi" Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2071b.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::71b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F08C1BFD; Wed, 4 Oct 2023 20:56:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MOAJS1g530kjtnIU81bWERyJOxzCO1LoPMOb8rQ+6F7rFBdSEUWLKRseStf14ZLrOpUENP0qujX8Y4jDwSHCCKlU/0MSvW70wdsjPEgdgQxkEY+kKM3v22TLIiP6JC2YEC+uGs1R4Oncwljov6FdsWXDN6adfvcwfM12YVrPryP+2HbhGRq+66bhdDybEExP5I4peT47bOt7jlPqti8kSE2OK0Y7LGbb0QHILsU4q59+kfrXk+RsMWuYmIzbqMK6BOMPhMb/aFeqbLI/MURm3o/XgA3tDHm6ej3KGIYO9x+CwF17C/FV+OaHHtXQLLI565FBtDP/jv2yAc191pA+3g== 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=e8NbKW+afFd5BIlOfUO9CN82XK58ZXuR/m2S1+hxk3I=; b=enTrBhQBuhXECxKsDeMjfr6LkPQegG7LsbroN4kPII+OihrCsWuqkBnCbrz/iR9d7XykrC7zpZKdCU7beI3zzmHnKaZ31jwP1nFAP5MCUcf0g915PId0X/JOtPFrOO9B+fd8WBAf3qgTI0Z06DTFSK2+UYGK7Yc9kORXTz0GoQ4GH9wY6RrpSdQ59ZOEh5bLPExcvMltZ9QtPjb4s/6U7uWz7zEy7rjYvn/3MdT9yJKruOHGYHNDjBO85+bz3DQ96dME+MdN36p0mLoc6SAoBwcdWt0wLagSZuutWgwdQzmvy1ergAZkzM6MlK5zJjaSZUqzVpgyKdJHxpOg0akqIw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e8NbKW+afFd5BIlOfUO9CN82XK58ZXuR/m2S1+hxk3I=; b=Y25FkCYiQg615TZa9avwSvOnz5h5quoL880wiv0L+pXUNqAHom5dF5ZCYi/xy4j8v91lnMFCtb+Cd6dGnP4gZI+QJReHOS0KJZ2S7QRiUWrHS32pPJIfQJNKJJRkxjYov0SRCuhGF4FFyzPT8NAr5nu15O/53PA/fyRtTFNFnt0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) by BL1PR01MB7649.prod.exchangelabs.com (2603:10b6:208:394::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.25; Thu, 5 Oct 2023 03:56:04 +0000 Received: from DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9]) by DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9%4]) with mapi id 15.20.6838.033; Thu, 5 Oct 2023 03:56:03 +0000 From: Chanh Nguyen To: OpenBMC Maillist , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Chanh Nguyen Subject: [PATCH 1/7] ARM: dts: aspeed: mtjade, mtmitchell: Update gpio-line-names Date: Thu, 5 Oct 2023 10:55:19 +0700 Message-Id: <20231005035525.19036-2-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231005035525.19036-1-chanh@os.amperecomputing.com> References: <20231005035525.19036-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SGXP274CA0016.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::28) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|BL1PR01MB7649:EE_ X-MS-Office365-Filtering-Correlation-Id: 91c5531d-ccef-4183-9201-08dbc556fecf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 22kRoacU9Kl6za9gzr1hJPusDKWICfMdo+Y068z3n+tXA2kLh2bELU3kAqGBAMqO7IYS+8yY4Lf+3B1K+5cCawVVJBCWagA9d3Y/qAJ9r+tocc2wmCB0iYfnZVzbmbaftm03k7c4ZTWg6WQKvxDPlYwXWPcA3aD71S6iS4W3sFD7mHJV0m517UHG59p/BVOKk18p1hhaUsXGQX3gEASFYpXgc/RnHGknhd0q+pjV4N16NshAMLp0kuytsn2T9yeyobvxkc3rOWn/GeKK2167euZyIGlAv27HRWQwQQ8Qs9G2VnAIIE83uNzPerOdNmIjsOTHlvDVB5doyv5B6uQDv7Z84L2aNSqNX0Fbu6ZTWZ93qox4OKnNtc0v3ZnWDV4x04kybUwlXwGKz45cH5WwmQ6Iwn0CypVTxFQ0EG8ygQWggDtl+wcz/g+Ld28qu3DlW4FGKGpBlop0LBBLKnVUKOzH3geQ9GfMY+ichFOzfqnzdutPqqF3r3O9vJWgcvtzHmjr0OQeXRz1gfxkSzLqj6HuFIsJq0AhY5ZbffnpHnSG0OrmnnsdsR9V/JkfMLaTFF1ThxjsHHQWH8Oz0JNq5EXadp1MJlAiGZVjYgpqO8RWif7ylLLuzw77p9mRYTtUtUnSY0whtvIlJlvOzoM1dA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR01MB8010.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(39850400004)(396003)(346002)(366004)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(84970400001)(38350700002)(38100700002)(6666004)(478600001)(83380400001)(6512007)(921005)(6486002)(6506007)(52116002)(7416002)(15650500001)(86362001)(8676002)(4326008)(8936002)(5660300002)(26005)(316002)(41300700001)(66946007)(66556008)(66476007)(2906002)(110136005)(1076003)(107886003)(2616005)(449214003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2L39HRUMTjvIwVg58IEeZlzaE70jzoRU9FTKzqOdsl3O05Z5E8+rTWnxp9zkFlikTP2KB0yTw4VxIqS8ehgZZvJLIjNFxx4s2J7FK8qt1oG9RFH7xuC0jp5X2Qqz8UGMR+CJtl50L8RJgXd7HxK6+mWwONncvVOytsTXcv8f7QPeL8mMyYBJMMi4XaBrtJyua5f4YX6cZjk04Ci/t//RnbBecSZRIdWRzLbz1QNQawMGkD2NrRP5jJgZfAGz816wmYRpgua8J2l2P0QHe+5cTC0bCIATRODk/Ulwp1TR6qrOHC7qcX4DVHVGfg5pdhuGTOQ+IJUB7hlyknG4wrJpipJ8l4jUjK8GJRA0QJgqvK6snjdDlFqMhFqLypPuhkxcl/z98RfroPnoguRDvjzyn7zyEunyWoJIGKgGhl6FSYTlfwTqQCa8M/PohuCo5D4MtmsM3OQlFml7YXTPqaEv0MyPFAQM0E7cszLNE4NNNLVA26Palf+s4DCIStGYyYNHeFVHR1UuKLmTwtiWoVkPGP8O7oPFQIXAoNCUOwVNl7g/bbxCeSmDSOyXtgztjyZBQYLauPX804C65HDZVP+2eGFydV9iZn12V981dnqOXOUDx7zROSUQwFo9H+408DT14mjIP1zGxl6tuaqaAz7s1+hkdgHS6OxNrOZszqP73B9KpSpCAcQ3ZNBy/sIwdBeia/vMrHbtrzs71ekTo0zkINiGKwAgOROeNPAsIkNGx/PvM2qeQCGssxKx7lxvUyytR+mtMASKcatt1KIa/N9OOPIoxhUBB8IVu4Q4hsFAubOAqbVrWJzU5Nq1vaU9pGBMMU207qMElfJlcGgLRsRm8r3FVVP58bQ0zLCxK+nTaYyCYCW2HOhv8EpL9pab/aOSRhdmnPi+qWeqouYRTV6fg3560ZoNKJyyY9I1WjYOqkXVMvBHgrotBvgPQ9t7W+w5pRD0Gy/m9pOu90Y1dxSK7rbt6kKNhT7rlhRbCqgIqd4dWdpBgdxzBbZ7ud1uxyU2ibO/XSMmVw3GjBkXcMSCiQiaTXr2bWc0SbpCB3sYs8qtl2DshdFnvOSTwqoOYDpHr7Mv2hwE0u5vI5JOF3kXHrobTTFV2wtU+Tj1Qsc1Xf2AzJuuH1FhTwQYI83CHof7pCV2OWujybhvW9TwAeo+ljmW+gCqRX77BGEBOxuNd2Wpa5hvoq0el1Gqv08d7EALck6Ahh8AaiM8CLuya4WzqcrEPw9WQ4dWirJ3+M0MXUhf8ZOTwCJToOAFUWqnU6x1ZOMWEBopGhrm8BywHU1X/tqV+OXAqJnm8S/9xeAeQZCKz4QwJd6FYK/cV0mD3A+SNydlFZjQR3Q8pNitoM+6Mm5axnnKQL6SFcgcMPM16GU8DHU1mN8H6YDZrJgtLoW2iMoqfOEmr36z5QWlwDHI+AWml0zF4sUB1yGvz17CjMXDUYMM0OnMfe7MJjGM4QZjigJMW/jXaxBSUmzKHo2gIJ24z0dC4EOdZ8GQY+ueQBduX2bTF8pgCTLmIEYuY/s2C8VqZcbDndfzBbLb1sU1VnHQJwadPFaKfI/KjwePMWg54fV3vnCuSxoUnMb51OsfapML4cnQMHE6Nnon82GIJOTxmcNUB59jYovc1cDECNU= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91c5531d-ccef-4183-9201-08dbc556fecf X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2023 03:56:03.8925 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: sk3/yaBzXFIuDHpVPXT7rJ4TqpE2iTOm+CTGzS/yN34j2FnFvLp592EkmdLLpu41qkJ+7HNWgzIkoKf3mL6wrOKUN1OtIALa90nxYcPd3OfvoRrZb7jfFMO8sJ8Wc80d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7649 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED,WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Update GPIO line-name to follow naming convention specified at github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md Signed-off-by: Chanh Nguyen --- .../dts/aspeed/aspeed-bmc-ampere-mtjade.dts | 42 +++++++++---------- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 6 +-- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts index 0a51d2e32fab..e57efcc8522a 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts @@ -760,30 +760,30 @@ &gpio { gpio-line-names = - /*A0-A7*/ "","","","S0_BMC_SPECIAL_BOOT","","","","", - /*B0-B7*/ "BMC_SELECT_EEPROM","","","", - "POWER_BUTTON","","","", + /*A0-A7*/ "","","","host0-special-boot","","","","", + /*B0-B7*/ "i2c-backup-sel","","","", + "power-button","","","", /*C0-C7*/ "","","","","","","","", /*D0-D7*/ "","","","","","","","", /*E0-E7*/ "","","","","","","","", - /*F0-F7*/ "","","BMC_SYS_PSON_L","S0_DDR_SAVE","PGOOD", - "S1_DDR_SAVE","","", - /*G0-G7*/ "host0-ready","SHD_REQ_L","","S0_OVERTEMP_L","","", + /*F0-F7*/ "","","power-chassis-control","s0-ddr-save","power-chassis-good", + "s1-ddr-save","","", + /*G0-G7*/ "host0-ready","host0-shd-req-n","","s0-overtemp-n","","", "","", - /*H0-H7*/ "","","","","PSU1_VIN_GOOD","PSU2_VIN_GOOD","","", - /*I0-I7*/ "PSU1_PRESENT","PSU2_PRESENT","S1_BMC_SPECIAL_BOOT", - "","","","","", - /*J0-J7*/ "S0_HIGHTEMP_L","S0_FAULT_L","S0_SCP_AUTH_FAIL_L","", + /*H0-H7*/ "","","","","ps0-vin-good","ps1-vin-good","","", + /*I0-I7*/ "presence-ps0","presence-ps1","s1-special-boot", + "","","","","", + /*J0-J7*/ "s0-hightemp-n","s0-fault-alert","s0-sys-auth-failure-n","", "","","","", /*K0-K7*/ "","","","","","","","", - /*L0-L7*/ "","","","BMC_SYSRESET_L","SPI_AUTH_FAIL_L","","","", + /*L0-L7*/ "","","","host0-sysreset-n","s0-spi-auth-fail-n","","","", /*M0-M7*/ "","","","","","","","", /*N0-N7*/ "","","","","","","","", /*O0-O7*/ "","","","","","","","", /*P0-P7*/ "","","","","","","","", - /*Q0-Q7*/ "","","","","","UID_BUTTON","","", - /*R0-R7*/ "","","BMC_EXT_HIGHTEMP_L","OCP_AUX_PWREN", - "OCP_MAIN_PWREN","RESET_BUTTON","","", + /*Q0-Q7*/ "","","","","","identify-button","","", + /*R0-R7*/ "","","ext-hightemp-n","", + "ocp-main-pwren","reset-button","","", /*S0-S7*/ "","","","","rtc-battery-voltage-read-enable","","","", /*T0-T7*/ "","","","","","","","", /*U0-U7*/ "","","","","","","","", @@ -791,18 +791,18 @@ /*W0-W7*/ "","","","","","","","", /*X0-X7*/ "","","","","","","","", /*Y0-Y7*/ "","","","","","","","", - /*Z0-Z7*/ "S0_BMC_PLIMIT","S1_FAULT_L","S1_FW_BOOT_OK","","", - "S1_SCP_AUTH_FAIL_L","S1_OVERTEMP_L","", + /*Z0-Z7*/ "s0-plimit","s1-fault-alert","s1-fw-boot-ok","","", + "s1-sys-auth-failure-n","s1-overtemp-n","", /*AA0-AA7*/ "","","","","","","","", - /*AB0-AB7*/ "S1_HIGHTEMP_L","S1_BMC_PLIMIT","S0_BMC_DDR_ADDR", - "S1_BMC_DDR_ADR","","","","", - /*AC0-AC7*/ "SYS_PWR_GD","","","","","BMC_READY","SLAVE_PRESENT_L", - "BMC_OCP_PG"; + /*AB0-AB7*/ "s1-hightemp-n","s1-plimit","s0-ddr-addr", + "s1-ddr-addr","","","","", + /*AC0-AC7*/ "sys-pwr-gd","","","","","","presence-cpu1", + "ocp-pgood"; i2c4-o-en-hog { gpio-hog; gpios = ; output-high; - line-name = "BMC_I2C4_O_EN"; + line-name = "i2c4-o-en"; }; }; diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index 0715cb9ab30c..2f571b43106d 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -599,17 +599,17 @@ /*Q0-Q7*/ "","","","","","","","", /*R0-R7*/ "","","","","","","","", /*S0-S7*/ "","","identify-button","led-identify", - "s1-ddr-save","spi-nor-access","sys-pgood","presence-cpu1", + "s1-ddr-save","spi-nor-access","host0-ready","presence-cpu1", /*T0-T7*/ "","","","","","","","", /*U0-U7*/ "","","","","","","","", /*V0-V7*/ "s0-hightemp-n","s0-fault-alert","s0-sys-auth-failure-n", - "host0-reboot-ack-n","host0-ready","host0-shd-req-n", + "host0-reboot-ack-n","s0-fw-boot-ok","host0-shd-req-n", "host0-shd-ack-n","s0-overtemp-n", /*W0-W7*/ "","ocp-main-pwren","ocp-pgood","", "bmc-ok","bmc-ready","spi0-program-sel","spi0-backup-sel", /*X0-X7*/ "i2c-backup-sel","s1-fault-alert","s1-fw-boot-ok", "s1-hightemp-n","s0-spi-auth-fail-n","s1-sys-auth-failure-n", - "s1-overtemp-n","s1-spi-auth-fail-n", + "s1-overtemp-n","cpld-s1-spi-auth-fail-n", /*Y0-Y7*/ "","","","","","","","host0-special-boot", /*Z0-Z7*/ "reset-button","ps0-pgood","ps1-pgood","","","","",""; From patchwork Thu Oct 5 03:55:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 729824 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 8D866185A for ; Thu, 5 Oct 2023 03:56:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b="qPjmvCuD" Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2071b.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::71b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 893081BFE; Wed, 4 Oct 2023 20:56:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZaFf5v30wYPGdJyZih9DdsnxzI7fAHWsutiy6S296/BAmVI8QU/GPBiQEqdKaZKUhOvtu0FfpkllQXuEZywg4LLst/cfdynBYYtspN0NpRqRIWaN5kZWA8rDN+95oucwAMGr3WfEru8PZid1+ghQJ7th1/YkiuAwTPIu45VskMs5Xf6/NBfAgjSX3XjON+HYq2c0fgvLVpoUBEnZeecisMB6vcwR3izULKWyxr5oUcWOYIyTjqQ7vrQOA0/iudpJ5E059pOJ1efxMGb1DCGVO4RgrHnCnmZac6Hy7fnstCSJ6G0mRir6fRQdmdMltWbuRWLSho1krIf6r2o8M4DhwA== 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=7yCTCRCgMJ4qcCqPA2bsqmiVYHdoYiRIeu+eV5e1j/o=; b=c2wkbeFCDxTWTb66hUdcMq9TTOn9r+nKeDT7owo2dQyyShcq/ADR4EaLFS/wNLa8KJ+1D5jgZvbXTrTfkPHDEGyMh1befis7jsL3TiVJUkm1qsTV1N8jbmFl0GgIkJxkP0RMIghOkmRh/+SbI6Qo3IKPuBRDmxuhzdPsLEYxqA/+wiId3KGr+9WwiqO/l31eHQl9UXWRB0WjkGWYHyWN/eseRTdxMxgN4CyxnXkGrI2QwHjlA/ZwEsE6Db+W8Hs2YOPG7BQMOcu39sjfCmj0OnLcc9jBOE8QJE7EbSU+0MnBGltR6Jx3mUp+qU+L45nNV91ms5fwS6Uz5oBY9Wdbfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7yCTCRCgMJ4qcCqPA2bsqmiVYHdoYiRIeu+eV5e1j/o=; b=qPjmvCuDp74ghLntozfifGvF0FcWXb9kCZN6wnibLBi0ySwN8FR+GMBpamlYIIQhujcz5JTHRZds6Nw8Skj307wbZev92RlHqnDHXFZVo0L4qcDamyTJDHybRY8scQiLDAejuETy3NBAYbiVmC0yTl6dQ+EIX/ZByKIy7MDT2Z0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) by BL1PR01MB7649.prod.exchangelabs.com (2603:10b6:208:394::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.25; Thu, 5 Oct 2023 03:56:11 +0000 Received: from DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9]) by DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9%4]) with mapi id 15.20.6838.033; Thu, 5 Oct 2023 03:56:11 +0000 From: Chanh Nguyen To: OpenBMC Maillist , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Chanh Nguyen Subject: [PATCH 2/7] ARM: dts: aspeed: mtjade, mtmitchell: Add new gpio-line-names Date: Thu, 5 Oct 2023 10:55:20 +0700 Message-Id: <20231005035525.19036-3-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231005035525.19036-1-chanh@os.amperecomputing.com> References: <20231005035525.19036-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SGXP274CA0016.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::28) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|BL1PR01MB7649:EE_ X-MS-Office365-Filtering-Correlation-Id: e03fa63b-1330-480a-ac44-08dbc5570391 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fK557imwsAqVpXbSokWs17mDOX/pYsAjLT3x5n5ONUv90MQA/tkDOuEpnARHjPgRZK++cQKg+vu1Jg2hOml2H5wZAZx3wLjRxFBMMve798cB1U8ukYGPWpwor21yVobcSMF3Nalllo/f4KP/m/LzfYaLjIYS6FXUg5f9ahXu35QxOd+zlGCG18S57ABOPEdrp2ygNVqQNvE6YWyBaw4973oqKpBdLkreXytZJbNv4Rb/X0yZiHYixXXu8wDkYwz7ct4SZD5QLALVz3kZ1tVroTWpSORTs2HtnfLovpTBwXTf9oTsfXnrG41nDb3IG64obAeuEbQeBq9gtjE08gLWFP8DqNWO5pNFJlxTpodaotVjAykxyiuOyRYcVmOIZSMjpmg124IQ1sZYGUgC+6ZtSsBIMoAJ7vbL60bLRxsyvNWEChiLbKaWm98j65UyZXHf0H3kqvuye0DPY0yYfzG+dnCnBKIb6mjBEX8k64/SJi5ykxby84ZrQJv6BxpmtFcaXgcemYC3f8tkrEvjMlQK5MHDZGMtEMNDaMKJanKHWt9AYRs4eNJpaiJ3q6cqcrvsj1yV5kfCO4yDHdk5be3tJOd2CPoVKQdvQ5ztlmhyOhMXIDMGsx+a3EXFfR8QBw0BLpPbWqCnShPb9tRTUrMEqmcG+POo4Na1g+iQLGFscFQ= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR01MB8010.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(39850400004)(396003)(346002)(366004)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(38350700002)(38100700002)(6666004)(478600001)(83380400001)(6512007)(921005)(6486002)(6506007)(52116002)(7416002)(86362001)(8676002)(4326008)(8936002)(5660300002)(26005)(316002)(41300700001)(66946007)(66556008)(66476007)(2906002)(110136005)(1076003)(107886003)(2616005)(449214003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: q1GnDxEduXXleojKdwkESmRGSJmH7ouGKm38JwakTHb6kMjFohCI24E+03sN/Q2/u2m11bRpcf5b5fZXBdkqHvHk+frhXRCFJyXP2115xI4NrmdH9KyquTrFPrzIO7EMdWPTjCLn4PzS3rQ766sygspQRiriYFETgOQgYfhcQdZ0z5w5Lv7g87a4fMsdOwnJmmErctKJMGXB81APtobUZFESjgiyoAGTD1z9a4nOgVfqyAkP/3Nn+tIFmuSBgC2l61tL3q3M5PwhAvnkVu2+aPI53df5TxnfkjEzRNbaMDpZpOzwL+VIMFIa1pUzMyDJ4La1phiZ69BX4bc9tj8LS604nQ2dUiGj/ZFWkOSX8mDkNHFySmmKEqdQgZ6GoiqUZpnzHiTJmXJqEkUDld0fE7M3tge8F9F0A/PPmHE5KD6fDLRU52D6kLM5zadLYJ6X5uWmuzKK3Wu96rpaSUUjO7oDo14QjCcrjlQHMLNx54AjJr+0SiW5znbiA6WWosTC+PLEmrbHk8ZOjbsiAtnm4e8ic04EjJtRWPQVu0HJ1JHnSmvTLfsMFSuB+VbMHAJogjP7FP0qAIUXzYYv4z3jrkt8mNu6+uUEDXwdsFNsgHZ2BeBm3PicH39DhDk/rVOoMu23+uHB+nEL1iMDD6morE1A9o2lwi1IDTZDO8jNP8DanZdb8Oqsr1XvlVV4MzuGb4ylC/UI9Bq8ph0D6iViG7ul3jItiCrsRbWTLXQJGro1QzQQR/B9LB1M5tgyXRbKwrwrkYVbhYN55MtpLI5kx1kSkfVT/na8OAkxbT+3fviDqLuEcUG+WgE2m9e9iscUBBVwEBGK3Uh68cMRmoCMKAnYQYHHWPYdgAEfGlmK7gZVVDCy3r9Lm07Hou/5UE3lQzSsMOrR7NHfv2vDss/3EaYpQJXPdHkSUVFUWUojrrgIPHTCd81NfCjC7oh4j6REVkRjzSUxr7JE3kZPZEAS5FoH8BOsG6ESKg7XeBm4LmeDRNgaw5U/3BoffozQa3o1w9MUHp9T9lGrjmMBylP5i6OQP2c5lBhKaIxf6l5XBTKgsNVJW0Fe5wtmsvyjiIRw5OQm0pU/Re6jYAWo25uU3D3D76iH/grkL5Q3Z2ItOlZ5jBNIaRTisprSTpgaKOUg+HBFkmG47tINeKj9izhQUrJ5XjdBY+EyVoLJQczcZ39cnm6eUHFUbyzhsmtHFIiA2/2tpD18zJEsems9aZtOsRZN1wiySBweoSIM/JBXJoOjFXooYWnINLTjSHF0dy6AOd+UwNJGefBKCJmMEwOOx7LFeHrQO3/m16BtiRjn8/vtx3cqs+O3EFblmyhcCaJsqsZn0R8XQvYVs7Dzm6qarL77za/p9/7v7Et0sfW03BCiqMQubXgj4hykStlSDUOgr+oihunlCefn4sYtadgPDBkkAXxYtQSpEHqo+itLfivsg8U3aEWYAtV3hQoxB9oCxjGUyvwwLgcWCLoFpdh67SSPhABMx2Ncf7uD1kfoCx+NiTg7hLHYYSljQWlwsDcXND10PcDKAm79vcV70rp2g+IhttjmrQyKa/fUuf+2CokIq8A0Ix7t5pImhNs79LX9y1lzpJuQsQPx4JsxlgVVbVYw4XHRKuNXgSXhvimw93w= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: e03fa63b-1330-480a-ac44-08dbc5570391 X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2023 03:56:11.8568 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8+Gq86UOs/iyf7u1FXwIEzlZpN+zFkQ3115TmhunAe7xIV4d1ib5S9wZp75V1QllgmUu4MzKNpYpq5AVBNGpReM//hwez5ChyQtaz4kw4x5T9QZF3z3h1nN1CAsi2Jyw X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7649 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED,WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Add new gpio-line-names from the Mt.Jade and Mt.Mitchell HW schematic. Mt.Jade GPIOB5: presence-cpu0 GPIOF0: ps0-pgood GPIOF1: ps1-pgood GPIOG2: host0-shd-ack-n GPIOH0: uart1-mode1 GPIOH1: uart2-mode1 GPIOH2: uart3-mode1 GPIOH3: uart4-mode1 GPIOH7: i2c6-reset-n GPIOH3: host0-reboot-ack-n GPIOM4: s0-i2c9-alert-n GPIOM5: s1-i2c9-alert-n GPIOQ6: led-identify GPIOS0: s0-vr-hot-n GPIOS1: s1-vr-hot-n GPIOS5: vr-pmbus-sel-n GPIOY3: bmc-vga-en-n GPIOZ3: s0-rtc-lock GPIOAC2: spi0-program-sel GPIOAC3: spi0-backup-sel Mt.Mitchell: GPIOC3: bmc-debug-mode GPIOE1: eth-phy-int-n GPIOH0: jtag-program-sel GPIOH1: fpga-program-b GPIOW3: s1-pcp-pgood Signed-off-by: Chanh Nguyen Reviewed-by: Joel Stanley --- .../dts/aspeed/aspeed-bmc-ampere-mtjade.dts | 42 +++++++++---------- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 9 ++-- 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts index e57efcc8522a..c87be433bdd0 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts @@ -762,42 +762,42 @@ gpio-line-names = /*A0-A7*/ "","","","host0-special-boot","","","","", /*B0-B7*/ "i2c-backup-sel","","","", - "power-button","","","", + "power-button","presence-cpu0","","", /*C0-C7*/ "","","","","","","","", /*D0-D7*/ "","","","","","","","", /*E0-E7*/ "","","","","","","","", - /*F0-F7*/ "","","power-chassis-control","s0-ddr-save","power-chassis-good", - "s1-ddr-save","","", - /*G0-G7*/ "host0-ready","host0-shd-req-n","","s0-overtemp-n","","", - "","", - /*H0-H7*/ "","","","","ps0-vin-good","ps1-vin-good","","", - /*I0-I7*/ "presence-ps0","presence-ps1","s1-special-boot", - "","","","","", - /*J0-J7*/ "s0-hightemp-n","s0-fault-alert","s0-sys-auth-failure-n","", - "","","","", + /*F0-F7*/ "ps0-pgood","ps1-pgood","power-chassis-control","s0-ddr-save", + "power-chassis-good", "s1-ddr-save","","", + /*G0-G7*/ "host0-ready","host0-shd-req-n","host0-shd-ack-n", + "s0-overtemp-n","","","","", + /*H0-H7*/ "uart1-mode1","uart2-mode1","uart3-mode1","uart4-mode1", + "ps0-vin-good","ps1-vin-good","","i2c6-reset-n", + /*I0-I7*/ "presence-ps0","presence-ps1","s1-special-boot","","","","","", + /*J0-J7*/ "s0-hightemp-n","s0-fault-alert","s0-sys-auth-failure-n", + "host0-reboot-ack-n","","","","", /*K0-K7*/ "","","","","","","","", /*L0-L7*/ "","","","host0-sysreset-n","s0-spi-auth-fail-n","","","", - /*M0-M7*/ "","","","","","","","", + /*M0-M7*/ "","","","","s0-i2c9-alert-n","s1-i2c9-alert-n","","", /*N0-N7*/ "","","","","","","","", /*O0-O7*/ "","","","","","","","", /*P0-P7*/ "","","","","","","","", - /*Q0-Q7*/ "","","","","","identify-button","","", - /*R0-R7*/ "","","ext-hightemp-n","", - "ocp-main-pwren","reset-button","","", - /*S0-S7*/ "","","","","rtc-battery-voltage-read-enable","","","", + /*Q0-Q7*/ "","","","","","identify-button","led-identify","", + /*R0-R7*/ "","","ext-hightemp-n","","ocp-main-pwren","reset-button","","", + /*S0-S7*/ "s0-vr-hot-n","s1-vr-hot-n","","", + "rtc-battery-voltage-read-enable","vr-pmbus-sel-n","","", /*T0-T7*/ "","","","","","","","", /*U0-U7*/ "","","","","","","","", /*V0-V7*/ "","","","","","","","", /*W0-W7*/ "","","","","","","","", /*X0-X7*/ "","","","","","","","", - /*Y0-Y7*/ "","","","","","","","", - /*Z0-Z7*/ "s0-plimit","s1-fault-alert","s1-fw-boot-ok","","", + /*Y0-Y7*/ "","","","bmc-vga-en-n","","","","", + /*Z0-Z7*/ "s0-plimit","s1-fault-alert","s1-fw-boot-ok","s0-rtc-lock","", "s1-sys-auth-failure-n","s1-overtemp-n","", /*AA0-AA7*/ "","","","","","","","", - /*AB0-AB7*/ "s1-hightemp-n","s1-plimit","s0-ddr-addr", - "s1-ddr-addr","","","","", - /*AC0-AC7*/ "sys-pwr-gd","","","","","","presence-cpu1", - "ocp-pgood"; + /*AB0-AB7*/ "s1-hightemp-n","s1-plimit","s0-ddr-addr","s1-ddr-addr","","", + "","", + /*AC0-AC7*/ "sys-pwr-gd","","spi0-program-sel","spi0-backup-sel","bmc-ok", + "","presence-cpu1","ocp-pgood"; i2c4-o-en-hog { gpio-hog; diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index 2f571b43106d..b7c4f7cfad07 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -575,16 +575,17 @@ gpio-line-names = /*A0-A7*/ "","","","","","i2c2-reset-n","i2c6-reset-n","i2c4-reset-n", /*B0-B7*/ "","","","","host0-sysreset-n","host0-pmin-n","","", - /*C0-C7*/ "s0-vrd-fault-n","s1-vrd-fault-n","","", + /*C0-C7*/ "s0-vrd-fault-n","s1-vrd-fault-n","bmc-debug-mode","", "irq-n","","vrd-sel","spd-sel", /*D0-D7*/ "presence-ps0","presence-ps1","hsc-12vmain-alt2-n","ext-high-temp-n", "","bmc-ncsi-txen","","", - /*E0-E7*/ "","","clk50m-bmc-ncsi","","","","","", + /*E0-E7*/ "","eth-phy-int-n","clk50m-bmc-ncsi","","","","","", /*F0-F7*/ "s0-pcp-oc-warn-n","s1-pcp-oc-warn-n","power-chassis-control", "cpu-bios-recover","s0-heartbeat","hs-csout-prochot", "s0-vr-hot-n","s1-vr-hot-n", /*G0-G7*/ "","","hsc-12vmain-alt1-n","","","","","", - /*H0-H7*/ "","","wd-disable-n","power-chassis-good","","","","", + /*H0-H7*/ "jtag-program-sel","fpga-program-b","wd-disable-n", + "power-chassis-good","","","","", /*I0-I7*/ "","","","","","adc-sw","power-button","rtc-battery-voltage-read-enable", /*J0-J7*/ "","","","","","","","", /*K0-K7*/ "","","","","","","","", @@ -605,7 +606,7 @@ /*V0-V7*/ "s0-hightemp-n","s0-fault-alert","s0-sys-auth-failure-n", "host0-reboot-ack-n","s0-fw-boot-ok","host0-shd-req-n", "host0-shd-ack-n","s0-overtemp-n", - /*W0-W7*/ "","ocp-main-pwren","ocp-pgood","", + /*W0-W7*/ "ocp-aux-pwren","ocp-main-pwren","ocp-pgood","s1-pcp-pgood", "bmc-ok","bmc-ready","spi0-program-sel","spi0-backup-sel", /*X0-X7*/ "i2c-backup-sel","s1-fault-alert","s1-fw-boot-ok", "s1-hightemp-n","s0-spi-auth-fail-n","s1-sys-auth-failure-n", From patchwork Thu Oct 5 03:55:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 730856 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 6A7681849 for ; Thu, 5 Oct 2023 03:56:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b="OWqtLMkh" Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2072c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F8921FC4; Wed, 4 Oct 2023 20:56:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PmEEYbVrBB07E1gsXJYsMz/7eBKO6puT7/1d8YfpUkMlvyIiFbXrCGYN9tCkZQ6LAnC26zDdE3iOHOkmJKiT/BsyT0tZPafFboAs3mqB5m5CErYgw2RgYvOoTK1BH4uoA/IRR7h07WdBz9cFCOHE/bDfLoeFMKgwDhjz+zSSS1gqMl7BJqqUsaRbzt5XS2nBIFoRpdzoTjLwo2pJT8gi8oEh1Z4wxD/6QOeCxphTmfUCwHJQjZjrA7D+dSfcr3NIdNnt+0N3aqb0hF2cDej3AtgXpGpp16ePJfNiaw6G0ytDYockW908EPeNSokRlhaKAvqObH9UjSl/ZA4cEfEkvA== 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=CQlkll1XHdS/lfjSn/s2lwfzg+GRMLhdRpTCZobU+h8=; b=RiErNRnOwdMzgfsrg7L9WmXFl3ff2ZSzfm1ImDQsvO/vprL6D1V21V8zr2Qv6oLRn2oIVHnu9vzb9oALdVIIBJ6GzmQcQXszP7x39kY3UJs0rLh0C2MMmPheW+XYdEPavYcN+yuWWnqT9v/joTcm3KKx8y0Q7q88DasozbegCUyz0yZA+VX3EvTqkQLr+ZzIBPofheM9Cx52xUtcZMSt0LQ0ZnSr/wHgGdcDGxM1sBm89YooPaRU9JdfOErduSWH9IKjI7VqVGZFktW2o9X9v5ZF2yuNrAZ9g/eI5TYKR3bLoCC1l0GYyyC0DDe2rTFq897/E07zlNdMmXBIAIJz5w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CQlkll1XHdS/lfjSn/s2lwfzg+GRMLhdRpTCZobU+h8=; b=OWqtLMkhkfP7n1OetKOP/K0fLMHbg33C2EoNDvHvwsXVCvfM8DCZkn78rX8ZdzqQXPLgqgji6AMYULM6jWeodgdgQOzZJD0DoyzlPALc2hwolcOnvFYAbrnOM/BtzOhLEDLXO8mikldKemVqgeuZU/wYK34J45rAfFySJrX+ajc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) by BL1PR01MB7649.prod.exchangelabs.com (2603:10b6:208:394::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.25; Thu, 5 Oct 2023 03:56:20 +0000 Received: from DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9]) by DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9%4]) with mapi id 15.20.6838.033; Thu, 5 Oct 2023 03:56:20 +0000 From: Chanh Nguyen To: OpenBMC Maillist , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Chanh Nguyen Subject: [PATCH 3/7] ARM: dts: aspeed: mtjade: Add the gpio-hog Date: Thu, 5 Oct 2023 10:55:21 +0700 Message-Id: <20231005035525.19036-4-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231005035525.19036-1-chanh@os.amperecomputing.com> References: <20231005035525.19036-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SGXP274CA0016.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::28) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|BL1PR01MB7649:EE_ X-MS-Office365-Filtering-Correlation-Id: 63210672-c8ff-482c-c0b3-08dbc5570891 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 66gsp6hGaWWGSN0vqjQg/WnCjoJ460EwwTsCr2aV4Hk1vuJ4fpxKNh8sUNw8UFlck9CXN6NX9LHASiM4NZQlVsdBcvytzOk25kayRBiuu6jbqluiLNFvU5GqwRzTTrsStXnBuprbDRdzzwVo6QWTyPaFSsfaDOh7P85uUAx/6T8eQNnuut25i9aGkDJxpXSuREh/QjvK78cpJDKtlDWVpD+bmYKbsCKImAJ8EDEsDQyDdYBNzvUcZWHqL98r+NKc+ftdL9H0nR9KT8WQ43CW8qtI0Uu1I4ZPZRMWveH6nX8NZ3l0Tje9JFzXPadh6LpfpZFe0+EvzC5+vTWxiFh77BOixjcW1Jou6IZcmWEAMt7IiVNBiPNWUkZ8ku8YIwMJOy41xax1dJEIMMFjBfCjlFX3toypXBFPxe1x9TwGY3LnKtvFM1wI74x35lrp/QMcxxgHvXK8xr3GT9iEQltDEh4XOEJBpfpiHoFKV0Cyl0Ksst+fJ/bM2vUEdApaoQ4XmnhrQApBg71MWwnLpVYVtiXuPD5heOUYbYNP14S7IrbCtmKW1I8VSLbtI2H5wpPsHcRzHgIlW05uaJnPWkihRUQjbpJdF4bLO7nneReBaLhiCzuKAVrJJBLEsfC9NILe1EBh926yvtilSFY0m7zq5g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR01MB8010.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(39850400004)(396003)(346002)(366004)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(38350700002)(38100700002)(478600001)(83380400001)(6512007)(921005)(6486002)(6506007)(52116002)(7416002)(86362001)(8676002)(4326008)(8936002)(5660300002)(26005)(316002)(41300700001)(66946007)(66556008)(66476007)(2906002)(4744005)(110136005)(1076003)(107886003)(2616005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AnZHZ+3KOf4dUqKkGuT+wkK26fc1bC+OOCYyYtapu7jhg6Uz4ii5Ha/15j/WI9Lb3t1L3drdRc6t31PzwWT0e09Qp/2bdhSlNp04+1DW1/oDOiTWTfLySWPftShGq0HFf6tUhTiDN9zzY0J2FaBR77UDZ88ac1lueFmCXQdlGUAIwrFDlhHNfdA7vLJBC3l8aN/5yh42V/YpEUJgSmYA69f6ta5Pk9YA0uyCtXezmqr5jaIE9U+VAM9pORU1g3ugyxqJVw9T2acrooEx76kvEod7e114BZORB9cY1UgWHPObJrtjE+pe12/gtQnuZKwj9+kCBHZoXUkqbjDnOyaIla6WN4qgBL8USO/mnibRe3imm4VLvayyzdOKLCXO6xkktBISRWfTyzVK93R/Y69UU1EtkdpIE/dctRmkM4cFYWj7eLaw58miF/CDEI0zL+5Gp+5nPxe2BGBvDBQyvttdw4a1hy9T2fAomfU6UHX6F6dFN6gnY8l13AbHZlOIyMOKindX/hD8rdPeXL2fOUL7r78g3pVthsfJzarcqnHbnYix1N3ZCGLeKjv66ixabuZwa8RhDAhIoXmsVGonNaa5UpiTi305e1TJvvJc6xHAlCbCuJNbRJp8QFuzmBfRdJFG99hTb690ym7GidtxMk7s7wF4uf1HfLzf9dqlD+E+tirEdkbwlaiYC4BkWbVyZlAhPcRK8OKwKG2LmsZ0fmvB+lURu6Al7CwChoFAMCGWuPjjTI8HyjEsREtw8ow5+rFyGw4uisTW0rGGCvPG2X2vRnAlIDvjkA5jI0pj6+du/N1GCCV2FcTj+lFjPuHwGa7ZiOrvXHPvnOA8AolAdYXUb52sEyY31E//7GCrhk9DT1s1UVt2mroxnB/AVtvnbcC/fMrgUIEaO5Wrnl+2hM/uQDtVpqr0ze7oCUcEIECMVft5cQFeovlU7TdWxmHU5lxmhGviPaYQXtUyH1Xt4MxIHfqYNho1zuyk1Bml+oCEbiHZ8jy2s7+JKN2QlM72+AS8Q5yNA/aq4CIYXUpiJ6PVrfyQdFun3Ap8CM7Td0FadGnQfKq7tpyKxOlm/nKCYRNEak8Mrj3Qf7lSYQyCvZbTKBJ+LRG4Z+lG7EZUbaE7UnwmSsqkqZvH9+mazZknGfZBlZpyekbjHjytRlJhN9iD1Xo0GrAb1YwOk1RUy9HQpQnY1vK5hZqB1cyl1Vu5wwNplQLcbLAE1AKSUnOdhipc/GCSNqcTxX8en0adNKfyV0FxIww1bMtHljo0G4WS2UQoX/rDOYBocCz98c5W6AhDgcKEqPA7UC59ozAQQ5L58rmz4/q/DI9RcvoIoGPzCgfYbubqWvzC/s0juYlmPBBrSNciKbC1aopCOmnpIMFyawo+HMybreKBpCq5DaEMDxTmzXHmkUUDX7aOXDLapjXvxuHBLqqMpHk8lX2mWbbJcSFkJgFCSR/4aYf/61zaIQz+DcProif5ADGWoHouEvikIjkwm/OEqk1VCgt/ElVgK7pV+xDOhKjUwZRdI4oOKmoWDgKKb5cSKN66CjW68A72NZgyLRXCv3Tz3Yd2+ZG/aXLG+XWE97toVEH6NbfABbTj9pVh2OaA3r68GPOndg6IuXeBccS35q4RZPLIY1w8USo= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63210672-c8ff-482c-c0b3-08dbc5570891 X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2023 03:56:20.2896 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ih9D3Rj4yUBpoG0jym5G+V8WoCbBkB85+R3ddkKZpClbHyGuZBNPODf+lqHfdvSe6SkuoviFz+xN9ATlcg34HjB7rWB8fT57LSHyBsQTvM35/3+/CsaqfwdqB8fDvfyK X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7649 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Add the GPIOR5 as a gpio-hog with output high so that can power the OCP card once the BMC booting. Add the GPIOAC5 as a gpio-hog with output high to notice the BMC state. Signed-off-by: Chanh Nguyen --- .../boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts index c87be433bdd0..8ab5f301f926 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts @@ -805,4 +805,18 @@ output-high; line-name = "i2c4-o-en"; }; + + ocp-aux-pwren-hog { + gpio-hog; + gpios = ; + output-high; + line-name = "ocp-aux-pwren"; + }; + + bmc-ready { + gpio-hog; + gpios = ; + output-high; + line-name = "bmc-ready"; + }; }; From patchwork Thu Oct 5 03:55:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 729823 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 C38041859 for ; Thu, 5 Oct 2023 03:56:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b="pl6MzSK+" Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2072c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AC881FC6; Wed, 4 Oct 2023 20:56:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JKYA637PHOQOccTARtiZ6kl/w0XfD0OuRh546YQT0u5aBBPhworcIESkrd4iKaNkO+TKrNk68MpZXCkj758u3swjPvlrn36r5eSFN3bE/rXYLrwyF/GDh444AXb3RXYngOUDZbxHvfCq7ht6obuLoyCb8hL5yTTJ1HQxUyg/qn3hSMerqKYYhfo9UwpbBFcFAdhff9Nfhzjx5gGwrM5vtxXeZ0xNDyQbhV/7J5oLwnd5jBrF1dlVFgHuSrvh9VX6Y9IKA4nCpFT0e++699s3nYJVgvArol3xqmeNy3OmfyB3VL5ndTwdEMIph9lywgr6XsGg1cvS9aZwJY9fnHNhXQ== 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=2UOT7SgQjlxdHik2nb2Z5XwG4gW0CcHHTHYd1biwev8=; b=gpFFOT7mW2/ZIwwQ2KrRFd0VXGZullJjSAmKNcihcAF5/GyMCrcvRQvJN0Lvv2MQYrUYWZMfHBUl5d9w1BHE2FxnsLERS4dEnW8mxdYaQ4AmvNtDm6Ikf0g5e8Lii/augQSAVBY6NswnCNo87I0AjBJhb3tyZhgoi/P2MHDe5GTG4gKomDfNPjygofnFtyWH9+6jDVY8Q7+hIdpTXDcwdkYugGclvxo2PbukacQmiviR/qRWb9BoFjJDyr8aHrSutx4XvRKw5AmfM3DeUak7CWc8np9HVGd7U6zGUCvECtfnMs+0fQC1mZSjHuBiMn6hV0vd33ILu+VvuDjkEUvKzw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2UOT7SgQjlxdHik2nb2Z5XwG4gW0CcHHTHYd1biwev8=; b=pl6MzSK+cZKYq5ht00ylvIdNmA/HZeUDfEsf1DjpRhbLZ5mni937wfJjdXu7SXPV9+yQR8jBcaGQJnfWYcXK4J7KCQGctfLwlD6c8sCCvhKRIHDO1yuMqqhbHyE/rqIuvC09ZxA3nlpbnWEjeueKHo4jkEV/cHco5WHvWEPGOfM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) by BL1PR01MB7649.prod.exchangelabs.com (2603:10b6:208:394::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.25; Thu, 5 Oct 2023 03:56:25 +0000 Received: from DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9]) by DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9%4]) with mapi id 15.20.6838.033; Thu, 5 Oct 2023 03:56:25 +0000 From: Chanh Nguyen To: OpenBMC Maillist , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Chanh Nguyen Subject: [PATCH 4/7] ARM: dts: aspeed: mtmitchell: Add LEDs Date: Thu, 5 Oct 2023 10:55:22 +0700 Message-Id: <20231005035525.19036-5-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231005035525.19036-1-chanh@os.amperecomputing.com> References: <20231005035525.19036-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SGXP274CA0016.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::28) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|BL1PR01MB7649:EE_ X-MS-Office365-Filtering-Correlation-Id: f066644c-6a42-4103-5f21-08dbc5570be2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qvlh1li4iQiOuiua+oZZi52vmTqMNrvOavV7OLkWkYwblOp0wRFCxC1sj3BiN9fPrerFgRu62XM371MjFfMDOm/RQ6qfysWI+OYQsgR7NDvRAp7276oKrpsVlbY4tOISdmDL0/TVZ1bX5rS8TT08oUxGfn5IIJ/TjVQlKekinr+ePdpBJ6BQrGzfnqJwVBjzPb/u4GFxfKlTUOQ6He++IECC5gUMlyYamYrVTfYj+DJFxTxoveJtdsMBXRKDDm7l37mzqi75Ut371ScCnrYng9L7Nmhs0hisDNHATpBq8KPKA2MC+rZwx8SaQXB87leUWZvImfVm2iRnCGbE0UTrO2t2LU3G7LDwcX1PUogooiaw6OWpjXFVtgHUq2GkJQF/R70Hd5tv5CYkOGqetaphnpx9X5tkYmnJbbDSvERkEsygqc6o7KlEejX5ZniIl6/oZtQIzKG9KgoINSJ1mLx1GTWDx/BqDZMKj9IZog+TrcCttHN9YqDy4FJ8GAfk3eCLXd6/D9+bRyo6uzODxirNulWrNFBm5ZZPWv9h80Feaeg3mlvIvK2CDGCnJACShC8m0jTbZrfeqmrLuUvIrLPc0yqbpohRhh1UY6SXD0f1LTmvihL8y1uwY0Yy0H/nSOZSM50BAFMY19Ynip4jcQ+05Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR01MB8010.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(39850400004)(396003)(346002)(366004)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(38350700002)(38100700002)(6666004)(478600001)(6512007)(921005)(6486002)(6506007)(52116002)(7416002)(86362001)(8676002)(4326008)(8936002)(5660300002)(26005)(316002)(41300700001)(66946007)(66556008)(66476007)(2906002)(110136005)(1076003)(107886003)(2616005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zaUcyhGZIIaKBFVn7eAAJ/pTtrhGl0TkPJDeRqE1n7c6PMMkfQxIG2ujX9CeJQIrtv7cK9+0lchzXxsfkDFFSRPp+YhLJxT7nKjjY7h/nwazfZONbyyoMhHCBXPg0pIKgFJ/wOmfzQ7HRE0n1SgkkC93B1JkxLoDybvPMvH8c6R82/3l6N4yP8yCoy/RVWsYJ0RZcx/Q1v8X2CYD2cVCxGHbrtmBc7QNrNXefNsykBP2OI/88q0gDzokGVNGw7BehpD5KrlnnIwhfo//wQVeEo3V7kRubVwVVqMJjUMudYRXw14JpqGWeQ/CDMSHc08mA0F4OWTzUbKCjkHW+ovHMCh8XUqpDKSwd+DhB3sWhQO35ebsNvEierk3FRMzWusDx6WJSy4oOKTM6TchR5elDbqw2//fZi95t3kUcDbGQbsMCg42UQXUFbDmw+N64fEnLijOUNt7J9ih1YoaHtdnxDPNtKMrhztISiFdlKVRGAUbbTHAvu824abnaDPELxbJlD27XVKzAEdQEw1MH655MWOKWd9ddkCz8ADOP9SlDQn8cvaumL09/Snz1vF6DEtiIYwWVngjx/zkoiAE6cIhdLW3mwHz3HRywNIUHe7WjElEKsnec6I4ujeE9MeclRhF4EvmHYrojcTKGifLOyk1OkkPqccPJwKG5917x31JpOFRV3s+qW7X2/H5K7zsyhTY2+jk6YMjNWX73NqeOh1SdnSs6s7Rjn95ifeRHIa81TLTpCZz1dQEYMe98p+GFAQhpnc7H4shLVHnwK74CMZqBQ59OkLa3uCiOH4SGVgF3b6GlLduf2f0y4l1LdpL4+Fdwj8LA4Fzo3Z+K9F4XBVag3SIEaIFe88icVaPXQlB6NwRzEJW9fcRje9yTU+D9NdoqNHC937AP5lfaY5kcRNe8D6rfXOihYz8M6yDm7fyQ8y+2HhqSOX5RpUnXSw300Ss8PY4Mg5YwOFMrQIuKyFpdLpPSQFlI0qDh/dudl93BG/0PLJH9zucS8GvSRygTJJ5UkMZY/SBTMb/49P2L39gmNhax4n9FE1K8e9Q+17aqwMR/vodXJRDbp8/bPivmzgi04YdzkzzunycgOOc9AeUUWrALtNPoJLSCUIMXS4R6/v1CWCf2lb5LfjXaHFu3/rftHrnfOMDN7VMd+CuEwllEuTsBgp4+pYerWaqGyUKPMnZ0gGoptZfJ2I/TxGuoWFYV2Js0igAhvUWy+4EmSZuFk5W23BlRmr4VWigZOVa8qFxRFSEvHLgHGJQLOR19wBTtHCOYCNwwK1kBIlI25BghvyZcvVm1hkuMosFwSQUwAQXDe03wF1I7E/F1Ub/w8vZFi5SysIv+FFRaCPTJJik1u5JFTcvSdbk25+gBEdFNFd/MpHQYse15XTuZYewCHZzyeDS1Kwo4bnCoO2e/VQwwJgcGiGaS6ds6jh2U96RnNlU+lj+mLdbAlcSS8OTWN5xDAVfl/DSqB6OCuAlGF6UxAUMfX3KQYKvkzO1ztgJx/fduXU3zi+tVhrFttu2RARGp4YQ+Qa4qsTCQPr8qY9jkuyUt3AOezwQ/5LEuJ1qMKzZiUXLN4IYYcyDKMcOc2gqUqDCAKG9u7Bj0RED3BJ/zZ5ybGo3vo59prZa0Q2iQj4= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: f066644c-6a42-4103-5f21-08dbc5570be2 X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2023 03:56:25.8443 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hNfVkm+shQtQorvJ+SpxbvdplMWM331eQr+0db3mPojWE889ilRQ3EbXrny++3UpFHIdcBioIcWoFEGiMp0uAMZ5X4Ix80clLFgdiSy3S/ksI+FOllvvxyVs9VE0V6PL X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7649 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Use gpio-leds to configure GPIOW5 to GPIO_ACTIVE_HIGH and GPIO_TRANSITORY flags as a bmc ready led. The GPIOW5 pin is reset when watchdog timeout occurs. Configure the GPIOS3 to GPIO_ACTIVE_HIGH as an identify led. Signed-off-by: Chanh Nguyen --- .../dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index b7c4f7cfad07..88693c2b2dbe 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -51,6 +51,19 @@ }; }; + leds { + compatible = "gpio-leds"; + + bmc-ready { + gpios = <&gpio0 ASPEED_GPIO(W, 5) (GPIO_ACTIVE_HIGH | + GPIO_TRANSITORY)>; + }; + + identify { + gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_HIGH>; + }; + }; + voltage_mon_reg: voltage-mon-regulator { compatible = "regulator-fixed"; regulator-name = "ltc2497_reg"; From patchwork Thu Oct 5 03:55:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 730855 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 7A88B1867 for ; Thu, 5 Oct 2023 03:56:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b="lDorl9VV" Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2072c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 846A51FC7; Wed, 4 Oct 2023 20:56:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=edc/2lDySQJTGyRIanNFGg/ugE1NaOO5z8sb9fAEQnWM6DeIFwyeGd9e0SmSUHTaYTMbRNIkh7DV0IKZ2pWh7Z90ks0sJ/d93SqZJU2mZjjVACgikfa/Q3STDFsSi70YU3gqDXf+sKdEP8kLZYP2x/SHueBvX1X/rwlXqbNY7Mb9akNUdLxK1cDuECdUKJqUz+bEJ4999gDLOI2M+3RC/b35VxygvXqqq4GRXYY7mvxYNcSWXSMN7ULTWmiVOhHmhSGOwFr2FN9+tCZN06MMA1E1tnjeKz9BxfiCMRmsGuOBwz5QBaCXJKI1sCGE0628LUIV0p8UutQo1/K+eIdiwQ== 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=O2YRvhkYxkoI28ok2JRnBvUbyFP4eWS0Ftc22vlF1y4=; b=Xp1QpoVbpFso8sTVcLsxUcCaxfPHb1BUVXRCF5xxiFmZm2TWzz0i8m4vbz8srsUI8PK3tFC7LN6Ti8DqpFRmFudR/vO7S9T73vCG7uih6dIHutqtEz9AlbdZjx4oaNmpg0+ryevX3Q775dbk+XCJU0baVXTdj/EPM2Ugy9uwTEBnqIacSCC63rJj5fuG4lGzHbrewKv0xa2k5nD3pbDQExwNiaX4N1Lnue9L1vTgTfKtXMO59VABjiuH08JeWYWDWPTkO72cDYB7BLiuWyAY0TMb3yE1nXFR3/FXZpOq894eLC/3SjNCAfMNVpG0ImtOJXrco0BoBpqU3NtKd2jjqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O2YRvhkYxkoI28ok2JRnBvUbyFP4eWS0Ftc22vlF1y4=; b=lDorl9VVMEm1Syb+KCcXGcRghFPOVDOwScdcTT2gJIgCAyBRbJxxqnLaqGVxGzjHAdCXtiATU+X3L7WV/csXAdYtPZXMbgFLmCgLoymM4xl1NU0S4ufdvuezmleGSHEgigVdbKhLzb/Z6j7RDyTdp8IjfwyGjRojxFZmBo4lomo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) by BL1PR01MB7649.prod.exchangelabs.com (2603:10b6:208:394::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.25; Thu, 5 Oct 2023 03:56:30 +0000 Received: from DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9]) by DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9%4]) with mapi id 15.20.6838.033; Thu, 5 Oct 2023 03:56:30 +0000 From: Chanh Nguyen To: OpenBMC Maillist , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Chanh Nguyen Subject: [PATCH 5/7] ARM: dts: aspeed: mtmitchell: Add inlet temperature sensor Date: Thu, 5 Oct 2023 10:55:23 +0700 Message-Id: <20231005035525.19036-6-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231005035525.19036-1-chanh@os.amperecomputing.com> References: <20231005035525.19036-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SGXP274CA0016.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::28) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|BL1PR01MB7649:EE_ X-MS-Office365-Filtering-Correlation-Id: 37efcc98-6825-4c05-7d3a-08dbc5570ecc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZtWj+YQgvO8HzTPyFWE1620RbbZKwEqtyEect+ZnWvC2Or612QfGkG9SlUBj6SZWePj0yooCBufkeh7VgzUWIe5+MLaY+neVn//Rflxxx+AiC8nKPwvquGXb8F1TfiFon1VFTZ01Qpc8DEUM6PSHvwsHNaty86CeSqpbiwTn2T+Zg63J/yp5mwKwtu2sRv29h4qcExGJtlWs4a0xSCN2kcQIMAxT1lbcNAdxItJe+N1wvRX4KRnJCyeJ6/DeYbdDN6zCnoZlIMrPlbuz2w/4s15jGIlitil838rOWR+oIR85/z3/CIAa2+E0uSBU+F83LssphFuqiFVB136ij0f4rTwQBwsdYbqz41MxyUZWC5p7j3MTzTY3Y4tsTpHM7qDqupQivfezyvQC/w4V4HcecfBC4xoD1v0Nq2nfH3pxwmglytnWirPYKxXnvsUw7TiPzDZZ7FFDkT0Lx0/i1vx1af/Pptrazb7GsgHc016eJyKf4IGpjVbpvsgs3EWJ/0iL5SXb57x56JiydTD8sCx5YQMCAPxKfI09p5nSZc09JFMzCPfPggCvQAMWwXkFJDVhnAlJacx+qyvHCGU2OckGej1S5KUYv179LDHFpsayLdXpl7gPLj5SbMu8OHTrEv28eHqd1k0weeCMvxxwLzst2g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR01MB8010.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(39850400004)(396003)(346002)(366004)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(38350700002)(38100700002)(6666004)(478600001)(6512007)(921005)(6486002)(6506007)(52116002)(7416002)(86362001)(8676002)(4326008)(8936002)(5660300002)(26005)(316002)(41300700001)(66946007)(66556008)(66476007)(2906002)(4744005)(110136005)(1076003)(107886003)(2616005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nP/6/bjBtJVCnlaLH4pgES6BIeQPpha7ivS7ViixMaOupbLXY9cLH9lSGc/hi5DyiLpsK6i3yJLjdbNS33HiLMJ/9W/GfBCJM+y5G2HnEGJpvfqISVhz81irVQXL+liIXhMf48XBRD9tXfB2N5DEEY+0gJVih5yx5+LBqDJlfaW/u6RAGEdJ8+lVksM0qU2alOWf/PZxhgOFYWnUEgWHw/uvYA7aLSWoyCugTSylPnwfv716jdl9N/n3Z7A9qspOI6p0+oyzVbDOwQB6QgMtvageKzcu3Lb/a6kteuNm5gpAo3ZNNm3ERO1kLZCAzNBp2pIaBRX4/8Qgvh3S7suS0iEO1wULxpy1zzZ5FRrJ+UCMJVWeKa7GXYv8pey0viqJVOWm1pAirm/UN6BnveWxcPNXqvOAZJLnwMFtibcPXD0MJJ2ydMhcI/N1OrqMuY2JgPfLTARa56IeKs0ze8e/rGsooqn1zH2XmqESmbhGdDD80+oTjYpvExp4Xt1/KO8jdUYX5QZazHEcu11HrAfpx7rla0Uvv1KD8WnyV+r7CKWAVt1RA/xU/l9VMsNR38NLOx+vo5o+WDw8P/1aqul8DD4pS+jG4CEkZ2hiVmIKRbmUjvfhsy6PwAWBf07Cdo+1oDMN4B2x+9ylYlVrBiMBMo8GOwhIwbR29uY92dd9orU4IbqtNteaUhf7EC6TFZ0ByqEd+MknsShguHFQibg08B3N0icjgfpqse1EXrZsHD8Eg62YNXJfVuzohne+JLes4catJlbuEwrWdn/Gi6Q3Nk7ZwPE+puC7SHQquHkh/rNVxaxzkbhobi//xIRWLqnlap3TeXQg25+DzRJ4CEjKK3Sdmm+j58qcXls7TdIHUhJ0h9BFOvRd+1PlY5HzoCEYB3fD8t5amNp7OIXz5UUrj9LLqz5+nKXkkQXeU/LeC8jtraj9IDv2ZBN/Rywb6AnIVY/VV1KHU5WJTAGbvSWrh/vvhVTVuCp3vUGQwARBPrSUiMs7ThsvAELtkhXy3N3NGs0QZn1R+vr+TmJJGfj3iwtBZTewXA2/riQdfTO2Bz4nkU/qKf0fqRGLa2iolsSyli6VoAjn6O7+rWcttU5O2NmTA8w8csUK+G94uHBFLoj6fPDMrCorCp1MchG39F0N9P5tEYdoZNOBbGhQvhr0Vbyd1IoHVc0j36ideXIdSVJ7WbV64pTn+Od5R+Mb3DBgPAPw0mGf6U2TEefB5GsfMO1TTXsZPziSi36hOS4xtKSsgl+lHI04q+mT3tDjifwvc6DJ+TTxcA0IbTP5XycFYF3hO/cEKS3iMTnoxYsNh6surDJl/f0QTM9nYbGUi1R4F3wjwKEbIqz1XU8unb+tvfD7CVIu5aGlILoR+ZNGS4xRSQm0M23djiS9crApQ1WOqRJAe+l0iZAZmXIg80L2sVf9qmw4bDSCqlWT75zDocPHFvxVpVIkRd/lCWsd1SF9fog0yKk2sBW99jQSFZyCX/X/FRF+SG7DoGy7Bmc3lwhhHxVvj1q/cLkrfdBwmKv+OeexTf7gW5w3e4PTUuovj9pkMjFVl0uJvHHdX5TOyNyxzjaArQBi3Tn6fjKGjIUiUywQFq5BZra2OFKyrxp5ahIU2tdhgQuYbOgPXU31ilY= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 37efcc98-6825-4c05-7d3a-08dbc5570ecc X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2023 03:56:30.7314 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lyEXV9wpxdqRpIgCGnLNkvoGZIdy9Prvvq7RA45aNfmDFf8OyBke/6mx+k735Xiln1iNRqyBBapTEARVK8pXlAQSUfSicAkIRu/rQwHbsIzwa6Y3pZzkHGTnjUFeDJq8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7649 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Add the inlet temperature at address 0x48, which is connected via BMC I2C8. Signed-off-by: Chanh Nguyen Reviewed-by: Joel Stanley --- arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index 88693c2b2dbe..c676172f0dbf 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -510,6 +510,11 @@ &i2c8 { status = "okay"; + temperature-sensor@48 { + compatible = "ti,tmp112"; + reg = <0x48>; + }; + gpio@77 { compatible = "nxp,pca9539"; reg = <0x77>; From patchwork Thu Oct 5 03:55:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 729822 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 8F6ED186D for ; Thu, 5 Oct 2023 03:56:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b="qxwKeer5" Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2072c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 519E01FC9; Wed, 4 Oct 2023 20:56:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sm+xbPSJUBqs8KtC4aQUToTKR9KlhqrTgZbJkS68g9e5VuhMCm95Kg0BD1zL1tQAc8LUlSeFdmzVhEu9Fjosw0UokX1b0KamFiz6tVY+OS1a2y9YrZufG3S8rK9Bu/ndlFQTwrwcY7JjHG33wzYzwjqGvExXov43+pmKIm6vmKniR1aDHCn9LfuSq/o3GSrTm9UKLT78asGdIksxEQXfstg3m8Q4qF8USEIAaRUDf8rGqrGCioGP9i9OjpzakB0PakMFgqHEy8BqOpTFz5kH2GtL5A4/QXz8Q+FmKoItvRPTAtMCPKA7mKkZ4rcINh3mhL3fwe40xYHYbaygfDAFDA== 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=i1bFe8HgBZ4oGvC85h6BomkBpGH1q/XxlN3k1A/OGew=; b=n7hT3zNwNuShjys+DFaoZ8SwOKEqKYUBLNyQJC2OLVJ0Z/QPk/IEewHGfoVDJVUjsR/+KNnOI98QgJXgH4lGVJWEivgsgE0n36ggO0vqIsfsTUpbrHYKwH0xBx8TWYqbqVa+cck3LTAtE+VLZTOVxi5MbDVAhcGlcn2N4PQnHNMXn4upGTRNKLk9rkuWJ3YT2aF1D4uaSy/RNBcjzx3WJ2c/O2NuzLl+2NlSNBOBN4VRxo+FNPO0Wf76NQ2uQC0VnIYy/AoIMzyLQrwdQzup1bc5HFnKFCNQdcP3q/PR4BrRrmcKCo2mFpBovjZlRx9Kfv2N6TTu0EUPV3nyx12KuA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i1bFe8HgBZ4oGvC85h6BomkBpGH1q/XxlN3k1A/OGew=; b=qxwKeer5tLWeCtbSLKNggmj9jBWOVJOgpf7b94qagoL+GjW0E8ad9rjbUoicO9aPQ+WqhLHUsX3Wv3Zoi0avEWUk98Xnm94v9H20dvXyE5XNXfg34F91LCyBXzqSZUxZ1Z8fiudDBDYNdntP7rStNbPBpGjtfrf/kcH+nNDshA0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) by BL1PR01MB7649.prod.exchangelabs.com (2603:10b6:208:394::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.25; Thu, 5 Oct 2023 03:56:36 +0000 Received: from DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9]) by DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9%4]) with mapi id 15.20.6838.033; Thu, 5 Oct 2023 03:56:36 +0000 From: Chanh Nguyen To: OpenBMC Maillist , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Chanh Nguyen Subject: [PATCH 6/7] ARM: dts: aspeed: mtmitchell: Remove redundant ADC configurations Date: Thu, 5 Oct 2023 10:55:24 +0700 Message-Id: <20231005035525.19036-7-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231005035525.19036-1-chanh@os.amperecomputing.com> References: <20231005035525.19036-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SGXP274CA0016.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::28) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|BL1PR01MB7649:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b36c5fb-7d47-4f64-ce22-08dbc557120e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f2iOyqU+q1l15RnI5CNUh0GvIrRumFGYip82+qx42oIoVZk3uzJ/OereqhzFREbZrRvcWXxM6kBYbSd3BkrFMhGSMy4Z9WqKFy1jWbiD2C4/y7PVJYGyHhcDJDbjeB3S5mYGDR4lNGm3QrEbLlzlIM1WrYQj4XGdVh61lVaEHu71J//pbbPQ2e5uRBub6C+gh2pLjZ5SqNfptXTatuxQtieCvwqKParweNkYrOCkZAXDKd7el94sToq9KyrQz0hhZWB1qYtTpH94FdBdXM14rUSwAALOklzxejFxSyvTVlu+gyrbIbPxW7ku7FVx4/fzev+MRZoqI8yWQiUzQvQ0Xfvdq4M+z5hxqnqccP7JvnezSaavVnJKyknFnyllNPt5YX3kwBHNPPdxFGcufyyuLuIAe3jpBCbizo+wG5AhxQ12h9M5RFH/eYo4VjGyMLpzaU4K9ztYdZE2KttMKK3qOuubaji7Aq/63GCV43dw7bBSBnb1J1S63nOTfByqRD9gM1nFtzXe+uasx8EoulFtewVjnfE5iMZ84Mf3EiT61nWT7Adfu8z00Ox160MlwnqiXyIuV3Y5DT4OhCzGZXh8bwczIzPlCMespCz6+BSmr5bQlRJAdQPsDINBi3tnX+rm8nmqACJ+C5EosFq2Al3Nsw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR01MB8010.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(39850400004)(396003)(346002)(366004)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(38350700002)(38100700002)(6666004)(478600001)(83380400001)(6512007)(921005)(6486002)(6506007)(52116002)(7416002)(86362001)(8676002)(4326008)(8936002)(5660300002)(26005)(316002)(41300700001)(66946007)(66556008)(66476007)(2906002)(110136005)(1076003)(107886003)(2616005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: z4HYJ930fdzY+BOevpcCIpAd04YORS7UYK02NMdnKy/nWkNvl980LUvJNLp7abMnKYCQBe1A2qJTyfnwRr4v+YjsWR0An3GUBhNpT0aJk3aiEwNRZgzOG9G4oooxeHuGFIYKDQxWPXYN6PULyVZoGFLmEeaPsZZE8nrrx4pacH/0yTHI2l+tVY7rxWwceNnqiVrJ78b3Ga9/PgEbSuO0zintN8WMu0+nUqI7YA5dY/uEmuSWxQTwvp/m3M6LZPcUiJ2vPYmgKB70fJi/D0mGPPomNh6HX1WZoy556q/mG5oo2WRucZNyz0TU1KBQZOjBu5n2vtOuRfKsx6NRcHi5pdrZWDu/DncefDphc1DqnbAacAIbSWrZ9MjEncRn9lX8qj1jLh2PKXHY+qy2I5CELPk3mey00eIvJ4PouNn0fm1oXkDJ5lTrPQ2QTqxhqtGqnPkQNi8fDAFrJPFxlRuvE7OjyRHaPNoIkYJ8dtk3hntaj5Zt+mYCxjhed+p8GnOsYlbJ6bOsHFwYJ1Qtmp+0fZC+4WjECAWV8OAylqBoT3cyr9uRKqSMCwfrfDGG8Htl29mNqr44F8MoQNgGDrCg3VtEe4zcmRfV5xEUzxlHMA8bZQByO9oAjkpXIn5ustJ5Eor5N5VIJ0QKz6vqiTclPXdcCkeJHSt/w5fitbdRZArNKlXkEAMgt2UMGxOLPhXmGmGsANo/tjzg7G6FYwSEWkjzfROfqBHphP5AyXtGPGQCgPirG7eeKCyrIHtSvHVqw4+m+h/pVRp7C3hII5Z2r+ppORwPdWMWg7FeFeA+gYGPMhBtfdKZ339yimA5oz71gv+9OCbfN3lOGJf0sWx5vKT42K9/YKscuit9O7ZKgDg7kZ0kQESd0iTNpPDtO2Dpu9GjQxFwBA3mAg2jxQQBzJXe66c+IafDQ1Ie0sQmuIAPySmeoaLKXDw0w/hRVm8FENWcC/b/do0GJeYGExC7fTA5TYOU1P4nFSXoCX4o2xSVHCP8LPZlDZrceYQiY13PeojU7zXmqXXfai+I7pm9758maQN3pTpHobPRR5ojqEwcb6CmZmBGbgw1tS2ciXgZjBKgO4MJXO9fN2B31I+Siyy18Wz+pMwgohXVzUsoyIt/m4PfaQMnKDwG4eFEfxrlQaQ2KcruJT1PiVxtM41twIiMfz3hNORBSqIWfufbKe9vId3j0GVTvG/Gd5/eFpK0snr+OWPyAI46uE9KQkLOx0+OrKDD4+8pDrua32IcY39koFTnJjVJQqKbX+147nWqn8zc0+EDUbSs2X5SWbw4Djj2hHh/0i13kY42sKMw85sDXCfQPwJGMvk2sJUfQ298tjCNzfX9cXwqZMcsjyL49gjYQBBIloAm5japyQy82zTjgLiKr290VIow5+MsIeZv3RsQxI/qOFYx0t6oTp42C3fhacpw8yRqLWX7+SICV+odzgFF2zRb0FXxc0ieyFc6mQ90wJvjVOdWohvJvWmt3JwGIeu4Pb5/L8A9UzHG8CEgk9ONpZgExGQZwGaRnFFOFFFAfXz1HH6mbfusFSAcG51myJQ2ou263AoIXOS/KkYx1zuHhl1ppIPk62fc15SRND1AUec8KWAsu80U96q0iJbfDUbvaKkiMPXrxSg3Dsk= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b36c5fb-7d47-4f64-ce22-08dbc557120e X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2023 03:56:36.1967 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nKaIaONV1jd5XPzdWfwgMrPjUQqyg6zlv/KS+RKsWiHJy1Y4p+KTA97hbf9iHSls1G+m0dmnwL6/avuYKvrw87z8P4tjzKKMyqUKOjbDV1jQtpQ2VIZBOMOOVpfukz8c X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7649 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Mt.Mitchell DVT and later hardware do not use adc1. It only uses adc0 with channels 0, 1 and 2. This commit removes redundant ADC configurations. Signed-off-by: Chanh Nguyen --- .../dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index c676172f0dbf..eb8d5e367276 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -564,20 +564,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default - &pinctrl_adc2_default &pinctrl_adc3_default - &pinctrl_adc4_default &pinctrl_adc5_default - &pinctrl_adc6_default &pinctrl_adc7_default>; -}; - -&adc1 { - ref_voltage = <2500>; - status = "okay"; - - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default - &pinctrl_adc10_default &pinctrl_adc11_default - &pinctrl_adc12_default &pinctrl_adc13_default - &pinctrl_adc14_default &pinctrl_adc15_default>; + &pinctrl_adc2_default>; }; &vhub { From patchwork Thu Oct 5 03:55:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 730854 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 5E8061865 for ; Thu, 5 Oct 2023 03:56:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b="BAK6BAoM" Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2070e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::70e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F9C91FD3; Wed, 4 Oct 2023 20:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IqwY4uTEL9brdAlqm/A7WGHGR9ynQTgfcS4IoK54mGrt1hWu2qbIUHtCAyix77gw7xn+JZJggYBr05jhhZTqC0Vqw/zO6jcH83/cfWU6HosGsXhYB/aPhUEay2MnMaD/VMnvNj96JLgsH1tU2azUhewWjbJw3zFcLCb7N+4CbODmk2PYfUqQ9T0mr8nWYqNf+HTT1TNi1c+7rgFpvbZiL4W311l8GI64cIO/nO+bG0yEaL1PPNGwos8Yjwh3TccI0+FS0SD3tabUQQ4m+uk4JlNEi3SggiZ1Fn+ArZQvUyOsukf6y4xugcS+mH1nctnjTL7Xso9alPyLAD2xIRnCLw== 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=ScHazmtWs1dBZVqysRXeNBkQ/bWLkqxG903XHakVtEo=; b=VjT8EaWxLeqjRd1Ta0Q2fg96ne5dYL5rz58FYV2103B7tNKbLqcmTJSAq1yGbcSXqgJZ0W0sRr5Tjq7yMVSIAsdaBRHZjrSo0fDfGwrCnkgkuUQeiGaFKshCCVyFthOaLcl91/VAJbg5LkICUIDXCpWy1RKmoOhLUlLAkV2xjkaZArPjnJy7IGaGYjwb6lvj/QXWlI1NTuaPDYUpe6vmbBcNM96GhbIj0r5897ffV+3CjEnp32/tWkKtSB+lI6PeWAQfjH3EMVtowrDvAoUTqQ3ZTJXgx3U+nNo8Hfu0z0TgAww4OmDesuUeO87wcTXTtRgwJTpW7caGPt6VUHz1Iw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ScHazmtWs1dBZVqysRXeNBkQ/bWLkqxG903XHakVtEo=; b=BAK6BAoMECXEVovnBS/UKAa/YxTphjeHNB4SXhsojcvuqmZiwMStaYWKWhpzHAl8FfROvb9QlOMqQNG0xRtsxV/ImjbEEm4Rh1LOhYAjqXwQREG5YWbcOxi/C9cQI9/Z6+oM64P6gbsHGTgeNFd+2vk/cGfHFGi6C8HK/jn44KE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) by BL1PR01MB7649.prod.exchangelabs.com (2603:10b6:208:394::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.25; Thu, 5 Oct 2023 03:56:41 +0000 Received: from DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9]) by DS0PR01MB8010.prod.exchangelabs.com ([fe80::6a3d:61d7:133b:9eb9%4]) with mapi id 15.20.6838.033; Thu, 5 Oct 2023 03:56:41 +0000 From: Chanh Nguyen To: OpenBMC Maillist , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Chanh Nguyen Subject: [PATCH 7/7] ARM: dts: aspeed: mtmitchell: Add I2C NVMe alias port Date: Thu, 5 Oct 2023 10:55:25 +0700 Message-Id: <20231005035525.19036-8-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231005035525.19036-1-chanh@os.amperecomputing.com> References: <20231005035525.19036-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SGXP274CA0016.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::28) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|BL1PR01MB7649:EE_ X-MS-Office365-Filtering-Correlation-Id: 5ba0df36-14fe-44db-a836-08dbc557155a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1ey8IaZ1owf+YerlyWMsrHiG7YLqeUJBJlpbZd/ckX1EyPC0FvgOKqBr/sqbrvj+CgFvPvFwA/Kmzcz7q8GZspIAl9KVe78O4utxnmyx5eczIOtITtw49EEDsFpAKx/1sXhIzuYf+i6aAhKXcvgTzUFe92p+6Kr2xmMbsaFVycoYbG+/YtWkan+wL7ZcIYZ3JVX/VAKsq6hxa8PUnoVKKQf0Eds2ZgfJww80AUWbnSCTFj39mF4t78vDnoaEiGgkzDjTB4hgg2nD7frwtC46KY/z2Qzxkly4UBE5WxaqCYEeEazZh+l1sBuWAI//DjOUfFHkUd8k4XIfOY1Ct5JmhwY3z9lXdF/gLWWef/QpZj+kLM9ZyIFJJJoaUL4TibPwNTWXgkCiTh11VsuELhqmXGIxmGWtJOSDgsVd7Wbg1CwlWfc8kQmG2gWeczSbFI7poZTfWkPmvEX5WnPhFVY8NHA+XokCgyqluRoEgKiUSar3gZs+xqy4mQPRA2oCTrci212YmhembutJ2z7N5KMfTn4pOEE/jHHYIKrdsgmOUy1Sc6p17N5T8IXDFyolZoRHLn0wLNtnlLdv/JCGcXDx6YnrrUCbKAQqnK+yTQbJUAF8OkQno6bF4+AkllzyFyW2 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR01MB8010.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(39850400004)(396003)(346002)(366004)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(38350700002)(38100700002)(6666004)(478600001)(6512007)(921005)(6486002)(6506007)(52116002)(7416002)(86362001)(8676002)(4326008)(8936002)(5660300002)(26005)(316002)(41300700001)(66946007)(66556008)(66476007)(2906002)(110136005)(1076003)(107886003)(2616005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: h/7v0AF9Fy+4Bp8R1wE6KbayqeACDD6KgnShhIMkYpEghLSPoHcp5zD9snDM8USiiUJR93CnVmqjFdZG4E6wreVOPvx+eA46IKPFlZ8WkkJEzGAN4wBHcw1lrb2Y2eSMukvg1rRCJR1QTUZ6ERCrP/5ujUUcWWTGbxvYZCGE3+8K59Q7mX14hxgpxhtl4ayg/cNtsSquJ/xkAjx0HjN38lWOCkLCFy8NS5JMS4NMOR8nGeljxRjaACL25l3ApLFyaD1ueJFq4QCVaTxIvcjeEOtclueOw2k51Pnr+hHfbaJ6bF/XyI/1pO24IewryS7Xxn2Pb5boplKE9xg38ttGMJ52XqGVc+Ekk1+HcYuAQQdF2XROjwRzNOooOJy6UrjyLMmm0UO9cMKacaetmaOcLj+o/ZDw4QELHKqK5AtaQLdwhP+D6UUnkBSv7lnyWpt3ztmOnQcjaRKEmWOHWHJYe3Gvx7W3PFkSX83ev6Rvcm8Eg48m9jq2LGAH74eLXm0pkvxQib6akTXqbsQVfy2CirCmtAROON1AIQDFFjutJ4LX/rS8CA0a83Ay2sAw3/oDQ8B7i8Ba0bTJdrfo9IxkWtnIq1dUnLNGCXn1ECoxqG4fgP6MgnhSek3U7ocSfem/gCV7EYtU6T7JG3jRpTDZLirPvN52OQ0xvmWY6VX5b+Mlya8GhOWdracPWydEhgQInZxNXVQmX+I03BFfvliErxuCqA+b3xBGMkRJCjjC37LRCfQBpDMwOc66JQKaTVhPk8S8BcGuJKLzVCNfNoRBN6Ku3pn4NDD0EVwE7/SkqXuXVJmFnnu1lAQWUPw+pRyQQZ4/dQlCNQKdJD9ASUv9B6xvnYT3EvHEkphTuplGBNOvgptlSepsDpjoBKC/cIm2ip1A4LS2HhB8yBj83FkP1nN1LR9YrGNnqc5t4AtBDzCQJv9hOizkfR2gzlWGwyPWEdDYMaqzyl2tyaKTNw5yL7gAadZHQq+VBmPVm29gUgTnJv7EEUO00iOqPvOggpH2vtl+/B3GJHww/KDdo1UAW54sPu/a11oq3Nt9W/O0SxKTjKanFN5JIKEOkmiFYXieWFnMzL+yiwsl+UHg4WHlccKW1rgN7P8iRWk2qrCL7rnRfP4wlIhXXmeW3m69ZiTTIrYJwhNHZBhKGThdidJek5qQWhYEYtz0uuUgnzUlHvpPowvcwcs6gXVf6XtIQobWQy82dmQoufPOifbHvuM2I1u2R+kgkWonTNJuggZ7gAvogbsa39Ldu7LRAJw0+3H0JHWWbhyyL3ObLsW+ZHZaaNdm1lwlaPivgRFloiC6H4mWqdAauYumveVBjZ2yJFhabNEyoCLjjJHgD5NZrWrZOjIVWQDeaU99p9d8T8U5XFICaI+Wo/qWY8nsOrXYMBkIdno9dUKXo42bZVhDWRdmWMNY1aPlBwBTCvmTo2vBOotNXO8TqriXlFd3ihok/SUIxPqiME1zXiYbKxEYwp+IFPfkHHOsPwjYC4RuDCLUpmlvq8EOTTcVh2jJV00aw5oQCl7tCf8TkUN6ckO7EdzQIgYskyTXe29mPEeKQjombxGgmm4HyPVeW4q0f8+eVmCYw0OEYTJSxum0RHYD6NQRpC9HsDh9idJeNyyYYnwRZpA= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ba0df36-14fe-44db-a836-08dbc557155a X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2023 03:56:41.6890 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YM3Nc8A7B4QrvzifuJW+oBBGpH1hynDt8P67kAlzcBT/DPOiOuZkP49EZn6OHnUFNUL5dG+d9zWqBUKV6dr9duKR12MU9WukaOw7+0YY5pLheTZ+bwkz99G5OQYvAYA+ X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7649 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Adds the I2C alias ports to each NVMe drive via the backplane card. Besides that, it also adds the eeprom and temperature sensor on the backplane card. Signed-off-by: Chanh Nguyen Reviewed-by: Joel Stanley --- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 267 ++++++++++++++++++ 1 file changed, 267 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index eb8d5e367276..1f70e3e4e83b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -14,6 +14,42 @@ aliases { serial7 = &uart8; serial8 = &uart9; + + /* + * I2C NVMe alias port + */ + i2c100 = &backplane_0; + i2c48 = &nvmeslot_0; + i2c49 = &nvmeslot_1; + i2c50 = &nvmeslot_2; + i2c51 = &nvmeslot_3; + i2c52 = &nvmeslot_4; + i2c53 = &nvmeslot_5; + i2c54 = &nvmeslot_6; + i2c55 = &nvmeslot_7; + + i2c101 = &backplane_1; + i2c56 = &nvmeslot_8; + i2c57 = &nvmeslot_9; + i2c58 = &nvmeslot_10; + i2c59 = &nvmeslot_11; + i2c60 = &nvmeslot_12; + i2c61 = &nvmeslot_13; + i2c62 = &nvmeslot_14; + i2c63 = &nvmeslot_15; + + i2c102 = &backplane_2; + i2c64 = &nvmeslot_16; + i2c65 = &nvmeslot_17; + i2c66 = &nvmeslot_18; + i2c67 = &nvmeslot_19; + i2c68 = &nvmeslot_20; + i2c69 = &nvmeslot_21; + i2c70 = &nvmeslot_22; + i2c71 = &nvmeslot_23; + + i2c80 = &nvme_m2_0; + i2c81 = &nvme_m2_1; }; chosen { @@ -534,6 +570,237 @@ &i2c9 { status = "okay"; + i2c-mux@70 { + compatible = "nxp,pca9548"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x70>; + i2c-mux-idle-disconnect; + + backplane_1: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + pagesize = <32>; + }; + + i2c-mux@71 { + compatible = "nxp,pca9548"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x71>; + i2c-mux-idle-disconnect; + + nvmeslot_8: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + }; + nvmeslot_9: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + }; + nvmeslot_10: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + }; + nvmeslot_11: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + }; + nvmeslot_12: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4>; + }; + nvmeslot_13: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x5>; + }; + nvmeslot_14: i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x6>; + }; + nvmeslot_15: i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x7>; + }; + }; + + tmp432@4c { + compatible = "ti,tmp75"; + reg = <0x4c>; + }; + }; + + backplane_2: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + pagesize = <32>; + }; + + i2c-mux@71 { + compatible = "nxp,pca9548"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x71>; + i2c-mux-idle-disconnect; + + nvmeslot_16: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + }; + nvmeslot_17: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + }; + nvmeslot_18: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + }; + nvmeslot_19: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + }; + nvmeslot_20: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4>; + }; + nvmeslot_21: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x5>; + }; + nvmeslot_22: i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x6>; + }; + nvmeslot_23: i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x7>; + }; + }; + + tmp432@4c { + compatible = "ti,tmp75"; + reg = <0x4c>; + }; + }; + + backplane_0: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4>; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + pagesize = <32>; + }; + + i2c-mux@71 { + compatible = "nxp,pca9548"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x71>; + i2c-mux-idle-disconnect; + + nvmeslot_0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + }; + nvmeslot_1: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + }; + nvmeslot_2: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + }; + nvmeslot_3: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + }; + nvmeslot_4: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4>; + }; + nvmeslot_5: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x5>; + }; + nvmeslot_6: i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x6>; + }; + nvmeslot_7: i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x7>; + }; + }; + + tmp432@4c { + compatible = "ti,tmp75"; + reg = <0x4c>; + }; + }; + + i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x7>; + + i2c-mux@71 { + compatible = "nxp,pca9546"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x71>; + i2c-mux-idle-disconnect; + + nvme_m2_0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + }; + + nvme_m2_1: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + }; + }; + }; + }; }; &i2c11 {