From nobody Thu Nov 28 21:32:00 2024 Received: from HK3PR03CU002.outbound.protection.outlook.com (mail-eastasiaazon11011053.outbound.protection.outlook.com [52.101.129.53]) (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 E1C9F1552E3; Mon, 30 Sep 2024 07:05:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.129.53 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727679923; cv=fail; b=epPNIKtw7Iy79fS/X4o9lWQ14IYsnPKIr3RopSmCuN+haO8f2L4H4m7qrXqpb11xIiNS5yK5cENkMvpKSuVhByuJ842hf1AmQT3msKdJ5N4fpfrPMlAdk5xjiP3b751k/QZQtoL1UT1UORAPqSnsVfNOcqyl193r+JCmJHZsrR4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727679923; c=relaxed/simple; bh=HL0V5yOnLqxJXd6SimEot16We7CZxS3PIUa6J5H00J8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=iGp3UEgf0zN0NUqzFsRCoSGT9NEa5Yu7m0ej3T9fwCQvA1tmM8i3zkMKhz6doaJJRzjgxAdtkPddZ0+jmvRUDbWdLUvYr9iEIkGj6Nv6H2YjmVNb96ew5BBpLJJKmnRUvmWWPSgkQABY3tP97cKQRL42B2oqZoF2nNWiJGmNG1Y= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com; spf=pass smtp.mailfrom=wiwynn.com; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b=syDoFcaG; arc=fail smtp.client-ip=52.101.129.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="syDoFcaG" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=k8CWMCxvRPKIlO87wJoSNyc4ZyGJ3Wo/e+vYWLa3gFhzYG78b/oOqBcADCeRuslOU/xE2SE8GjhC7SPLVnht91+0mh17zb0Q3twkrkCob/Vk7wV0c1JA3J8xAS3SLOwexi3rj8gUYyu3xbbPO/cMGTkndVyZ6HfxwiWtB+kBwk3NqMAwLWQX2Nv0aAaNNkV//TaZ5BxVVb6zqPC+8ByzjNpreyKqxxRabcIWK13JiBOE4gpWZ+Ykj5izeGq+ofSeYYqv31DPIKio2G1UlZ7Bx7O3f+Xa5c1RoO2yt6yPuYxoRll1OSQPgMH+NcgYZOXaURvlIoS78Yc7UluOmS5Jkg== 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=QUGE0c6dj/0KvOdqbYZVG4+GhmYitlAvvfCAtm8XrEg=; b=Whn4vlnLEqUONp9ir2/ZctrRCWAihRqmTLi4pJXdGF0y0hmMR01gQyLbNUcjEGXGKCvjYgJZVJUhZxxLk2rwVGRJMFEHxMjbct6YJ8ORboORF4gtoy0f/iEEXNir7iusnQpssBf+XofRPNWQH/3vTBnJTTSTg0vJqXOcOCr+C1lBaa69VYRg8fz95A2ECBCNidT5zBI3SVtSiRFhPpZ1S/Hp/FklYAxyHwB7KaCgQC0pyAS3xyjcz7C1SYcC6Za3OQzcn5bNRGChZhkKd+8V3UD+I/zYNTD2ktkcq3ps4vHlOwkjlAGEBE1lTRzUVRIYBKzeiBYf1f7cbeZt62oErA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QUGE0c6dj/0KvOdqbYZVG4+GhmYitlAvvfCAtm8XrEg=; b=syDoFcaGtkZDI7KLXZ6qqOyjq010eAmiyS9Izwd9FzCENwi9Lw/MjmHa/oaxpwo1/6C1KVBBqm1Zd700VCtqZiZqIdm4aVIQa5838O9kp5vRbFIEyvehWS7H5DQ8Ui7mJLC4Xp8VSpUBJA63S2OkpeLhZwSYulmMlQADIBviZQ0ITeWWr0fINS2yMROUr9LDGzg2tb3alT3rNX9gCTAPbt8ODjZgQUOp/nWCzNBydk3F5Vj3yws91y40zmkq8JvT2SfSmoq9OCFRJjDmVpElT3V/qWGh/eEPmqjkorjyysIs6Gu7xMjJq8t0MQxMcYvEF6aVviiFZxCmN+e5kKeoUw== Received: from SI1PR02CA0058.apcprd02.prod.outlook.com (2603:1096:4:1f5::9) by SI2PR04MB6619.apcprd04.prod.outlook.com (2603:1096:4:1fe::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.26; Mon, 30 Sep 2024 07:05:16 +0000 Received: from SG2PEPF000B66CD.apcprd03.prod.outlook.com (2603:1096:4:1f5:cafe::44) by SI1PR02CA0058.outlook.office365.com (2603:1096:4:1f5::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.34 via Frontend Transport; Mon, 30 Sep 2024 07:05:16 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by SG2PEPF000B66CD.mail.protection.outlook.com (10.167.240.27) with Microsoft SMTP Server id 15.20.8026.11 via Frontend Transport; Mon, 30 Sep 2024 07:05:15 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Ricky CX Wu , Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/8] ARM: dts: aspeed: yosemite4: Add i2c-mux for CPLD IOE on Spider Board Date: Mon, 30 Sep 2024 15:04:54 +0800 Message-Id: <20240930070500.3174431-4-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240930070500.3174431-1-Delphine_CC_Chiu@wiwynn.com> References: <20240930070500.3174431-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CD:EE_|SI2PR04MB6619:EE_ X-MS-Office365-Filtering-Correlation-Id: e88d7ff7-069c-49b3-8732-08dce11e3cbe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|1800799024|376014|7416014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?8zMOeNKK9/82WUPWSEtYdP+UWQ7I4Ya6Xstv+/pOrdIMY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OwK+kSY7DL8CE+g7L7t8JzRf37gIEgNup5lmUuLRmJ?= =?us-ascii?Q?Qt788Ic7PGDxVfu53RBacPJZptXAp6+tsKTREE4XoAra+6fskbafhpT7xttc?= =?us-ascii?Q?tDOyeKieU+YJZtb9kFwLDddRf+wm4FBnGQL2s4Xn4pOyLGrW5BI6QRFrF9Y/?= =?us-ascii?Q?5k3r6J7u2dTT6CFetbp/hzM3dyF5AxaE4t3PPpQBzCKJtD+O9EylG5wAVvKO?= =?us-ascii?Q?dnsUVIJvH0cKRh3/A5c5vjNy6Y+BBxQwnzRS92dt9MkSPEeA6xXJsSNuOox9?= =?us-ascii?Q?ulAUc3/R8aw3Q3zNkJQHHEWMk1Kq2UO92sLdenyFVREjUOXsYxzx9LQk5aRp?= =?us-ascii?Q?Mr1DmS4wu5cQuw9aS8QgNIy8FQlP3O7zA2kHDtB6fkjOmTtrEUcfnM1iyPNO?= =?us-ascii?Q?0varp8hDjRDvp1UplF2Qc2ai7+HvlNjVjZ9X039yr+fAT/zssAuxerwJl+y7?= =?us-ascii?Q?EQYjv4ICNXvyHZzEQJFD++bIE1F4?= X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230040)(82310400026)(36860700013)(1800799024)(376014)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 07:05:15.7436 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e88d7ff7-069c-49b3-8732-08dce11e3cbe X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: SG2PEPF000B66CD.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR04MB6619 Content-Type: text/plain; charset="utf-8" From: Ricky CX Wu Add I2C mux for CPLD IOE on Spider Board. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/a= rch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index b813140b3c5b..26e0fcbed8d2 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -30,6 +30,8 @@ aliases { i2c25 =3D &imux25; i2c26 =3D &imux26; i2c27 =3D &imux27; + i2c28 =3D &imux28; + i2c29 =3D &imux29; i2c34 =3D &imux34; i2c35 =3D &imux35; }; @@ -773,8 +775,72 @@ eeprom@54 { }; =20 &i2c10 { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; bus-frequency =3D <400000>; + i2c-mux@74 { + compatible =3D "nxp,pca9544"; + reg =3D <0x74>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + imux28: i2c@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + gpio@20 { + compatible =3D "nxp,pca9506"; + reg =3D <0x20>; + gpio-controller; + #gpio-cells =3D <2>; + }; + + gpio@21 { + compatible =3D "nxp,pca9506"; + reg =3D <0x21>; + gpio-controller; + #gpio-cells =3D <2>; + }; + + gpio@22 { + compatible =3D "nxp,pca9506"; + reg =3D <0x22>; + gpio-controller; + #gpio-cells =3D <2>; + }; + + gpio@23 { + compatible =3D "nxp,pca9506"; + reg =3D <0x23>; + gpio-controller; + #gpio-cells =3D <2>; + }; + + gpio@24 { + compatible =3D "nxp,pca9506"; + reg =3D <0x24>; + gpio-controller; + #gpio-cells =3D <2>; + gpio-line-names =3D "","","","", + "NIC0_MAIN_PWR_EN", + "NIC1_MAIN_PWR_EN", + "NIC2_MAIN_PWR_EN", + "NIC3_MAIN_PWR_EN", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + }; + }; + + imux29: i2c@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + }; }; =20 &i2c11 { --=20 2.25.1