Message ID | 20240801091217.1408809-5-chanh@os.amperecomputing.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=PdLgwphb; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WZNfm5mtTz1yYq for <incoming@patchwork.ozlabs.org>; Thu, 1 Aug 2024 19:18:08 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=PdLgwphb; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WZNfm4jtcz3dLW for <incoming@patchwork.ozlabs.org>; Thu, 1 Aug 2024 19:18:08 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=PdLgwphb; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=os.amperecomputing.com (client-ip=2a01:111:f403:c001::2; helo=sj2pr03cu001.outbound.protection.outlook.com; envelope-from=chanh@os.amperecomputing.com; receiver=lists.ozlabs.org) Received: from SJ2PR03CU001.outbound.protection.outlook.com (mail-westusazlp170120002.outbound.protection.outlook.com [IPv6:2a01:111:f403:c001::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4WZNYg4BJjz3dSG; Thu, 1 Aug 2024 19:13:43 +1000 (AEST) 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> 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+m9c7TQ7NeAhgfdz5VCQ0GJjzW8EjLVQIZc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eXHopTacOTMJ+tUSj72/BwLVxgckRGlgja667egFsWr8rtC4GgefDXTdNUnDEJ7+kGt5DeMQE2B01uzNgQ0grHCbyJnMaDLGxs+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-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development <linux-aspeed.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/linux-aspeed>, <mailto:linux-aspeed-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/linux-aspeed/> List-Post: <mailto:linux-aspeed@lists.ozlabs.org> List-Help: <mailto:linux-aspeed-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/linux-aspeed>, <mailto:linux-aspeed-request@lists.ozlabs.org?subject=subscribe> Cc: Chanh Nguyen <chanh@os.amperecomputing.com>, Thang Nguyen <thang@os.amperecomputing.com>, Phong Vo <phong@os.amperecomputing.com>, Quan Nguyen <quan@os.amperecomputing.com> Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" <linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.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(+)