From nobody Fri Nov 29 13:30:01 2024 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2070.outbound.protection.outlook.com [40.107.117.70]) (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 3DF02433D6; Fri, 20 Sep 2024 07:05:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.117.70 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726815905; cv=fail; b=LlslEwpEKJR9t7W/EJRbOQCVH7UoG2DS9bPqP7bMiRWG+seq2a2dPXO/8jkgV6V4xhXWCs2AtO4JI6xSuepFRGlvDc+Wa/YyKH6+HOLl0lLoxBdPU8Ap2JBlkYHbyawOqIMxV+I4/RsUd3Rh9TZS6CbKGmUQEPtW00g6KR4QD8A= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726815905; c=relaxed/simple; bh=OQqZLIIk6Lw28aY7i5AHDc3Qb6nBt8Kjf5zmkRPJEo8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=qvFh+zbnP19vYFrY68jO+zzLaoytVfpHOL96mIh3QucIrspB0tG23R90ioQCWrWY09G35T27xz+J9nlOrwHufnYYPtZYNpfS4IOmYObCHrKZS06rixlVbx3j2i0OmvKZtPMnOXn/abj3QVy0KN6SbiQmYsA2a01EGr3bv8XfL2k= 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=SAHgZ4qB; arc=fail smtp.client-ip=40.107.117.70 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="SAHgZ4qB" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DLY/f7V2OQB4M2k+nj8QnOpaSHwn3LXoA6JTpoktYGjPPi7Vb3sQkPG1RODwwgVfGKWwng+hEkghz18hYB+1ieafnV5ajsvlcaZMRk4NYbCKS8LOkOi1s7mUMQnSTXI5XnFXvZ3DxkodpYVxEwyExckPrm3p678rnOZkePLcNN5WNDYM0ZiJ1E9Qv4VYhOtxhz4B55U/4wIHy509Eofx7hd7Bh2LtPuB92Yu+fW5c2CvVTz6mE4h6P6IfDM5DoGD4lRiebLciKPyq0rg3jwrR4gGRdtLOjpjso4mgN2KJ5VqpgClEkO71EJtS2IZzs0wV/dodukOZcAbMdH9MXCAmA== 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=eJ/0lMMhAeIKfcwK1aKgPcEkNienEhojn0QdA3D1DB4=; b=qJ/PecMPT342nUqV35T1TZnGoUdMFesv6z8U3ny+oJ04mDKHr7DZPYaKWnT7QjNSxigs3Jl7YEJUmE6qf3mcZ0H73SkV0ZAM46U+ILgTD0B1gXEukZrtaJF4iKMCsgMStQCxxM5FzEoB6a7gbcKbJBTa8wUFX0Ey2RlwNxqvNq+bQn36S4XIUuGCNlXoAPhWJqGzBDABpCDZ25yGPJNLvWT3PfwvSGmG7FzI6SAsCvEsKxli2dbQitcuAtNzNLgNpUkWdK4knX5WCW8nlp1TuG5ULjmVXbupF4/bBuVjOsgzzOkTGbew68S7P1us9z0Oxa3AZeHkYhFakH9igVu66A== 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=eJ/0lMMhAeIKfcwK1aKgPcEkNienEhojn0QdA3D1DB4=; b=SAHgZ4qBnAop3fnNK3yAP916WERQhnFa6MUp7KysGmM2bonLIUbupf+rVAv5E6pxo7gpp1giImCidgC+tLqhH5P6Bl9uKX4cf0hMieZQSlanq4DPMY8kPJEa28H9361VV9CM4pbbjAzlrOmXub5CKaJzZxj9vbH6+yfijzYYcrrwqtt5CzeF8ZytzmOPqpIMxKggPtxxSvCeVuSpe9P0Fbg8P+IRB/g4yll2OtDkVNeHuxIy2GXboEZcJsibVpf1+GVhjlixR3KxavXgy+290S0faONcODCtsj9GWQARgDW5VyM6jHhszAxg+AYLcc2p9UcEv1/fFNDahKaC+Iet+A== Received: from SG2PR02CA0107.apcprd02.prod.outlook.com (2603:1096:4:92::23) by TYSPR04MB7867.apcprd04.prod.outlook.com (2603:1096:405:89::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.18; Fri, 20 Sep 2024 07:04:57 +0000 Received: from SG1PEPF000082E3.apcprd02.prod.outlook.com (2603:1096:4:92:cafe::73) by SG2PR02CA0107.outlook.office365.com (2603:1096:4:92::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.25 via Frontend Transport; Fri, 20 Sep 2024 07:04:56 +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 SG1PEPF000082E3.mail.protection.outlook.com (10.167.240.6) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Fri, 20 Sep 2024 07:04:55 +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 v19 1/2] ARM: dts: aspeed: yosemite4: Revise i2c-mux devices Date: Fri, 20 Sep 2024 15:04:48 +0800 Message-Id: <20240920070449.3871705-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240920070449.3871705-1-Delphine_CC_Chiu@wiwynn.com> References: <20240920070449.3871705-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: SG1PEPF000082E3:EE_|TYSPR04MB7867:EE_ X-MS-Office365-Filtering-Correlation-Id: a380f36e-48bb-4557-7895-08dcd94288ba X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|82310400026|36860700013|7416014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?2Z4vNQbdFQiXhQQ2L/b0TtLEM+Xmp41ojVw7zqdK73Zeu7AdcfkQXOkUoinw?= =?us-ascii?Q?nYprf/ETdbQvoIZX6tWOCfiGAOvRkC6fRa4e+RVJvaipgesqpWblrknpSeWw?= =?us-ascii?Q?iHgm/Vr1HGqsN5aBPYJUL8GsVOmHfq0818cNQJMhCaNdXQRvf5sDXjI22mtu?= =?us-ascii?Q?9R+KTVwqasYmdqDfPKWJNN1+PRnVuZGFYCe09lB43FZMRW6mYISGrnIXPMRs?= =?us-ascii?Q?36An/Mo5haSmb7dwE8kDX1c/JnA0X32HuRVY94a/T/RqBuZj1jxV8uEsW3mN?= =?us-ascii?Q?p6ZMXCNubC+rcyQMJSLQfYP4qHpuDeTpDihCY1o4zveKlJScoSdVJ6SmnkZ2?= =?us-ascii?Q?VnvH2Uj/K9YCKYm+f7SnJMjinHID7gPGUH32t0qLcL845BSoy2b/zS88VFMq?= =?us-ascii?Q?IPfrD/ggwVPpIZiBd3cOC7iTeU9dwW+yyCtZyVOjsRCN8QhvJNr7cp5VTFft?= =?us-ascii?Q?VN6zfjeM2Ug164pMG0xf5y1RC5p7S0htLIDKHk3GnPAVa/5HayGsysDZYObg?= =?us-ascii?Q?eqmJ0mpAoIexrACUAU3ha1yVcwR38AuG/i8DLjXH7T9gmmbxCZXsZg7LHC0x?= =?us-ascii?Q?xptOYv+rPXz6yrNJRDw3W7TJfez96xrfmhOdrV0Bn4TWMzF126zSr7ulfkdT?= =?us-ascii?Q?JTIz6Cjk2eYVelEmOtKA6/ZWT/tyApKTtfY7wD0zQtv4tQDnoFLMo3Crmwbj?= =?us-ascii?Q?L0+ts9qXxIub9ksqR2fJJPH86x5L0s2eDLxU7v9K/QF3BAg/3twoeQZ96uCN?= =?us-ascii?Q?pdfk18pdaF/4sqzbV4sOE93k7B3B526Shi9NSyy7pt5w3IF7PRUIyrw9joUx?= =?us-ascii?Q?TT65bvJOapdSjeE1lqoTwFRphYqu29IK4OF3Rf++jTV/4VFquhkv7Nn50t9v?= =?us-ascii?Q?i/C+PWsdmUsr53lNCA0zm6/QXiJalf4427shhCB8PO7lw0z5EY97986k2MpY?= =?us-ascii?Q?nqulyQOgExZTazIsTfN5qAdDH/ENvTYJ6dNHCT38xfw5+TAqRUcYc3cghY7D?= =?us-ascii?Q?lgW4HkSeiCCA9QejMJVZurikf8SiJwo2BiNRJWeHSrpq5vTp9JR3e1VGdwif?= =?us-ascii?Q?vmNQDw+ThxYbN5raJ5I+/OntZ3/PieoJaTRoT1UNwrGL0YbLs+oXNFHcsWyc?= =?us-ascii?Q?Mm4wqufcJKm+XPcrVJB377CkSIKFtP+0Ti+ZwswlN1tIF3QRkvRwEkpVOurK?= =?us-ascii?Q?fG0ow4xNRkStw4eIOfi4kqhF8ZgiN64GT+dAdEU3rateHaEAw136nXt6gyd4?= =?us-ascii?Q?kM02UCp3vACmQ3VJetdTc241/fOVoDJcPaK4NGXOto3EP9FZHzfImWwjVShf?= =?us-ascii?Q?+VT/urGAL/ip5h2HQkrs9plHsxVKMEqf4BZfUxPWmF9sTNa4qPcR1SL7l73K?= =?us-ascii?Q?p7GpokgX/szyd4vbtct+RAYtIp0l?= 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)(376014)(1800799024)(82310400026)(36860700013)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2024 07:04:55.7883 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a380f36e-48bb-4557-7895-08dcd94288ba 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: SG1PEPF000082E3.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB7867 Content-Type: text/plain; charset="utf-8" From: Ricky CX Wu Revise Yosemite 4 devicetree for devices behind i2c-mux - Add gpio and eeprom behind i2c-mux - Remove redundant idle-state setting for i2c-mux - Revise address of max31790 devices after i2c-mux. - Fix warnings reporting by dts checking tool. - Remove led_gpio pca9552 since there is no binding document. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 539 +++++++++++++++--- 1 file changed, 466 insertions(+), 73 deletions(-) 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 98477792aa00..6b4efb5fbd83 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -17,6 +17,29 @@ aliases { serial6 =3D &uart7; serial7 =3D &uart8; serial8 =3D &uart9; + + i2c16 =3D &imux16; + i2c17 =3D &imux17; + i2c18 =3D &imux18; + i2c19 =3D &imux19; + i2c20 =3D &imux20; + i2c21 =3D &imux21; + i2c22 =3D &imux22; + i2c23 =3D &imux23; + i2c24 =3D &imux24; + i2c25 =3D &imux25; + i2c26 =3D &imux26; + i2c27 =3D &imux27; + i2c28 =3D &imux28; + i2c29 =3D &imux29; + i2c30 =3D &imux30; + i2c31 =3D &imux31; + i2c32 =3D &imux32; + i2c33 =3D &imux33; + i2c34 =3D &imux34; + i2c35 =3D &imux35; + i2c36 =3D &imux36; + i2c37 =3D &imux37; }; =20 chosen { @@ -255,41 +278,327 @@ power-sensor@40 { }; =20 &i2c8 { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; bus-frequency =3D <400000>; i2c-mux@70 { compatible =3D "nxp,pca9544"; - idle-state =3D <0>; - i2c-mux-idle-disconnect; reg =3D <0x70>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + imux16: i2c@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + gpio@49 { + compatible =3D "nxp,pca9537"; + reg =3D <0x49>; + gpio-controller; + #gpio-cells =3D <2>; + }; + + eeprom@50 { + compatible =3D "atmel,24c128"; + reg =3D <0x50>; + }; + + eeprom@51 { + compatible =3D "atmel,24c128"; + reg =3D <0x51>; + }; + + eeprom@54 { + compatible =3D "atmel,24c128"; + reg =3D <0x54>; + }; + }; + + imux17: i2c@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + gpio@49 { + compatible =3D "nxp,pca9537"; + reg =3D <0x49>; + gpio-controller; + #gpio-cells =3D <2>; + }; + + eeprom@50 { + compatible =3D "atmel,24c128"; + reg =3D <0x50>; + }; + + eeprom@51 { + compatible =3D "atmel,24c128"; + reg =3D <0x51>; + }; + + eeprom@54 { + compatible =3D "atmel,24c128"; + reg =3D <0x54>; + }; + }; + + imux18: i2c@2 { + reg =3D <2>; + #address-cells =3D <1>; + #size-cells =3D <0>; + gpio@49 { + compatible =3D "nxp,pca9537"; + reg =3D <0x49>; + gpio-controller; + #gpio-cells =3D <2>; + }; + + eeprom@50 { + compatible =3D "atmel,24c128"; + reg =3D <0x50>; + }; + + eeprom@51 { + compatible =3D "atmel,24c128"; + reg =3D <0x51>; + }; + + eeprom@54 { + compatible =3D "atmel,24c128"; + reg =3D <0x54>; + }; + }; + + imux19: i2c@3 { + reg =3D <3>; + #address-cells =3D <1>; + #size-cells =3D <0>; + gpio@49 { + compatible =3D "nxp,pca9537"; + reg =3D <0x49>; + gpio-controller; + #gpio-cells =3D <2>; + }; + + eeprom@50 { + compatible =3D "atmel,24c128"; + reg =3D <0x50>; + }; + + eeprom@51 { + compatible =3D "atmel,24c128"; + reg =3D <0x51>; + }; + + eeprom@54 { + compatible =3D "atmel,24c128"; + reg =3D <0x54>; + }; + }; }; }; =20 &i2c9 { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; bus-frequency =3D <400000>; i2c-mux@71 { compatible =3D "nxp,pca9544"; - idle-state =3D <0>; - i2c-mux-idle-disconnect; reg =3D <0x71>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + imux20: i2c@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + gpio@49 { + compatible =3D "nxp,pca9537"; + reg =3D <0x49>; + gpio-controller; + #gpio-cells =3D <2>; + }; + + eeprom@50 { + compatible =3D "atmel,24c128"; + reg =3D <0x50>; + }; + + eeprom@51 { + compatible =3D "atmel,24c128"; + reg =3D <0x51>; + }; + + eeprom@54 { + compatible =3D "atmel,24c128"; + reg =3D <0x54>; + }; + }; + + imux21: i2c@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + gpio@49 { + compatible =3D "nxp,pca9537"; + reg =3D <0x49>; + gpio-controller; + #gpio-cells =3D <2>; + }; + + eeprom@50 { + compatible =3D "atmel,24c128"; + reg =3D <0x50>; + }; + + eeprom@51 { + compatible =3D "atmel,24c128"; + reg =3D <0x51>; + }; + + eeprom@54 { + compatible =3D "atmel,24c128"; + reg =3D <0x54>; + }; + }; + + imux22: i2c@2 { + reg =3D <2>; + #address-cells =3D <1>; + #size-cells =3D <0>; + gpio@49 { + compatible =3D "nxp,pca9537"; + reg =3D <0x49>; + gpio-controller; + #gpio-cells =3D <2>; + }; + + eeprom@50 { + compatible =3D "atmel,24c128"; + reg =3D <0x50>; + }; + + eeprom@51 { + compatible =3D "atmel,24c128"; + reg =3D <0x51>; + }; + + eeprom@54 { + compatible =3D "atmel,24c128"; + reg =3D <0x54>; + }; + }; + + imux23: i2c@3 { + reg =3D <3>; + #address-cells =3D <1>; + #size-cells =3D <0>; + gpio@49 { + compatible =3D "nxp,pca9537"; + reg =3D <0x49>; + gpio-controller; + #gpio-cells =3D <2>; + }; + + eeprom@50 { + compatible =3D "atmel,24c128"; + reg =3D <0x50>; + }; + + eeprom@51 { + compatible =3D "atmel,24c128"; + reg =3D <0x51>; + }; + + eeprom@54 { + compatible =3D "atmel,24c128"; + reg =3D <0x54>; + }; + }; }; }; =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 { status =3D "okay"; power-sensor@10 { - compatible =3D "adi, adm1272"; + compatible =3D "adi,adm1272"; reg =3D <0x10>; }; =20 power-sensor@12 { - compatible =3D "adi, adm1272"; + compatible =3D "adi,adm1272"; reg =3D <0x12>; }; =20 @@ -348,22 +657,89 @@ eeprom@54 { }; =20 &i2c12 { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; bus-frequency =3D <400000>; =20 - temperature-sensor@48 { - compatible =3D "ti,tmp75"; - reg =3D <0x48>; - }; + i2c-mux@70 { + compatible =3D "nxp,pca9544"; + reg =3D <0x70>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; =20 - eeprom@50 { - compatible =3D "atmel,24c128"; - reg =3D <0x50>; - }; + imux34: i2c@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + temperature-sensor@48 { + compatible =3D "ti,tmp75"; + reg =3D <0x48>; + }; + + eeprom@50 { + compatible =3D "atmel,24c128"; + reg =3D <0x50>; + }; + + eeprom@54 { + compatible =3D "atmel,24c64"; + reg =3D <0x54>; + }; + + rtc@6f { + compatible =3D "nuvoton,nct3018y"; + reg =3D <0x6f>; + }; + + 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>; + }; + }; + + imux35: i2c@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + + imux36: i2c@2 { + reg =3D <2>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; =20 - rtc@6f { - compatible =3D "nuvoton,nct3018y"; - reg =3D <0x6f>; + imux37: i2c@3 { + reg =3D <3>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; }; }; =20 @@ -380,6 +756,8 @@ ipmb@10 { }; =20 &i2c14 { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; bus-frequency =3D <400000>; adc@1d { @@ -440,43 +818,39 @@ eeprom@51 { reg =3D <0x51>; }; =20 - i2c-mux@71 { - compatible =3D "nxp,pca9846"; + i2c-mux@74 { + compatible =3D "nxp,pca9546"; + reg =3D <0x74>; #address-cells =3D <1>; #size-cells =3D <0>; - - idle-state =3D <0>; i2c-mux-idle-disconnect; - reg =3D <0x71>; =20 - i2c@0 { + imux30: i2c@0 { + reg =3D <0>; #address-cells =3D <1>; #size-cells =3D <0>; - reg =3D <0>; =20 adc@1f { compatible =3D "ti,adc128d818"; reg =3D <0x1f>; - ti,mode =3D /bits/ 8 <2>; + ti,mode =3D /bits/ 8 <1>; }; =20 pwm@20{ - compatible =3D "max31790"; + compatible =3D "maxim,max31790"; reg =3D <0x20>; - #address-cells =3D <1>; - #size-cells =3D <0>; }; =20 gpio@22{ compatible =3D "ti,tca6424"; reg =3D <0x22>; + gpio-controller; + #gpio-cells =3D <2>; }; =20 - pwm@23{ - compatible =3D "max31790"; - reg =3D <0x23>; - #address-cells =3D <1>; - #size-cells =3D <0>; + pwm@2f{ + compatible =3D "maxim,max31790"; + reg =3D <0x2f>; }; =20 adc@33 { @@ -488,45 +862,34 @@ eeprom@52 { compatible =3D "atmel,24c128"; reg =3D <0x52>; }; - - gpio@61 { - compatible =3D "nxp,pca9552"; - reg =3D <0x61>; - #address-cells =3D <1>; - #size-cells =3D <0>; - gpio-controller; - #gpio-cells =3D <2>; - }; }; =20 - i2c@1 { + imux31: i2c@1 { + reg =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; - reg =3D <0>; =20 adc@1f { compatible =3D "ti,adc128d818"; reg =3D <0x1f>; - ti,mode =3D /bits/ 8 <2>; + ti,mode =3D /bits/ 8 <1>; }; =20 pwm@20{ - compatible =3D "max31790"; + compatible =3D "maxim,max31790"; reg =3D <0x20>; - #address-cells =3D <1>; - #size-cells =3D <0>; }; =20 gpio@22{ compatible =3D "ti,tca6424"; reg =3D <0x22>; + gpio-controller; + #gpio-cells =3D <2>; }; =20 - pwm@23{ - compatible =3D "max31790"; - reg =3D <0x23>; - #address-cells =3D <1>; - #size-cells =3D <0>; + pwm@2f{ + compatible =3D "maxim,max31790"; + reg =3D <0x2f>; }; =20 adc@33 { @@ -538,43 +901,30 @@ eeprom@52 { compatible =3D "atmel,24c128"; reg =3D <0x52>; }; - - gpio@61 { - compatible =3D "nxp,pca9552"; - reg =3D <0x61>; - #address-cells =3D <1>; - #size-cells =3D <0>; - gpio-controller; - #gpio-cells =3D <2>; - }; }; }; =20 i2c-mux@73 { compatible =3D "nxp,pca9544"; + reg =3D <0x73>; #address-cells =3D <1>; #size-cells =3D <0>; - - idle-state =3D <0>; i2c-mux-idle-disconnect; - reg =3D <0x73>; =20 - i2c@0 { + imux32: i2c@0 { + reg =3D <0>; #address-cells =3D <1>; #size-cells =3D <0>; - reg =3D <0>; - adc@35 { compatible =3D "maxim,max11617"; reg =3D <0x35>; }; }; =20 - i2c@1 { + imux33: i2c@1 { + reg =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; - reg =3D <0>; - adc@35 { compatible =3D "maxim,max11617"; reg =3D <0x35>; @@ -584,6 +934,8 @@ adc@35 { }; =20 &i2c15 { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; mctp-controller; multi-master; @@ -596,9 +948,50 @@ mctp@10 { =20 i2c-mux@72 { compatible =3D "nxp,pca9544"; - idle-state =3D <0>; - i2c-mux-idle-disconnect; reg =3D <0x72>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + imux24: i2c@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + temperature-sensor@1f { + compatible =3D "ti,tmp421"; + reg =3D <0x1f>; + }; + }; + + imux25: i2c@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + temperature-sensor@1f { + compatible =3D "ti,tmp421"; + reg =3D <0x1f>; + }; + }; + + imux26: i2c@2 { + reg =3D <2>; + #address-cells =3D <1>; + #size-cells =3D <0>; + temperature-sensor@1f { + compatible =3D "ti,tmp421"; + reg =3D <0x1f>; + }; + }; + + imux27: i2c@3 { + reg =3D <3>; + #address-cells =3D <1>; + #size-cells =3D <0>; + temperature-sensor@1f { + compatible =3D "ti,tmp421"; + reg =3D <0x1f>; + }; + }; }; }; =20 --=20 2.25.1