Message ID | 20240801091217.1408809-5-chanh@os.amperecomputing.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 F25CAC3DA4A for <linux-arm-kernel@archiver.kernel.org>; Thu, 1 Aug 2024 09:15:35 +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=TEAMIZSt7FrVaixxyF9pUvNAKZr4WBobZRYkXKGkH+Q=; b=d4zMtGqlVCVHmkSqbBPNZYBHw6 Eo56+31cbbque4A6GcWYQA5i6nsxMVoiu+hYklqxJPDQIM8DZ3qdyjEtTjavnksOet91wg/YjnI7J GmsjHFznkviD2XPZNNL9S7DIk0J8DTZo43eMWBQlLI0fnXS/ruPWVYJVo3jCvpwshCSgkL+taX6PI Lpsdv0FGF92z0VRCtOU7KXHMtHbH/0XBAPBta9MudJRBCBxt3jfS3d74LOA8f1maUrNT/rMnJpOxj FHWLE/qwgnD9PqGncBc+GpTVCwmKoRoaTicnUlehNlWdrZkfuK3wID5y2GuGn+mnmlXL1+I2sla0i hqyzkIbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRu7-00000004V9o-0XbC; Thu, 01 Aug 2024 09:15:23 +0000 Received: from mail-westcentralusazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c112::] helo=CY4PR05CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRsG-00000004UTk-49K1 for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 09:13:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KtIFFA9xl1fOPNVTBHApItL3BVFsLiAVURUEr5Tf/ixk6hr5n5pgA/FZsCjGo2FuTya2HNGL2MXHT+jhVlGq7YK9Dla2j/acrni1uplgyTqcjtsz+hZttGdQCfDhCM/u+8I1zdsxk9pH4/bBjISbDbjJEnybp+HqZFZlPYwf7hutrmmxJQEItyv34nNbiAR54TDV5p3I8Op10Mhbzj2mzo595c6mygiKkqdmFxsWBJaCHoL2SR4r72WWUVci8ee9i9GPdfN42dCvR72jk5hTA45iJHJV7kz+m0jtYYLn/RERD04qK4IJ1BLUVF/GIeffwFGMLov7e3J+FkYlMX9rKg== 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=TEAMIZSt7FrVaixxyF9pUvNAKZr4WBobZRYkXKGkH+Q=; b=HnulbP86xxALkqeEfyN1PjVP4r3ROhs9fSUsWRztNmp7BvlIsSzMHeU2zWD8iLaTPylPUUFdKQuTxMZcpBQz+anBzu3IsZPuFCI9oY0aTpvzPYQrwt4gXNd7mAUu2yS27xIesSbpTrc4v9PjkWKipY4D0TwwluUY5GMAU/DvWPypE5HP5QGaxnPeFD99ni3oYfEvT2dql+wFs8stmvb9PXNenP3LsmLCkwVyM1YeJa230daxM0gj+Mqjoo5Qc/8XOAON49wXkcyCr3P4eBbeC/BqBflkge+8a2IYAUBp3uoWctwxcqzQwzYYozhRRvn18P0f5WI1N7XEW7u1JTHcCw== 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=TEAMIZSt7FrVaixxyF9pUvNAKZr4WBobZRYkXKGkH+Q=; b=PdLgwphbXvPkmrWbp+/LE0x8O5ldPyY3ILODvDZnTaXiVPR1jDaHQxgl4vZVCB1MjWdrBalWe1ZvN+oqE/6UJLZu+guwD0NXxMlcGEoGHiWDngbjqIjq+r67yOHMgjoFNwfuByDULZDBrsD6CnP4ROYQHxzBsgJrTeoY7cGOZMU= 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 SA1PR01MB6640.prod.exchangelabs.com (2603:10b6:806:1a4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Thu, 1 Aug 2024 09:13:25 +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.021; Thu, 1 Aug 2024 09:13:25 +0000 From: Chanh Nguyen <chanh@os.amperecomputing.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Joel Stanley <joel@jms.id.au>, Andrew Jeffery <andrew@aj.id.au>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, OpenBMC Maillist <openbmc@lists.ozlabs.org>, Open Source Submission <patches@amperecomputing.com> Cc: Phong Vo <phong@os.amperecomputing.com>, Thang Nguyen <thang@os.amperecomputing.com>, Quan Nguyen <quan@os.amperecomputing.com>, Chanh Nguyen <chanh@os.amperecomputing.com> Subject: [PATCH 4/6] ARM: dts: aspeed: mtmitchell: Enable i2c10 and i2c15 Date: Thu, 1 Aug 2024 09:12:14 +0000 Message-ID: <20240801091217.1408809-5-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240801091217.1408809-1-chanh@os.amperecomputing.com> References: <20240801091217.1408809-1-chanh@os.amperecomputing.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: KL1PR01CA0105.apcprd01.prod.exchangelabs.com (2603:1096:820:3::21) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|SA1PR01MB6640:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b841f42-98ed-45da-cfab-08dcb20a3276 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|52116014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: GlEV83d9120gQoARlTTxnWZY8UdQUtXoaQUlUldUOVeMyd3WY06hpOKzk++eUVN1Xb7OVC/qyXOZDTTfp8EhiFGf/imhOE2OF7el8CJV3weZSlvbpgeDq1wJPxdqlss51wCVEIlhGVF4O2Med5vGBDTMlPHfxP+oabVb+m9c7TQ7NeAhgfdz5VCQ0GJjzW8EjLVQIZcQHWaXS2Y6AO63n9sBjYHpE/el2GOYGOZpDD2Xr85iyp43GuXpX8/OepNwJXPBqkvxZLg1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2B01uzNgQ0grHCbyJnMaDLGxs+fmX8NloDOOR7hHnzF+TNhA76MuOfTDBECpsFc5GH8zvUa5od7Bp4LaWx860vxVPRV5RrrH/KfaJGWhWI= 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)(376014)(7416014)(366016)(52116014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: vAOIFQh+VG7O1maeswumn3CzZAwS/1v4T2wfC2I8BbpzUCnj70Mh2oVpqv1zNOY70WLqKKqL0EuE9jcuRoo3kCvkvljtT4hxiwqfL2Ver5K2ZjKgqsLL6WjwB9qFLmtC1NaVLJDirQ5LwOZudjFz87fjse4ym1gQEtrLHlUdg6l4z5mazrVYLW56C6qfQDSh7F9Vu3h4WpEbhAat7GuStT8g9IcapgV1RiJA75VOPy/WqlMCLGL3OJB5k3owO6nKrfZ1RTc8H9MrHiaXg1xRDg+U93tJ0EmqRZ2vJICwvjA5UTE9lIlI1gX1mNQJP8cnlS0JLWp9HlIGiOjwWVclnrn3YsFoy+q1S44yb18CEGvBEyhz7ScjpZl+RdmtRtJG2habuClNOEDdYlcjUcyp/peEto1DWUqK8XHFchwPQt+HV8NJdytceKOsmd97IvAcP6LPyRx2f17OW3VpcfMOaDzvDfVf6ZLWnI1EGhhER0zChhPvaCteoSqrdCrOQvXJbHiHt8B9Vczo+GGYl2VPhuJQoGER00l/2a1uAlfGoiI8s5KiuyjI0og4wmi5zHON9gImJGtZ7Jjt0qGq4KTR6zZXwWCwD7FPML16wuGN5Uiu/Lg4L8O+fL3X5HS+37bCP68cIaIz4IJkq4nd+FlIEwFgfrrD5q6hsSCAWN+DQSuQboHG8bwsx2w3WPuEViiFq9uXwjGV8RqlsbwP3gNFYekr2gvhQptmAtWzjsbfD35Xb5C6JpfSDCuo0RIbLmMhascKc6DvCA896qhvz54p54rrT2nEjLXXwIVvqbDdJvBFA6ACFKHqiC7/2k/aDoqMB9u5rT2oeCY277OWR4wtHiHV4yBZC1PB1TlpKsNzhHM5xJSQLFUahyZ4eHk5MYceauT7LnmZJotqFwNzlvpfOpmX0OutKgdTIvyHUz8JoeO2udFuYmULDmgHH5yNQVMWSH76wCfrcTFybnbCae24ZOS5KMRQZOJ7p0F3V0Kob45XEBGUou/4NGejUcv7sHPRen28mbLzT+Lw+9bW2uosottWokYtd2VcdkHg9orUeHt3RHGVhOdBEkPFPIaHw4KZgOoxVYiHD3uH4M9v8htEOdEZPVbqgSRA+N7NhYAE5Ni6K/sTHUryxYG7p46XusiAOAWI5Dh+RbF+mbIuKaFIFSMSuLrYLNHfpKxRBTfntltp8baz//Vm6wDTPRvqN6/ljJpTU5qKN17+RuSzBiOkClq19e6mfbt3c1XJF/Yy/t3zE+kchqw5xwVjp8EwXvUckCh8Hc2C7kQN4gqR8KYX1EywvHmOZ9N+LeDMiwQWSgAAnGysO/kZX/8KhdwTLZw3OGRS/KDXFumxvdm8xHEkP0+jz+ox7SPNYsMQVPUl8wsYbPdzpEDn1o+uVU110p0SCsYcal9evJP2B2VTziC8xn+XWDqZ2Yl7OtdN+3+3ubFjqhoOn1yIRZ41i8VUH8dFuzclAbtMM1j067Er9fMqZClwgpsFK571N59RzR53X+tLWYntQf7ggSSjy5q+g8uwPnwFfGdJYMZQRzHmkv9CfulO0Yq+v7CVdRoipuaEatRo1v+Q+RCTJMG7ciCQNxLGbtBzdwpAWokpuDNHgHyiZGo+/Fbv4lwe5j5wdraiAm4= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b841f42-98ed-45da-cfab-08dcb20a3276 X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 09:13:25.0272 (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: 4OlSda4sbVjkQZxzUgSaE6RwcHJpalvusJovJFWD8Frs9/SM7k8rIiOZnJhdEHdVtI4pIARlKoai6LWcDuujHWWf3zK2XnYJwXChsFs5NaVeKgLziTMH9Hib1FzvL8EL X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR01MB6640 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_021329_052396_EBCF8F70 X-CRM114-Status: UNSURE ( 9.32 ) 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Update the device tree for Ampere's BMC platform
|
expand
|
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 0703b77e438b..119e82637023 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -878,6 +878,10 @@ nvme_m2_1: i2c@1 { }; }; +&i2c10 { + status = "okay"; +}; + &i2c11 { status = "okay"; ssif-bmc@10 { @@ -900,6 +904,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";
Enable the BMC I2C10. Enable the BMC I2C15 and add the GPIO Expander as a child node. Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com> --- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+)