Message ID | 20240801091217.1408809-4-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=T5EinH7z; 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) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WZNcn6QLdz1yYq for <incoming@patchwork.ozlabs.org>; Thu, 1 Aug 2024 19:16:25 +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=T5EinH7z; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WZNcn3jvgz3dLd for <incoming@patchwork.ozlabs.org>; Thu, 1 Aug 2024 19:16:25 +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=T5EinH7z; 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 4WZNYg1G8jz3dC5; Thu, 1 Aug 2024 19:13:43 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oBpp7SSm0OYbdBxWUA3wI1wOPg1uucOO2UxmjtbGerXWypb/AvuNZnxmJ4PeCwvtWr2e5Jp+bv7BX3t4SKBvbJUD0uKuSYJouGyxWRDwXOzzhVdTzFpIp9lBrLlNeXWeC2nCu3+XfvQPf1lHU11t0I4dYTt64Vswl+qY4NkVw/JPMzXU24RXY7h6FN59bjZhP6yIbAPFsORbP2gxjjmVVA30hYbCO8k3IBxT+z9mmgOs3LRAiAvqYqwbYYIVqd5ix11ma89AucdtUmyhr7qVkE3O10KDZxFp/O+aQWuMiAzfKF7LHAnvWAS2Mmn/y7AvZpV5z5hq5nrfKoltkb6VXQ== 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=K7+3m9yXzv8Xg1HthSbsK5nBsSkPpK3mqLA5BEckVZU=; b=WJJXFnbY/5lGY84m6/ly6yRzk/Gtvu3ZrpauscfoAZO1oiRUdr8ZhpSWwXeNggLqaBfJsCeMrF6UZVoJkzugixSGXrWR2DGJpGisgEERFM6JPMblW4IaIG/LCs1pPwEoWw5uij3JFNtxH0oYl7Xq9Y46rCqmf5jyeis8q3HUP3kqlAKQxdriFOnKoVNZIEfWlPxeNKOw9IDyoalyM6+68f+bmh1WI9MMSr0+Z0wWZIJIwqq7yno07TADJ0YXhODajUSQONS+jZwSyPmTXTHYeqxIGOg/NknZdLoYpsyk6/f35HewQstnVzGrFoKdl8tNJBoetvduyr20P/DL9xu/zw== 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=K7+3m9yXzv8Xg1HthSbsK5nBsSkPpK3mqLA5BEckVZU=; b=T5EinH7zo48Dy1mpNR24QaJ8Ow+C5gsAWueWYE7vujRTs9U31wbtgK79uMTS73G6tVR8SDbQtc6vlsm8Q9hfq79mZ2QTZMgWKssC1UXLKH+mnYgmerxRdKwJhYMZrZSKzyjQ4o9hT4p0VAyaVkbMFUkKp1oSA2SltqzlQXj+N8g= 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:19 +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:18 +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 3/6] ARM: dts: aspeed: mtmitchell: Add I2C Riser card alias ports Date: Thu, 1 Aug 2024 09:12:13 +0000 Message-ID: <20240801091217.1408809-4-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: 16b20f38-2846-41b0-d9ba-08dcb20a2e56 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: O2AlXDEilwHfmM60JVW1+s2NDx+klLSt1ECTa50TmU35Uds9i9us1VCvetYlAdB/2AMONxE3AYy8quoX6ks5vYrJJgSk4iT/+pnwJociHtlMBvebOjw3orXh7Mk0LPKT2Ye8XZsM2ljJF6+f11xIj3MibAe5Prpk9ZMfhW78fVSFvkeR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oQOSJl1XsRHOFovDNG7vtppwUpHndtxDg7FEz4vkcuBSKPlwNjqmLK3ebdAPWthzJU5EFoETJyjrvn98zkjBWTsRZ4sP5Sp37dy2GaYgpUybs9sLTwuKSe6cKpPnQKTKeNd9o9nj8kYuMEBmv/jDubuKFV5ij/KWCN329mOlFiO2FPaI7XUUvgfNpbMKFkQ90B7t23H4xWKdeovy28rs= 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: rXehol91NFiOGCmSh/G7skUYw6lAi3XwB+rYYeaLvwNEWZgYqMd9yZj5dwI1KLEHHWJdhbBWqNgyquKbdG4gK/h4nZCb+tC90MF6Pt+ntU5ydurqb+nKQ0yLFHsu90Nb4fusOjc/Mg4kHBle/0mh3364vyEBPGHqwWDMkmB/4HDhOWalhaP0k7BorPBNbW12OY/ZkLBKMqbbTLi3gsnKrioWXKWzjNXrZANpprTdAoIPU0dryfbsungl1JsZbGFVTInWIjGGOkDD0mUMe52UnbB8oPWp1LSH6XjMTuSiQGGlqbqRZEupW9QwkhMOzsz+uoRxbncKcIFuPoewexjj+ocygKvS/6Rqu34oVOCQJeFbGxgEGnCNdCga/SIrv9KO8VWRfv4gdNnee772Rj47acFeUJdLiBNpQ9HCTF1jkjop/f968hRxYQH+WpFF9ChN5OrcVgOyXW6RMcfYMhoNzihCgg/37ytCWlcU4XDlz1xF/P6f5bf0P/mDOocIpO8K+CThQ3HBZssXqJQhePY0C/IClajnepIwzwbSoWjsOPFa2dzeVYDcWs8+D0MSLvy60VkX3ulYPLW79g8IrHdy8RZK5YtMJcZyvBD4v1cRBXGaycRdKx3Id1zO/SLQ4b0D212koDN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MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 09:13:18.0595 (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: 5sE38NM49QCbEuP/RwwSv0grI/ytZXf8FZegtzO9aG5oLJL5tIufbLLJHdmXwGKGwkfd+B49tf1Vm3jEIbcD8qgxpZZbpFPRqHRtS2V2ZzD92rlifQSDBUY2pyOgtj1U 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 1679911e4fd8..0703b77e438b 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,46 @@ 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>; + }; + }; + }; + + 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>; + }; + }; + }; }; };
Define the I2C alias ports for the riser cards. Besides that, it also adds the i2c muxes to switch to the i2c alias ports. Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com> --- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+)