From patchwork Tue Aug 6 07:18:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13754493 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BCF53C3DA64 for ; Tue, 6 Aug 2024 07:20:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=IybX/xWZctyuJQSm4ttyCDf0Qo3/yZxSsRESn2e071Y=; b=ZrAFQUwng4+mbVd2QQwHcXMQ88 OOdUfgBaqoArou1R0kF+2vIzHBs5xwfkCjfUkUBoghQKhbpMCgP7hkMZOC4V0qTQwDO9sCYkpu0Sf zKTrUN+SxX9PWIZ6mMkg4yUuaQreNiMg6ZumCJkE9C0XzT+MZ4V0UIYA1PFUFCAuPI0hl+8sBMq64 yA99tR6QGwKb0701/5sztNjPAhg4PmKg8D2R4//AFGAxfJL+qM81hP7cXkdOmu2ZtNMDM95x0nQb0 nWUjVJr3eo+T+QO8BDKcFz9/8nS2eh3S6uhainmEZY2m8YY0CHIk2pUp8zsIcIbUo5M9K/Ma94sed X2/E2JWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbEU7-00000000lKv-0AvL; Tue, 06 Aug 2024 07:19:55 +0000 Received: from mail-westusazlp170100001.outbound.protection.outlook.com ([2a01:111:f403:c000::1] helo=BYAPR05CU005.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbET6-00000000l2l-0ZVT for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2024 07:18:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=MAs7fNWLJ9WmNYovujCgwwPBG3UbVSUgtsSZkCLocWX1kscAgsHbm4+oA3E2l5xA0qfMHT0DvMUOaiFN1IfgQKlpOZfQN79T17J8Ane5VX97WK2J6I1r4WlE92N0iG8pE5VsxVuIjz1Hbgz4wtIWig2pvtbsmhMuGPwkEveDrAZoicLhUWyQj7UTSIUpaDs1nS3G/WkUqEyN5cXZqGyEJek0sBEpW0kanBvs79Qr3f3UV+gv0nFH++AOqf6BpoTKdJ+Yo2GTuSf4mJSEzIAjBO6ncaL4XEUQyvjLAt2/9qABqQmhtHtR0k9AhHn/FiMOrD5YLUsaLLBk9+l53eulFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=IybX/xWZctyuJQSm4ttyCDf0Qo3/yZxSsRESn2e071Y=; b=nqloVIgwP6lqWit+7SWx5FvmiBxfCx7iBW/2wezLTKH3M/17rlD0W0rkSWO3bElNd6tZDaxRrjjvToe4mygS6OV4h5CXielDfbLbxSKDyvV6AAVyqHt4u2/aYS4/lu3ozbMbr00ZXVJsUklvsLt7B3g5nHVbFkQczjQZ0x3D9JSlKWY2sUP78G9j+EsZwl1OKzYJzLAIao3zS5x20B63XT6BPa//ac1bsLhUwmoAB5REoool6UU2+NPdyxZWXxcaJl0C2oHkLIq9e6tdibEGlSRGdMD17CcFpCbDvTBmpPFhcmmHJ4f4QjnT2XDjBJVQUzwBaXbqGCMBeVMeyw+cyw== 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=IybX/xWZctyuJQSm4ttyCDf0Qo3/yZxSsRESn2e071Y=; b=hpPSFCJ9eUUzoZ069lGNja2KZadA3ndOZc+haM194mBAhTdKk5MBcsI1n1byMBe+BwLeqI+JWJTD+yqljlIWHUHiG2x4nM+WHBFTz2mg6gXOwarMgamfC0xfA/orL9tYQdjpREDvngRay3JTyIbRSke3yCNddHe4oQNmNk9fGGs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by BL1PR01MB7770.prod.exchangelabs.com (2603:10b6:208:399::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.25; Tue, 6 Aug 2024 07:18:49 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7828.023; Tue, 6 Aug 2024 07:18:49 +0000 From: Chanh Nguyen To: 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, OpenBMC Maillist , Open Source Submission Cc: Phong Vo , Thang Nguyen , Quan Nguyen , Chanh Nguyen Subject: [PATCH v2 1/5] ARM: dts: aspeed: mtjade, mtmitchell: Add OCP temperature sensors Date: Tue, 6 Aug 2024 07:18:02 +0000 Message-ID: <20240806071806.1666550-2-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240806071806.1666550-1-chanh@os.amperecomputing.com> References: <20240806071806.1666550-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SG2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::13) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|BL1PR01MB7770:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b60d184-1fe0-4afb-fe93-08dcb5e80436 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: mqeODwpPKx9ZLRGSSudhl+2mMwW/fRugA0CyPzpyjfofrkFRW9YzPlGXdOsNUcYOovBjz92sIxFp9P0gUXgRJxCaSKzhD7CClfy+mHoDFJs4FEXVug3J5ymXycnCGDbByFPUggeVzutEfOLYfayzQoUh5O2y9P5cif4WV/PDz6Kkpm8wmRPU9l39c1BIXHiwvAijvwGVXKwY+79Nq8bAIeaMLvC7nMkItkEv00z3s+hBhS2xcyoUzXnrJkcIM/UGXgogAqKa3NeowQWZbP2CzrgjbB6Z4/KJr7Xqk4q+CbCrkHVhKsNpnTaee4z02qYaGAUVtoh4TsnUtPp1ZlyQv1RToxUCsTqQUJygEpTAzckG2BEDGHUgrDozgpmP9UguNg5fEt2Y9sth7YD9RLjkqAjx98cBMtm6G58lxDxb8Y9YPxnILFW1sky0Mfvt/TVZBL6iqYy7ZWZarOh3OYXdvf0zCOi9hs/kKP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NONE;SFS:(13230040)(366016)(1800799024)(7416014)(376014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IFChm4zb9oMkfFxx/mx9Dez7LLxgLC4SWYGW+M+ijwvvkxexY7w2dE+qmrqhwij20FtgrJ2BvHx/od+R8t7Yx613p/ltWKd0+wuCqG1xPQtu8NB3s3ANIeEo2X8eXrBxd2gwXCM/27nVq73vKKh9VLB/BZPaoFjbLbGRc0p9mexTgcoS7/kQC1/NMKwFKYhxszZMfE7sooo04zb7oIgH3MjKJc9kjEWrPqSND1NMdZZRylRER5dBzc8iEbLRTncbKs5z6nbyHNDRXSgVY7KXdQmNAq9mfCu7N1pOUUuyJYfZfLhBUFB5cnwty8ePpVoHzgNH/UPc2aMt8z8w6DQ9fLG0upecB3bDrxcAK5cYHAXHHKkkG50y8ag5UuUq9j51gJDHxT+uO+tnpoyYFvKu1K64zwX93xUnswwyTm03ibl7mDXey47PqfBXbPkqWJrsJh1C8Im15mhJG23TXl5+JfU1JAt1XvDUDbmMOPLZZcKBHrSFvM91TiNOFeYHHXiMJpSTUeuPKzW57iIvXlB564gu27o1OyB68PLbo2H+5mZDoO4BS43c56qHm8+5i0N8DpaTuSn68Zrt89DXmtOaUkxmVfcKjGZPnxCeHQzI2XnZqA7WyeEiFq8rpLmRp4UYs0fqcjNFqUrbnkP67MmNlGdK2EDzlGJHygYfhtVNay60sFSYNCk5wtNr+3SXpa6HSiSfiaMwVckhmVtU4KUJfxRPnhcyq877SqBjctF0VhIK/G6ElYWKmCpxRlsApAFirF9c6aos+Rqz2p4JfMxcnhoMZ+8+M/05gSwK7Bghlg3Sn2pBqTKAGFZR+zG2Vs5C6OlCmf+evElRu415qT3ajVhWEbk6rKe9IpHYBrfdQ6fba09o6KCOvjN8kIEzK++8a8eJ9R2mT7PzCE5iUwQzw1rsZ+KYuBiA/QWmhDRvNHhWr0F/aHyh0Q66XChd6SmnRfSS4F/ndRa4vzvZKTces0+L508xN8Nu+u+m0olbIG81YFDZUFMPcTb7Jj3IwpEO3qbuI8x02+3sU5qbGCnBIF/u8JXrgPY6AcRPtEgQCr7UKXKuCfAflXCb2M1sjwDB285C4bW7xP2Ld4CbJDIiKB5aySDjMickrvtYVi2VVV8XVEgjg43/8RqUhTVVawJL9rz7rVJ4xNXLTs2Adrnr4IeL2q/vi1DTGBTMYOYWyyocZZqb7P/kzw8JFtmRg4cz/Hfu28Jgb+PghA41T8FpsJCA5TYUqCHM5Qfodim0LVvSqSOsucCOzQZH7dVgoby3fDRUVUBfAKoZIs1YM4H7rATDbyfbGr9JXmrSdOnbP7vhXWPAPEMXGiDbEkJQb5M8U8jV8c7fNhFkoTF60OdxvPoGsHUJ3OeBkFaLRUEGeST+jvek0q5noR9XqQJGkNhDlDoeo7YBq8C6/OypnWKoG/17CpX1o5pTLzdUO/w9BbREtEFLwMw/AapVZs0DK4MYqrPIMoMXYJe4gXXp5FhRPF2WDYMGELMC+RRqqtWh7z6BN/0Ygpypc1giC/fc9UtxS2Ocvv8h/XkRjz1v1rmn3b9KwQQoSXYfHckogVSGiGRK2S3g1hLTC0F8cXsldrHFdxK69o1g97nhtQKHVHULhiqfULrI7JAxkwQjjb8qRqU= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b60d184-1fe0-4afb-fe93-08dcb5e80436 X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 07:18:49.1313 (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: PospGRv1+sxRw4bGMR46V4R/aPZSfVJ7bCkwAJSGd/l8ea/pwIJYWlEnykMHC/De1Z4LhRzZLFP2sVDXF+3XudA+U7XDw3DvJzdSunJklBEJ8bzJYdydptDlhvMWVj2V X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_001852_202319_325FF6D0 X-CRM114-Status: GOOD ( 10.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Define I2C alias ports from I2C Switch 0x70 at BMC I2C5. Add the tmp421 sensors via the I2C alias ports as OCP device temperature sensors. Signed-off-by: Chanh Nguyen --- Changes in v2: - None --- .../dts/aspeed/aspeed-bmc-ampere-mtjade.dts | 16 +++++++++++ .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 28 +++++++++++++++++++ 2 files changed, 44 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 8ab5f301f926..8102f41d1d15 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts @@ -49,6 +49,11 @@ aliases { */ i2c80 = &nvme_m2_0; i2c81 = &nvme_m2_1; + + /* + * i2c bus 82 assigned to OCP slot + */ + i2c82 = &ocpslot; }; chosen { @@ -420,6 +425,17 @@ i2c-mux@70 { reg = <0x70>; i2c-mux-idle-disconnect; + ocpslot: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + + ocpslot_temp: temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + nvmeslot_0_7: i2c@3 { #address-cells = <1>; #size-cells = <0>; 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 3c8925034a8c..3a97e88278d5 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -15,6 +15,12 @@ aliases { serial7 = &uart8; serial8 = &uart9; + /* + * i2c bus 30-31 assigned to OCP slot 0-1 + */ + i2c30 = &ocpslot_0; + i2c31 = &ocpslot_1; + /* * I2C NVMe alias port */ @@ -515,6 +521,28 @@ i2c-mux@70 { #size-cells = <0>; reg = <0x70>; i2c-mux-idle-disconnect; + + ocpslot_0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + + ocpslot_0_temp: temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + ocpslot_1: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + + ocpslot_1_temp: temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; }; }; From patchwork Tue Aug 6 07:18:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13754494 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6AD9DC3DA64 for ; Tue, 6 Aug 2024 07:20:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=A+fkwb7tH7+dJqAFoJPtx64QruRrhcUH6ktYyYlCc+Q=; b=yz0/5ZYiZn8yn81KyDaNIGzwDv jyR3owXwMZ4+2Uri99Qs1tWm3/acUcKzmHyUkeDDDX+8niE8tkTR+DkoopqNIq58xNRzwomSNG/Ro Nv2PYHxKiAYU3QUFVNp4LxFqWoMNQjLsO4uAnLgD+6+WGvUEmWVxpXsCZxZ+nQf+7b0LE9LSkEsaA v0mk6WqPn+t3F4di2xjQqlo32n2BIAkEQ2etLcZbrNt88jjmd6KhW12tIkzwpaS8xxJliZNegCvnP z0Ya8BtPbaQOGJ3fb8Rv9a/5O5Bma23rZsEEGd4IuREcG4nLWtKD5NdCC6TG8UgukkREJpsb9JabH dOqAKr8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbEUb-00000000lWV-3MLe; Tue, 06 Aug 2024 07:20:25 +0000 Received: from mail-westusazlp170120002.outbound.protection.outlook.com ([2a01:111:f403:c001::2] helo=SJ2PR03CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbETG-00000000l4c-10zJ for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2024 07:19:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rAVcts2Qyj1OZvFJbtYxIS08exBr4IYJC1cXcwsPmeXjsdjOP8mIm9JnvoEu4dVv3p0k4DoGde+QpbdChgj6AuiqvFkI6rjjmu1Qu9Z0IDtNL2QueE7qTTM3D1kcFg/ajXyBewKRgWc1g+wZe56fBYoPkmpihmpd1FqVUpxzxuBLs13Jg4eQX2o26N5YJQZurOsMogg9sR4eW5h9DdDLEIo+VZZM6Ch3CaQds66nF4hDn8KPjPr8LcxdWZ13yhcXQLb4sCsV035ceLgSJnosJ5iFiD3dDhL4s34upLpunE3uMY7QYDvYUrT3uONit83V4WvV1K6Sdx5hiJ05jp/y5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=A+fkwb7tH7+dJqAFoJPtx64QruRrhcUH6ktYyYlCc+Q=; b=utx3GkXKaHTwSTxWs6uENKcZEsbIxDuwH7lIgrsq0iafO/ES07hQs3oobUDNTxSNr0k1G0SANkdiTMSuEkdZaQ+gBkP4jwtd1pe03x69YRahDfC8+RRzjjaaIqtfSu2UjwKyNhBmK8Gt0eTVKwDIa25I5Mevp7Z9/tKN0uCwehcFGDVmFDfwQ3bhadI+k3Cbfex4kHWxCH3ysmk3K58wubfTNSWRIsUA6mr4LNC6MWPyxfC6rjX2x+2LkwW88CRqVltML4ysNA/lqK1TxxGJoS6jRauGLegoasITrnMJfhPyNTTA2buTTuEQ2YoVp9PsF4x9AKehceWtFyquh0jfbw== 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=A+fkwb7tH7+dJqAFoJPtx64QruRrhcUH6ktYyYlCc+Q=; b=dwTdc/FHDv408MU4PtiZgjOohD6gluOaN8h86zSizOKEoSgKRu2dnSWrAMDPoA+7+3KSY/ni7ctkFMLeTJpS9e9CcbGFMbhv50JOkgKxPd+Y3bp20K+h98+in5Eb1p7euiEtfuitnyBNCnPs0cbZLcaQa8cTA1wlmzqoqWbmDRM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by BL1PR01MB7770.prod.exchangelabs.com (2603:10b6:208:399::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.25; Tue, 6 Aug 2024 07:18:55 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7828.023; Tue, 6 Aug 2024 07:18:55 +0000 From: Chanh Nguyen To: 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, OpenBMC Maillist , Open Source Submission Cc: Phong Vo , Thang Nguyen , Quan Nguyen , Chanh Nguyen Subject: [PATCH v2 2/5] ARM: dts: aspeed: mtmitchell: Add I2C temperature sensor alias ports Date: Tue, 6 Aug 2024 07:18:03 +0000 Message-ID: <20240806071806.1666550-3-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240806071806.1666550-1-chanh@os.amperecomputing.com> References: <20240806071806.1666550-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SG2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::13) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|BL1PR01MB7770:EE_ X-MS-Office365-Filtering-Correlation-Id: d20803c5-72c5-475b-bfa1-08dcb5e80802 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: SVssY+eoUD+8hXCiBCc2GOqirfxrR9QYxG1kS8AI5b7n9hxqB1fcuuUQ08L23HgI7goDiMnEJlu68zSuWLDB++KV6KXhXODJnR1PIw2zt5RzRmemAW/T5ZChdSZviwysUOpurVcuccrqJDIwQ569hDFaryQJt4mscSqB4tSHmngouA7y1sH5APIjOdJzcQd/pspjL/woe8rAj79EY4CCd9f6aE09h6rxVYuJ9LC085vSxkLl8Zy5mkoLz4WzUFfqLXB7xGj+0aO0SSQSiYj7fEhjtFKuPlBbArOiaMPhAgjvwiq3g9RdD0BRQEnFO7VkCOE23fzwQjhHkl5xrbmFprl63KzY/2DB9sSwEHSZTYEfVmhTZYKhWiTM/UWcEqFlqIiRGVUKH58OEiO3YFcFJ/iDQ1dplDU0yWH5yPIyPe44to5jlIowMMTtrD66D3z/lVY9FVinbfOYeYh5LYu+3JdWlZ3VhdDPBh7xtAx3ACGms4R2ZGCRyTDyLiKgHY9u9AKzG1hRHDr2JhhwrUbpceiRAH0AdPFRHPyUWHhaJJS++wkjF6EbB5nT//Jvw0KvM2uA4xRD2whW6WuPDQQVqunPQuHTr6+eEdVUzZPiz2O97gvKe6swHSbIWeusKNNqdGhjHnY7nCJhXRfPQwoS321uOW0NbEpmD4MM/BS2lOGcWgMj3lYR3azrMbTbD3JGtftDY6RZ0NMeONYW43L4Wap0b3TUmqJkkbqdRHghPvuXzVScrvARqdIWpp9zIEtWqTM0TuSg4jXXh8fRbF3ovO/70SEGwuu8SZSa80jfQ6CBRmlIGjt1NQFSda0/LjkYtyi6KZmh4rIBwG+9fQpTN7fPIoYjZJS1pZ1ebhwTFH66z/2XUNU3ImXL8JxpNXk/3CBLAWCfU7gHBNuAHyaiLHnpSy6cUF/2CTezkhKkRCdZ153fjtwUKkk3VCb1S5zmprJ82aDjoDxq0b2DEz6qJosYG7mBwHSErLTdmeDEBu64UfzRcaO7l4I4a+RxWf8dkXW0IU6wUG6PIpjC42tq2Z4jYfwMUboz1hLu6pl3WvkrM3Db0T+cDeuiGa2kkKrshPdjYs5pHJS/06hZ44oea5CNcZy086GOZ4Qcy3rBG+p8nT0rs1mILoycMEuue2fQ6qWydvlws2fITLLBacZfOlNcLmaKGf4OKtCt5rlqapilL8TcFrHdkOZvAdB5DylK2rePK+K4cvUFVZYpTYxBpgdHFESepYTz55Z2skBNv0uYGtohIz4k8+8OqNT4OyxddX6aVScSsd2HCwd4LtsWrS5HthxwXxwW9ghRZ+HjZsIiUVkMcNiTd/hdLYSZakUiUvVlga1K8k44B+mCWfb7BnvrmDpjSEcy22jtMGek6xyPqJURB0VtX0ZFW7eMQqa8i57E2I8q7xtfTfvur0CBI+T6AcdxYIslCW1sEnQoJ58= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(7416014)(376014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NYWW5Hya38pKhf8IouwHDsH78ClJ6NDHhkO09di7EQKhLC2hEtf2JixMN1PxXWYAQu8lar3rGKGWP2KVZ8yMqJgHdSDWiAnfTFBVunxgbb0nxCuVn22hkR2MCaW6VPsc++D2I6ZRxEmxXpCwX/DLoJsH+fETmCYnz2wZ7C2GMrxooSYnLlH7CKAXpfMcIK8pkgnFn7BJe69MTeivaCoHxXRaH0un2AG4H/KRxgRMFzgPe+C1XU4BkFwWBYYQrBMrLRkofcectLFVKeGxzskptR9cAHwZYisrOKMhR3VNTNavJjJUkVfzVdbr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V30CL5godTKnx1NoT0G3A2H5FwYy1Q+dfszXxBtmr5o4AqvPKqXBx9Yn0LUsHa0K7lptZ4uEY4WktDd7ct3tHv43S6GXQyKTeXEOl+bkd8TLBRZgCYdx1M5YuuVuCtim3v+k/mbkt4bfpwLgTtotHZolRt3Uu0tUIEavBQmZtRC9OeS/N6/etCUOvjpAfiRh8qd0XQ+Omuzn75XSUTZG6h11AX+zJUXRsDkeY= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: d20803c5-72c5-475b-bfa1-08dcb5e80802 X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 07:18:55.5311 (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: bhfxIB3AuTwezP4Itd7yS8oRe2aVARQryFtJOfEsGVuSpsjRRznnRnCEiZxG/owtDG9dw3wzix+uDcN9ENv/2gTpzsi1YEcKZLGlwpntfNb8JcYIgz8X1BzGmxaBInv6 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_001902_305458_C2CC7D35 X-CRM114-Status: UNSURE ( 9.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the I2C alias ports to read temperature sensors via channels of the I2C muxes. Signed-off-by: Chanh Nguyen --- Changes in v2: - None --- arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts | 8 ++++++++ 1 file changed, 8 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 3a97e88278d5..1679911e4fd8 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -15,6 +15,14 @@ aliases { serial7 = &uart8; serial8 = &uart9; + /* + * I2C temperature alias port + */ + i2c20 = &i2c4_bus70_chn0; + i2c21 = &i2c4_bus70_chn1; + i2c22 = &i2c4_bus70_chn2; + i2c23 = &i2c4_bus70_chn3; + /* * i2c bus 30-31 assigned to OCP slot 0-1 */ From patchwork Tue Aug 6 07:18:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13754495 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 24426C52D70 for ; Tue, 6 Aug 2024 07:21:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CRZKqcl1toruNPDzCU8GLaE4ll72KY0ZpUOmMmsJ6+4=; b=x4UPsq+B8JGSSPdGdK85dcLs5r Ci1EuWZx6sec39YaeJIyhQEBtQXskOzU9tlTdf2OENIWAgC9lEtb4Ck0Qs66Urq7y1wFVLSMcWx8y Ja/Nq+skv5O/besEaJglJqtQSbGttMxQ59YUjH1TFBbZFSTqE4ldN8sN9Drjhr21NkT9Byw/vv1Kl jyJ7Yh6hTHtX7vJ4Nv6lkbIRr2vTewI2EL7RNtQPuicckiCxNxLmd1rvs6MkhW4nq+WZ/52miy4hf QWpDxb8CueKaIdr2g7sBEptuCXt3Yhfl0WGH0goTLa1CpMroSL9scMKGEhtL1ezufvHOucwvoqkxK ryo2+OXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbEV7-00000000ljM-0561; Tue, 06 Aug 2024 07:20:57 +0000 Received: from mail-westusazlp170120002.outbound.protection.outlook.com ([2a01:111:f403:c001::2] helo=SJ2PR03CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbETH-00000000l4c-2z4z for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2024 07:19:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=BOVbBBuoAbTxonCzml6IR2JFiH3ZjKXY52IiUFVrwdFZzvlBnoGey9LadOtmvSTYS0NCfMprn6mZsK6sMtbOYuqbCgOERoY/BIKl+pAtqny5JYLNBWMTboLQRaE44A/eKyBUNwj3RXuX/hBgsw5w5qiiqtP+Fg/VxQgsZwXcMkyPt+IJVl8GbzVvopsKUPlZRb18o3EaFs53M4X6MfvR1LwfubnzO5KMllp7UJ8sO/f7nhZLBAp28uACS/l6dL6euXCFXyi3KjEGCsuOC55eKsq1Y5ThhTtJO/nqTbCY2N88THquw3uSr1eENsVQMXkb/GJdyuM9MgdfZnTCiOMEBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=CRZKqcl1toruNPDzCU8GLaE4ll72KY0ZpUOmMmsJ6+4=; b=jDU80OqRWsPx8rJP2Ccz2UTTWrBKD2iqA/4wf8hQ1mx7qV9+NmAmvVHvm/42Hv976nDXTyM+ZIlA7W+i6wsyIeeK1Z0FrhpTff0PENfLRx/IuXfAm7LD14cKyZr9FDv9MCUE7ilpby2OhHWim+6nf6OxRyhk2xYpd/1Yhmxli2EdbqL0N30lyngf7yPvAJCtUgbeOMYmY+CNo37R9BpMak0x51Qms64QQrxPpCskGL5fKvahBeJluIXV5ZHE0QzEP8/oX67jkkkXEgBmKXdlgpojXbzUS4V6eQdMnDG074hUCbsgQpBXWwJnPbOFj146A9D5+e4zxj7s4nKeclGReA== 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=CRZKqcl1toruNPDzCU8GLaE4ll72KY0ZpUOmMmsJ6+4=; b=mxJG9NS7y5bIy0OgVhhXVtCbWhcFidIpxr97mwoq9teZLk66cabYaPh4LYJS5aV+7O9BDUDwTxdh55JyoLOH9+RsJOkeI/wBechMBVzWkPDl53fjw1lHHU13KYApC89W+088OkVONwIYMlCQN51jetQ5g2fr2ui4CHCkz/6jFmg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by BL1PR01MB7770.prod.exchangelabs.com (2603:10b6:208:399::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.25; Tue, 6 Aug 2024 07:19:01 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7828.023; Tue, 6 Aug 2024 07:19:01 +0000 From: Chanh Nguyen To: 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, OpenBMC Maillist , Open Source Submission Cc: Phong Vo , Thang Nguyen , Quan Nguyen , Chanh Nguyen Subject: [PATCH v2 3/5] ARM: dts: aspeed: mtmitchell: Add Riser cards Date: Tue, 6 Aug 2024 07:18:04 +0000 Message-ID: <20240806071806.1666550-4-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240806071806.1666550-1-chanh@os.amperecomputing.com> References: <20240806071806.1666550-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SG2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::13) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|BL1PR01MB7770:EE_ X-MS-Office365-Filtering-Correlation-Id: 1dad33e6-59a2-4712-9c74-08dcb5e80b96 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: 0VZhBFLJmcUXy8y7Omwz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6l/t1uheVrJgrDDmC6lqGxfrsutXu9jwfLHcf6VFiHooI2iAu70GOSYUS/WPt7CbiBnggyDtnQNlKDRL5LP1QGqpzWDFLlTTXrSlRKexrhdsczaKtyiaw1pA72oBQMeCeOo46i5b8SLiPnB2254B3CEe9TXjyLD4nxTRYs3O+ZfbH1aZOE/AwFdvYrC0TSBciny4b5AWG1zzzL1K12+1rHdtpksAR8EkVIoTRqhGdgUXix8CtMxVGA6OhireUG//eKicLjgGY2M3+LBT3cvnxzknvU/eobMH3e25ViOOwLSw3DNFhoQYQh3qRmDUY7mHG8bc016qLH7cAqPoT/aNXor0MKc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(7416014)(376014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5hwM8lUWPahjpuxD128xhfulOVdknEa8AgovOb4w9NoaKnXHNDPGqtOgImrfSlNCwCjY4jbnRjkTysvgQvJ+A6AaXbWgfvyFJVBnnw9s3DHDjKxiN14O1fMnB9ot0qvN2Ggm6JHmn1f/WCOjTOQgRobhm+nBRv8tAVE3n2fn0KNoCkH+k4qgHNLj7vgQcIVKbBOZdWQGTdS2Nmtv2EE2noSNIy6hTHUser8k/lFuRz/gr1fd/k3WqlblDbnA2l7ClNhKTprJE2+lmumMbkO/CB2XexRBQoRiC9BtfnA0njBZC11QGYhHEAUIm0Nsuxx+LClXPhJJM/HbAD2Bj1snfv6CrLg+zyUG/us789QN9PoJkYKsiB1UCJQfiq38fj90mqsNcKCfNhyvxg/OjDY/EN3xzPDPal7K5k3XqeugWaTU/95V77jQ2KeN8aYQgQueL63oFcdBUEGEHHt9orEZ6+fblN5GTnNtGb9u5rTRsei9tLif3veFF+V3qcpXcnR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ZaFH47uPbMklFTXnqYsfSqBLSyS2evVItOl49CiG+0dGjAN/mrvTcRMokA60Tw= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1dad33e6-59a2-4712-9c74-08dcb5e80b96 X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 07:19:01.4676 (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: Kf2FX9iVLjkY3VGxFqt00z3Ubf+QVqCx3+abJZ/z9oe1uaAWRRBUFuamt+Pfgt3J/gOSNqkvrZY3Zrzn4G++a3/3KpZL7TzDhH4QOA9WCGTCs0aPya7rWbk0kJ8CuT0F X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_001903_919279_5E901244 X-CRM114-Status: GOOD ( 10.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Define the I2C alias ports for the riser cards. Add the i2c muxes to switch to the i2c alias ports and the eeprom nodes to read the FRU contents on riser cards. Signed-off-by: Chanh Nguyen --- Changes in v2: - Add eeprom nodes to the riser cards and update commit message [Chanh] --- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 64 +++++++++++++++++++ 1 file changed, 64 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 1679911e4fd8..4d2f6e5348ce 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -29,6 +29,18 @@ aliases { i2c30 = &ocpslot_0; i2c31 = &ocpslot_1; + /* + * i2c bus 32-33 assigned to Riser slot 0-1 + */ + i2c32 = &i2c_riser0; + i2c33 = &i2c_riser1; + + /* + * i2c bus 38-39 assigned to FRU on Riser slot 0-1 + */ + i2c38 = &i2c_riser0_chn_0; + i2c39 = &i2c_riser1_chn_0; + /* * I2C NVMe alias port */ @@ -551,6 +563,58 @@ ocpslot_1_temp: temperature-sensor@1f { reg = <0x1f>; }; }; + + i2c_riser0: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + + i2c-mux@72 { + compatible = "nxp,pca9546"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x72>; + i2c-mux-idle-disconnect; + + i2c_riser0_chn_0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + + eeprom@50 { + compatible = "atmel,24c02"; + reg = <0x50>; + pagesize = <16>; + }; + }; + }; + }; + + i2c_riser1: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + + i2c-mux@72 { + compatible = "nxp,pca9546"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x72>; + i2c-mux-idle-disconnect; + + i2c_riser1_chn_0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + + eeprom@50 { + compatible = "atmel,24c02"; + reg = <0x50>; + pagesize = <16>; + }; + }; + }; + }; }; }; From patchwork Tue Aug 6 07:18:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13754496 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4B585C3DA64 for ; Tue, 6 Aug 2024 07:21:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ACeujd4hVsAXohzRwGgsWDFhkxGWEIWPCVCXbd8fTso=; b=k7O0NksKY8/II59D/AKWwj+x0F /RSM1hnufut7F2pf1URq2Lj73m45JJPSPXVoXW2mahT4KyQFQIClhiwTpPpATJ4rXNRn4/UNk6JRq uz+kLJl41LW6/+xHu/zVQd2mYuAduty62wx35W+q+EVHudcUEj0OErksA0yfaN9l/T5TJ67njPaxA POUtZlxx4T7NW2f9OU9KeNeGVV7VfJFtKMmWBFRKCkRv6ZHuYv15yHQjL9Fk+e1klcfHzgrTfIV5o aVqWwmR6HEOqFfpftXP7epU1tPg4yAR8bjLpwSg+hGtLjeKwE9A0RDESZxy9LZFRi19sg90Afcdfi v2D5kr+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbEVc-00000000lvA-3dlZ; Tue, 06 Aug 2024 07:21:28 +0000 Received: from mail-westusazlp170100001.outbound.protection.outlook.com ([2a01:111:f403:c000::1] helo=BYAPR05CU005.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbETN-00000000l96-29J3 for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2024 07:19:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nA9dDy3TXEiNrmhON9JBw0P+FJj9IQjBCLUNJ08MT0MHI4oRJ1s5bDKnSNkgUac11dxgIO4XV613KiXs0Q128YteuJAlWO/htpk7inysGx+drvYqCAHQ+lY06a/0yWmW1fttAbe6KQ76K11wGUe8jkA+vXXTsjVREtJi6zMj4FF76iTf7EWuJ4cYE81DnGxUYyA69MmrpM0VJyaCUIDBkxbaYE+I3UqZB77Srsm9RuxOdR0WAcZBo2tiZcec6T3Y51eIdSwNd1kcbsUWM0EM2M+jVMgNOGwJIIg37YoWwdJNIMAL+8lLfo7wf0wPdxVlwE0USwzBjGWEuXidSBGyeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ACeujd4hVsAXohzRwGgsWDFhkxGWEIWPCVCXbd8fTso=; b=LORi2iE9Jm7DtqIAPl0gfhp3ouKXIkmvNf5esEaAAjRlpP24FrrC+d7aBcAsArIXiD7uN0u6tLDGvM/MgbWkFGC7N0Ong51HBjAh0VJEYksJwBzdmBuDsQbGOHhKRtnrOTo3rTM4c95lwEofyExUtqYM9SwqdSIiiQIlAJlzqSVpSuoIa/UydtUV8AVcgjYfoEPOTLHH8gDlkmtW+iFbIV6fpzXtFHPxAJ6Phj0PcIjUXhZqYBYd4LkGxOdM3mWaPmdGiV3ORd9MOlFGLNjHv/TWwxeU6xV3chMJzfKamVVYK5+fwUjlDAR3PP8GFYPc0RZe1I0v8feqED2Efzc+6g== 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=ACeujd4hVsAXohzRwGgsWDFhkxGWEIWPCVCXbd8fTso=; b=COpMedOcU2zN4LJypnm8rtFEIC5YJTh0ZdALrh4kzCpB83aD8M8M/vEXcrYkYxPQShp+CEoKNyffQcIfuG/9MZyQJPdgAE3kV9XRycf1hszGR1eBIKAj3FBWjOh//uTayRstJUtQaOozpAbYq2t3aZulpZG03cTcfQrt7aYa0Nw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by BL1PR01MB7770.prod.exchangelabs.com (2603:10b6:208:399::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.25; Tue, 6 Aug 2024 07:19:07 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7828.023; Tue, 6 Aug 2024 07:19:07 +0000 From: Chanh Nguyen To: 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, OpenBMC Maillist , Open Source Submission Cc: Phong Vo , Thang Nguyen , Quan Nguyen , Chanh Nguyen Subject: [PATCH v2 4/5] ARM: dts: aspeed: mtmitchell: Enable i2c10 and i2c15 Date: Tue, 6 Aug 2024 07:18:05 +0000 Message-ID: <20240806071806.1666550-5-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240806071806.1666550-1-chanh@os.amperecomputing.com> References: <20240806071806.1666550-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SG2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::13) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|BL1PR01MB7770:EE_ X-MS-Office365-Filtering-Correlation-Id: 98c14a19-69dc-4642-5bfc-08dcb5e80f1a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: 0SLAvVDvGqUVFUBDbpLBecHIh/5IMc/RxsuXZfOO5OfM2f24sm9c8mQZi0vx3BHnT5r4ag5sqk8hmDzezG4gMVnJSWemkjtK+NS2TDoCBQUy0ZAY6nfv09nuQ5Wloyh1nyszai0VtOxvzyZHULYYJmgh9Ccw0oVCKQwbtFvSqhbc/Iz7IWmeMbSBMDWWSkt0ULQSjK07WLjS4I60isv/9jOBurYCSBWrtfWLMP4uGd7jfnobQdQYtMT4+RBvpE7q3/HZQ6xToOYuAh5Cs1e4cfXtVSp/ID/VquISDfbC5UtNKr0ueNUA2bJ55PegDKNbjIq4DJB2ICwmiwgWbyOv67MVnYqXaJh4JrCUzmQiqnPq/d/+RK9I8tIi5UQkGW0XG3vyS7o8MDJmvF2zc5cYUWS6ejwMLMCvYnJoqbczc3o+1Wg9taez3Xj+Q5+QZshMqBjGpx8ypUaIV5Aj076YYYwddm3nKSF+XQZcdVRIv99NEiqz8fa5pPBAgo3mXMRmQx1h5Vqer79eu4dbl+TVnsuCyODM7fRR15EvfbHbEiBZWK3fGjPJfzEouLbOOs9VGpTi6iD4t1PeSwLBEbzSWBuQj2goEonuOrFmBD9RYGTBwIKw//APDmAAh/xo3R7ciW+bg+O3xkG/32ssoRwh5dgCvlZ1/PLDqXAZXsGJJ+sqfKjqJ9nQLAdg+FvyE9QiU+jAWsJ1lJvk9G5XO+2OTUgPT2z3ag2T8co/Pc406evkeozp5eoz7HxjskXh2uNF2WsiPKTqLNy5k126fNwToz44GuR83kv68D3VGeo4fx9D+Ed9tArjmTIGqHMjEBhNf7eZEnARZT/VZ/fvkurB1b8Aa2O2lBIm7kNmUBvXsufalSmVTgT8QNvNv75iYo17IbIduvukFxgpZfg+peaMz7ohtcdu5y4kHHJ8OJzRF3zfETvyWH+2LatLusDC0A7OaVI5er4AJND8/bRkIhc9ov576uschxzpfBR7cBi9dNoNb4srW7IGQCSGNmS/il27dCOyTcGCXgqS/jZE2LojQj7RbKT1QQmCbC3mZDCkkiAk/h/JqsjoBSvelS4rZSQbxIiH/U8fUu0Nk/n4JKDC7NLxWf3R0zaKLbLsMBrBfZsJQGFr+hDKHEC8ceNg8PlbQxdpj+1AizWiM/cpwQiaxlaAAFxGK3yIYqc9x+8c7FYLdOTTjHedN/dA0I6A6hTNFSAT4rzAso5bPwH/kadbKHdzCJh+UyWvtZbHLh71aknaHA6muOw6eBM+mHIjbCrovw2pPvo1m3eiPTUtKaYNHYX58tm5OyR8BLAQlN1qbw77AFwETOpXO9ZF9zQT1FMsOJfGz8Vn9hBpgRYvWtn6gDbSzRBgTJomH3IzlLM9XvFaPbJrBfiXUDiZE5Wxw+cCXuM6COiyEelYwm4Recz+4TJNQ42csI6ZVdreMsBxNTs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(7416014)(376014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Lfy/nQlrQHVnmo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WX7+4mmfX0P2VCQQI/U834NWtU/jAF1rHyDhb6icEycLKVJ2eSQXeVhrHqcxIiyRlMxayhOra0cz2K3URag2ry/wPV44wFBS5NiL6E19JusZGjQ0TF70oIS/Ve5k14H/qGTqldkTWJlknn4vAcMep3XLuSls6DP3LfnOexlsUubhTB1ERrc4mPzQeh8QaFkDIP/Ibh8EAVEfG8ZEHJnrY/5vsPAlSuMnxpdlcsnESwccs56I2Ilt1Xf4sCH76Cwhp/pJyPWw3k00b7BR/GCogmh+dXFAEfw/56FHm1o06MZVKTcKgFAWBBvJLvj6F1kSjdPJ3cz6P48NqsrMTOpnuV445jrxhGKBdWSgJtftH9IEEnAcboUcyWKdObFGQcH5Z/lNngPnBPXOGEnzjD5Bctt2q10iQsEi+zwgyemrVLOVnYYcWLvj3gKZ9I5V9ucflSFRV7MeZtV4YuNwchuiYkIS1IzJFFfCiEjIMHIDBxwrWJ2e2ysE5nfx5HJBTF39LMiUJjP7usqNSCL0mu5nhJKE= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98c14a19-69dc-4642-5bfc-08dcb5e80f1a X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 07:19:07.5043 (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: 5BERRhw9VebnYFErJcJ6SfRg97JGopepM4BxBW0HCJD3tZYJVj+WftpxZKPg1RlYMdcDWkuoDd76iYgNfvV0pHHVjQ92TGH4oHSctwov/UcEa1prLJG7rTCUrAHPTluJ X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_001909_574475_484A03A5 X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the BMC I2C10. Enable the BMC I2C15 and add the GPIO Expander as a child node. Signed-off-by: Chanh Nguyen --- Changes in v2: - None --- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 23 +++++++++++++++++++ 1 file changed, 23 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 4d2f6e5348ce..3111f23e56dc 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -890,6 +890,10 @@ nvme_m2_1: i2c@1 { }; }; +&i2c10 { + status = "okay"; +}; + &i2c11 { status = "okay"; ssif-bmc@10 { @@ -912,6 +916,25 @@ bmc_ast2600_cpu: temperature-sensor@35 { }; }; +&i2c15 { + status = "okay"; + gpio_expander1: gpio-expander@22 { + compatible = "nxp,pca9535"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = + "fan-fault","psu-fault", + "","", + "","", + "","", + "","", + "","", + "","", + "",""; + }; +}; + &adc0 { status = "okay"; From patchwork Tue Aug 6 07:18:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13754497 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6DEF2C52D6D for ; Tue, 6 Aug 2024 07:22:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/8fTsT/wmD3e7P8bdlXQ3b8HcpK52Ulj5xajjrlW/EQ=; b=NPfvR/9bAn9d+Gd6iD3SlTPvk0 zwRd2wBLIyVfrHr/MV22vNDh5WVtyryyuunH0FSZhi7iqDMezo8vOINLPTS8EYglou2YZQaUW8PON qoX+Cto1clkvhBIBuUIdaaXMpDF5ZMRyBURtr27BIHMFcXJrfJUBoMblakbFYoPVnZJDMcqBc4Sbt 0uIYCGMEjzcoRFd/n0YkR9F93eW0mYH6TEXgFNYluEOJDTZ3OatMekfrNQr8Y79+tIgTtwzCOGFvQ X+e0D42vWzXAXVhbygrkJxcDrWuisNPDOAbZob2cl0KuEsTqWr3ST/SHsyUH8TPAIGNgr9pjrwzhv 4QaWG1wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbEW6-00000000m0I-28qr; Tue, 06 Aug 2024 07:21:58 +0000 Received: from mail-westusazlp170100001.outbound.protection.outlook.com ([2a01:111:f403:c000::1] helo=BYAPR05CU005.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbETV-00000000lAL-2wuh for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2024 07:19:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=zEDhX6QKiWWylweNHYpXqMghzl9TAAfyc8RNVdtPHmttZuoEhq2X7P+E8BjalUASd6hmGt3/Cp4aIFQQNF/ehVlq2GNYg5qszradhi9FwvvK/LavNUDnPvjgL1+71tj6JjSlFUzSDt57bCj8WI3oT1uS1JexOJ1PvTgtaASA/bisekIDjkd7jS+1IkEtY7Gz6W1lQRjD0RxGR+ahh09K4fAa2pGksEzHQkOXQnhOaQBAqdmqRhum5KE4kRi/hELqfoBFNH4pmT+EvEUxWVp6VZi6CIfY8f+tc2NL8IIRTu31jGx9JKUmB9Hd1eIOxSdmmTu51LyIark/Fvp/7e3qcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=/8fTsT/wmD3e7P8bdlXQ3b8HcpK52Ulj5xajjrlW/EQ=; b=cWKGewA5xF3W12zD0MHjOlQpDKT/PkTX5tK2WMABIajMeB0riyhvl1jmbFjEtQuNg8eM5cfO/TM3FeiYldTiLjhzw+zimlPA6aJJdYu0TxzQiXLXLXs+JFMAOq1sOQSvjwLnebdB6VWy9p+x7oMCjhnpDp+4PDIrCuntaJo4Ig00igouIvYmZX6ZQcRwVfYH3sJFloEgAcE/7Hem8AuHipTSjqikxPWhSv5bFSf+q9P+MEaxrbhblL7m+xfnrACDyhBx45f2tnmSijFMCwYyh9Isj9ieENYggXQiZg0qXdzkVVgVTwh2+pjaSmdU3bbhzjrj4YFvvY9WCgIKrq6gTg== 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=/8fTsT/wmD3e7P8bdlXQ3b8HcpK52Ulj5xajjrlW/EQ=; b=nFpv9vL4f4rs3K0xcXj3zL2dNMQrNyJSZ4uAu8BRs/yyvkqXVpLMrKVvttqvI973A8/FvloE8OUE1o75xrmsMwcyYgzNbMee/gn27vzfJa5sOl8N3qArQgelBwExNYbvCDGco5PZocXC1HKoZeKXhXUi/eexIysHdaTXKp+h/4c= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by BL1PR01MB7770.prod.exchangelabs.com (2603:10b6:208:399::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.25; Tue, 6 Aug 2024 07:19:14 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7828.023; Tue, 6 Aug 2024 07:19:14 +0000 From: Chanh Nguyen To: 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, OpenBMC Maillist , Open Source Submission Cc: Phong Vo , Thang Nguyen , Quan Nguyen , Chanh Nguyen Subject: [PATCH v2 5/5] ARM: dts: aspeed: mtmitchell: Add LEDs Date: Tue, 6 Aug 2024 07:18:06 +0000 Message-ID: <20240806071806.1666550-6-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240806071806.1666550-1-chanh@os.amperecomputing.com> References: <20240806071806.1666550-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SG2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::13) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|BL1PR01MB7770:EE_ X-MS-Office365-Filtering-Correlation-Id: 70542a14-725a-44de-c47b-08dcb5e8130e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: cvJSEjo2OvJdrSE9qhmBHMuJ0cmuJ04+pQFTfSHcwbsZRym9wBrv4RjuwUL4cYfVtlr9i5qafnaI6w9I57H+LvW3IEQP/UDXRL6cjWoL/z0B2sYFssQocuCSDjjGTS1lmHx5lEAt1TMi/NMSRXkosLK6dsEETizwDyPulc6BsuanqKxejMKJMvrgrwSTQ3DitT2smu+vhokwzdOSENGavDKgBbqYtrr+WQmI1MrYf2cCLi0njWy93U6M7PWGod6iTO93cp+QOtbGrJ6yU9erA+y0kVUogx82kI6Gwe8P7kW9US9wOyA+mArRXfRlbtRr2NQNX9yc8GIBVI4RiKC8eCB0XgsD4Ijckq1pR7wlPCbKg9VOwY9iJFjtfyw167InB2/f/NR6QnRHFLjiGrQ5Z0G539ecMenCCqCKf3oukr3v1O040D+ZENT5e9Y9cA867T+aJrkOni96kamHSbXYV7T9kcyiSEZdSlA59qw5AIa6nrBrCCntxmS/f4UPPmB0V9BOJ5p1TQnhuPdhPxCI2G7OmQ8OHksFqt6T3J01eQ95EUDFe3Gn8BifLHHOvjYEYOfh5hboR1AsClV7xUpM6sUxHCjL5GhdhrjqTngov3bNHvJMnLrA71PNqJd5lY7kNAIdvsR4Z+VNINhsI2hp8BBDgtbqL93dD1iEf2jalYa2N6gW4gFnsU2gHN/YQuYr1L+noYwun1C0j0fA2gKdWRL7BbPuaRJAE4MAXi72egvaCN5T7GHE7z9dULTi1VIisXI5tp6WFBQtFjf8r7i3hxAxb4MIA7jyDuMFpQmbOEEWzbeHH2rd1sUf6d5Znlq0UGZbgkggHiC3ZxFSv+UGi34YwtqnHsH8sKqBe7TUKtEmlr6xengH0UeGZwuWlxMGZlMIRpMCbBj6ybFF0Z0Soc14YA9AXkcfYPgFfC7+nmEPqJMFJrb3fMPO5gjqTRFSM2lr7ihP7UUm9gx4W4B/XPhiJqdOPYDnLGqCGstu8oN39PIxOnMuWRVPtPoKnPUjISTDAnyE+ev32S/ws4Ii1aORvLJMwPOZyGZn/43iJpC76pSrJGXl/QYm0syAso7QHc/OAMMDCnw4H83gkSUDthFmuQHuqU1z1NX4QUPPd0/E3C/rvCOn5tEJxPleSkn9szoemANfFb8oj1E9smh5YWa43cGCSNPwI1Eo2vd4UZnpz8A8UahDJak0g7h3bfUrF8eRlQ/Yd+4gzots2VaO7LS9Z9blCJvvOSnwqZlqTGLZj1g/QhniJf0VRugk+KbOD8MywtrMQhHsMIepJCs5Fz1/SPgIeMxjSQeRbOlltl9vL7urCEr7b2dCU1984Y3e58B11w5Dd4zd39N0LVeHHgNIoedRpudqnvSGlCs/LJOOXhVjNuPx+CzuRDIJ4ZzmWW9zt/cSzO8Bd18lDiK2TfZhuNnv8luBacwi4DeaxUA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(7416014)(376014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 4yqBYZHNI3WawGa4N9lAgfTEOZW/ysC2+HU8wfwdqKhkrQHZ1x3QWmGYMzH4cZJm3r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Q6v5VivNh5wpFGI+bzAYLqbGinepTqWwgjNnFmPZUXWXHEAjUNaKh4AJNxkOdnyPqkrKDi+4LMVQubwaVvJyYcTY2a1lQAhqF6iJU5DYm94Jf6WDD3X4z2kC3V1RM4N9HChsAf0LmlqERWA0wuXeFifqVfYt3JipWKchm7m6SlhZJ/fhXMl4+B9x/sJPAsYPFroC/it0DUOz51rPAIuvzFxZaWNSW4tUz7Cz5il4QPJHoJXAEFcoA7f87Zx26VKZv7O+Dwfx4DGAVJd8q7STBTzUjIja0TuUS2scCmlli9H5ZjSoSFtIKeq1elX65pwJhyhYWBLe6EM2ZHuTPLCIgupmf4Tiq2xBSiWFbcVYL6h3EqzDQR878XLC6ovMkztgiqAh0xXsf3dTg/ByhN98qJQIl/224jPeROihTfqAWfFTAJsfJLGkXfgrxYBUEAKXJGkjyZdePDXK6phrzBJtogUY5nnM3uT0w66L86esPcYRWQEgaMCW5kVhinA4qt3b5lYX0= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 70542a14-725a-44de-c47b-08dcb5e8130e X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 07:19:14.0062 (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: NfPfTZ/JBycW6H5iaWMY+RMbagOel2cnjrvE2VlWNDRlLKJEPEveZAcdUKtygEI8/M9omdePBqCpjbYmGGRczFUT/QFEMDLNy9PqcsReA0/vPQ3bEasvND2f22weXLY0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_001917_768990_22174EF6 X-CRM114-Status: GOOD ( 10.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add LED nodes as the gpio-leds devices. They are led-bmc-ready, led-sw-heartbeat, led-identify, led-fault, led-fan-fault, led-psu-fault Signed-off-by: Chanh Nguyen --- Changes in v2: - None --- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 31 +++++++++++++++++++ 1 file changed, 31 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 3111f23e56dc..0295f5adcfbc 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -113,6 +113,37 @@ vga_memory: region@bf000000 { }; }; + leds { + compatible = "gpio-leds"; + /* + * Use gpio-leds to configure GPIOW5 (bmc-ready) pin to be reseted when + * watchdog timeout. + */ + led-bmc-ready { + gpios = <&gpio0 ASPEED_GPIO(W, 5) (GPIO_ACTIVE_HIGH | GPIO_TRANSITORY)>; + }; + + led-sw-heartbeat { + gpios = <&gpio0 ASPEED_GPIO(N, 3) GPIO_ACTIVE_HIGH>; + }; + + led-identify { + gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_HIGH>; + }; + + led-fault { + gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>; + }; + + led-fan-fault { + gpios = <&gpio_expander1 0 GPIO_ACTIVE_HIGH>; + }; + + led-psu-fault { + gpios = <&gpio_expander1 1 GPIO_ACTIVE_HIGH>; + }; + }; + voltage_mon_reg: voltage-mon-regulator { compatible = "regulator-fixed"; regulator-name = "ltc2497_reg";