Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp866090lqp; Thu, 23 May 2024 02:19:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWUaDrZ/JIQ051nUsbfqNse5P3LFsD4Xgc18oFRQfvNzfdmihIn816F4qCXOcXNxubOmBcFCqHQ6+YCv1y0RQLRi2Dwct3f9TGd8dsAag== X-Google-Smtp-Source: AGHT+IHliudWBHumn4KyzwIvbvq69+l7km2EdS9TKQXnDRlC/fshBCLrWiSNV3lvZhreY9mO9ZzY X-Received: by 2002:a05:6a21:6da4:b0:1ad:6c36:ee82 with SMTP id adf61e73a8af0-1b1f873841bmr5965770637.13.1716455968041; Thu, 23 May 2024 02:19:28 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-65d26faca70si9004584a12.253.2024.05.23.02.19.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 02:19:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187233-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b=rKgVTQ4Z; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-187233-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187233-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wiwynn.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 384C9B219C0 for ; Thu, 23 May 2024 09:19:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CFE0313D61D; Thu, 23 May 2024 09:18:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="rKgVTQ4Z" Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2064.outbound.protection.outlook.com [40.107.117.64]) (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 27D0613D28E; Thu, 23 May 2024 09:18:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.117.64 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716455908; cv=fail; b=uTyFtvRQeUt9kMHpsiTEvtUaK6J4l1QVM6OmQ6/oF6IUT+Je1XjVUnv+tnKNx3dDpB76WND82C0UFxIo73jnt6gIJn7Td3rcOiQkgyoIcwUYypSh3xICrgCsuLzgnL5R8QG0Am7nc3nnWmTKLO8fpyqqG+jivPJqPHSJRTzaFCU= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716455908; c=relaxed/simple; bh=qye1+odmSLvcZWpLGZXShZcJWroDKnJ7ydMvngFvmyI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=Voa6f6qffR3WCq0kNBg2WVAkwHb8yOxZyPhpkh02GAxhPD1okzoK02MQG9Tz9dy0R+6Q17GyzLAI+QxgryMCcTdoO3ekwvEgA/H0cy5q6FzobAy4B0ssOgTl97GJ0nXoj82hFX7Vi7Q/8xYgcodPusitzPDNZyxVkm99kyjTids= 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=rKgVTQ4Z; arc=fail smtp.client-ip=40.107.117.64 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tz8LtdOMF3fbKi2t0dBaZd/j/XZbk+W3vTP0qDsOZ4lvV6uau9AgiqQx9FjxghiU2v+hixAgdqdkjAa0mudofntiwKzVyhqhBXUkT49YBcZfe9vbi2XwsBnOw4ZKonG0n0sM0lW0olmKv38Ll4PCG3qHqPfV9/5Dj0aAwnvBV/8Q+MKDDVaUxe4ZCPZnmXIvzMVgY5zapN/eyclRt7c0EEeLvbcl0nKcOSkIV34CfsSJrlEnE0+/xDaPqE3Sd4c442oq1bCfFSUUnw+enBU0ccW4Pf09x31qvvjG1b3cWNDh5Y3EhUueatDmUW7uNOhTY/Xgw8g3hRGYeVsUiKUxNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=vF4Vr+mnAo6sL4NqnPknKFu4wSGhcaCxskXcr5n8QwA=; b=btxm54p/qlDBKsSpt7qTROdodk5l+9Ggh+etN9ySKMpleSr/zLyrjhEj3INk3zqHQc7FfbHuEOt4Z9y6IVDGyJsaKa6/cJPlbVgPwALwkCaTh9LXwINsAyU5CCB9oq5OujjW9fsGlOowRmO/KmuGTxnoTYs9v2h520DKZJihWsqzDhFO3Q9HXz4L2qhifRYF3NMWl5J9z+cl8+isw4wErgPlMNHA3ki0L/MU7DPTYu5VO5504/WZxbEaTaF3L7xxqjHbDzk6Im20fouE3mmOh8abrpRZHRPACnRjM++eLSPuX66lyR/wUk6+aeDpp/7iDslwqyyx1D5kX1f39tcAwA== 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=vF4Vr+mnAo6sL4NqnPknKFu4wSGhcaCxskXcr5n8QwA=; b=rKgVTQ4ZrPRK87sZ7pt5OxXjj6tMoRWkaA/istJjTrbrbe4GNC4sXNeSpFe4pEl3YqqPEjOrnVlPbiVF/Nw7+ydQQL987rxulnKPJffjb25OWrPIUE8vxVf0XvbiFMzSJKVQrAbNQI9YS5/KNv4ScKf3h+1UuNAPTATImzIHMkLogibtk0ZJRXWcIOW/zOxXMIIU8v9Rdoqv4MAJkAL//nNQUgzFsBSZVYwNOErezEFTzu1ToHUtOVVWvYROpTPagM5R9OufA9afns1J01geTZ/7VboxbOxWz8tAo4z+qhw1w79wlC60mnx5nOWQmVZgk++cLMOTnhUuNTkC1LUK2Q== Received: from PS2PR03CA0010.apcprd03.prod.outlook.com (2603:1096:300:5b::22) by SEZPR04MB7314.apcprd04.prod.outlook.com (2603:1096:101:180::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Thu, 23 May 2024 09:18:20 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::6d) by PS2PR03CA0010.outlook.office365.com (2603:1096:300:5b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.6 via Frontend Transport; Thu, 23 May 2024 09:18:20 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18:20 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: 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 v8 01/23] ARM: dts: aspeed: yosemite4: Revise i2c-mux devices Date: Thu, 23 May 2024 17:17:48 +0800 Message-Id: <20240523091812.2032933-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-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: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEZPR04MB7314:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 98c1a482-15b0-4807-895b-08dc7b0949df X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|82310400017|376005|1800799015|7416005|36860700004; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?f32gv6P3lMs3fpNsedpLqGpULynXaTwiXGxW6saexZnlZQLRbvlq6SJ8zpZQ?= =?us-ascii?Q?BaJeeYc2JmGyYB8EOCeaw9CvWtUCFkmnrBGWO3VVCiuKcsEaQh6EAU9hdnc2?= =?us-ascii?Q?UKBZROghhCz+406TE6xSfJmOMr1Pkirqonk09PfM+tVgjFVpT407OAUcgeZW?= =?us-ascii?Q?+NvypK9opI4TkZ8EV2Y2ef6fR4XB7n5MeZ6zBbCqFNMixTKt9fui0KsfT6q2?= =?us-ascii?Q?U+sryIko4xZrzgGL8AXSRugtc5aL5N7XXVZy0N0A0NWHtwC2QopQMpRRGXA+?= =?us-ascii?Q?jmo74b9/GOp7z6O5x6dNaBGZ9ZF4/hDU3a3pfzNeE513B7lmLZySJ1T6ZHxu?= =?us-ascii?Q?5b5AEpJzrryQ+7IHaKsf2vIrBzhWm2f8gnkPWSqAHRRTp2cP0Beg+Gcjqk1P?= =?us-ascii?Q?+icDjUQRk9OlSLy/X8gQEKbbsGEi/qW4Xc9g4TTUeMMjCRaYR/guFN6Iycss?= =?us-ascii?Q?OKGcP14weMFtAyQjpRmnivjTW6gTGD69GGi0n837xnZVzLzVqEVekJGTCJ9n?= =?us-ascii?Q?e5v/rean3h9ciu3NRG3s+Nvks4390+jhJZ4SyFVMIUPlG+FHmBtv5hRv95/G?= =?us-ascii?Q?JvHmftpW9+aYVe6VUu7cnkPDULMWPmqBATdtHofPtmQ161e06eJrndOg5whi?= =?us-ascii?Q?qSyihEDr7jEZXvgqQDVnEYLR1jVnbyfrueLBXrlKxK2jmVjn/4ErRpriJbxx?= =?us-ascii?Q?izrCukkcR0YB/9VJFD1zYZZc5P2xpY/oDLN0OSNT9iLawhrlqIl1b/Z/l1lt?= =?us-ascii?Q?lhBX5DkXCLZOk5AqEnnuDSWcdvCd/sYisZgI8azVo9BX5IBZEf3EaQc2rkWE?= =?us-ascii?Q?wdA6CEZKK1hXGPhU1ecdNi1L6nYsMGuVJ8++prxxFuBW/jHeZLAQjaPl1YKO?= =?us-ascii?Q?ceW5EinJKMuyrK7JZAo4ihlBH8TvR0bZv4/wrFHMohCpipbChDC++eVD2URd?= =?us-ascii?Q?igyAD+piyEysYR45P0Hlj18wLQ5yURSohHIwr1bnfWRNyjG55ZUlb06JJFoL?= =?us-ascii?Q?UO7sozRshVO8BEcBiU2omsG9gILJ6JTuISA1sQ6Q6ZIHHf5s5KtEa1UC8bMu?= =?us-ascii?Q?Z1tyLWP1EBxiD+g7+V3mMH4PAsGOdbDqzpHcwKfnj0pN8pmpbPZUFF8GwJy9?= =?us-ascii?Q?LfElpd8P8ZGPsPN36RrpyqkOnwwsyJX5L6eyYn3Y+B4FJoAMtjuVh2KvAxZx?= =?us-ascii?Q?/Y0rUx71dHjvxAVOiapXc7HcbViZEeMkgDFNkztRdLft4TSXI77Pd4rpFa1k?= =?us-ascii?Q?/X34R6K2Hmms++rdwsq0iRVa/R4mP8kNFdKX7zal5gYBWpcE/R86WRBitV9t?= =?us-ascii?Q?0mJ9ycIHkx9xjBufVwXG4Tprjh6MsLKG6DgRnUOaLWBRZv+sSN+Ur5k8m+iv?= =?us-ascii?Q?2YY+7dM=3D?= 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:(13230031)(82310400017)(376005)(1800799015)(7416005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:20.1888 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 98c1a482-15b0-4807-895b-08dc7b0949df 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7314 Revise Yosemite 4 devicetree for devices behind i2c-mux - Add gpio and eeprom behind i2c-mux - Remove redundant idle-state setting for i2c-mux Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 381 ++++++++++++++++-- 1 file changed, 347 insertions(+), 34 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 98477792aa00..66855efa0b4b 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,25 @@ aliases { serial6 = &uart7; serial7 = &uart8; serial8 = &uart9; + + i2c16 = &imux16; + i2c17 = &imux17; + i2c18 = &imux18; + i2c19 = &imux19; + i2c20 = &imux20; + i2c21 = &imux21; + i2c22 = &imux22; + i2c23 = &imux23; + i2c24 = &imux24; + i2c25 = &imux25; + i2c26 = &imux26; + i2c27 = &imux27; + i2c28 = &imux28; + i2c29 = &imux29; + i2c30 = &imux30; + i2c31 = &imux31; + i2c32 = &imux32; + i2c33 = &imux33; }; chosen { @@ -259,9 +278,109 @@ &i2c8 { bus-frequency = <400000>; i2c-mux@70 { compatible = "nxp,pca9544"; - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x70>; + + imux16: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux17: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux18: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux19: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; }; }; @@ -270,15 +389,174 @@ &i2c9 { bus-frequency = <400000>; i2c-mux@71 { compatible = "nxp,pca9544"; - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x71>; + + imux20: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux21: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux22: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux23: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; }; }; &i2c10 { status = "okay"; bus-frequency = <400000>; + i2c-mux@74 { + compatible = "nxp,pca9544"; + i2c-mux-idle-disconnect; + reg = <0x74>; + + imux28: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = + "","","","", + "NIC0-MAIN-PWR-EN","NIC1-MAIN-PWR-EN", + "NIC2-MAIN-PWR-EN","NIC3-MAIN-PWR-EN", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + }; + }; + + imux29: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + }; }; &i2c11 { @@ -440,16 +718,14 @@ eeprom@51 { reg = <0x51>; }; - i2c-mux@71 { - compatible = "nxp,pca9846"; + i2c-mux@74 { + compatible = "nxp,pca9546"; #address-cells = <1>; #size-cells = <0>; - - idle-state = <0>; i2c-mux-idle-disconnect; - reg = <0x71>; + reg = <0x74>; - i2c@0 { + imux30: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; @@ -457,26 +733,26 @@ i2c@0 { adc@1f { compatible = "ti,adc128d818"; reg = <0x1f>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; pwm@20{ - compatible = "max31790"; + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ compatible = "ti,tca6424"; reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; }; - pwm@23{ - compatible = "max31790"; - reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; + pwm@2f{ + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; + reg = <0x2f>; }; adc@33 { @@ -499,34 +775,34 @@ gpio@61 { }; }; - i2c@1 { + imux31: i2c@1 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <1>; adc@1f { compatible = "ti,adc128d818"; reg = <0x1f>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; pwm@20{ - compatible = "max31790"; + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ compatible = "ti,tca6424"; reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; }; - pwm@23{ - compatible = "max31790"; - reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; + pwm@2f{ + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; + reg = <0x2f>; }; adc@33 { @@ -554,12 +830,10 @@ i2c-mux@73 { compatible = "nxp,pca9544"; #address-cells = <1>; #size-cells = <0>; - - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x73>; - i2c@0 { + imux32: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; @@ -570,10 +844,10 @@ adc@35 { }; }; - i2c@1 { + imux33: i2c@1 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <1>; adc@35 { compatible = "maxim,max11617"; @@ -596,9 +870,48 @@ mctp@10 { i2c-mux@72 { compatible = "nxp,pca9544"; - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x72>; + + imux24: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + imux25: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + imux26: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + imux27: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; }; }; -- 2.25.1