Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 27B84CA0FE6 for ; Fri, 1 Sep 2023 07:41:03 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=RxVWciRF; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4RcVMK3R6xz3c1k for ; Fri, 1 Sep 2023 17:41:01 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=RxVWciRF; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=wiwynn.com (client-ip=2a01:111:f400:feab::631; helo=apc01-sg2-obe.outbound.protection.outlook.com; envelope-from=delphine_cc_chiu@wiwynn.com; receiver=lists.ozlabs.org) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on20631.outbound.protection.outlook.com [IPv6:2a01:111:f400:feab::631]) (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 4RcVLD6v6cz30dt for ; Fri, 1 Sep 2023 17:40:04 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UY7bLI9yoAWk921H50/StKyNQUJfv0LK/7v2o9/PXVUsT8opUNuFkqls7PyeMqP5m1bOLJ5SW4WCMXNdjd3n1DsfgkNKSlWSvVaWSNq+HI3MkZv+ROXdBNYBS0u9o+nE4+KwkIHSUzdkAc9yic0B17m+Xhf9P9r3NhQHNiJk/qrYGZDMGS0gAcBq1WpuIropCh6eubeWHZ3x9rVCLJqQpu57xwkgFrqrY4XP5uhdYRJu72I8b2QGijtTAsn4rhDTFnuUW1ugme4wT50QXC9pYETGvRG0ckXKLGHvQmaeqUHxISol448V8cj9jGO/wohx7wOJRLBqLBpWmTNLNCbboQ== 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=MYAXy9U+885P2l+99n1YfZxU80HxXtesXyO5siW3Cw4=; b=MgvxwrEu2QVjOzTSyYn2H2kr5KpUZ/qDAcIIrFRJba8nbj7LDNRuVIGB/fhOD5ETw7tt5cw1EL/RKoVDHV6ULuHh76mcA2HA0WJV1pvxwdF4+6UqfkSTa6q5T4bn+sJHu3qdpaN0DWlBWeArF3MAd/0gYsMHq3kM0Ug3j4+7EEzLWKfNZvEANSaVFzn9yyKNfCVLOdQGjwOfDDjkHl9HuwyLiqa0axsCRcFphnK+gOq2eZscUBrrX7+C4twvaNvN+SuB5olpmrbCIKVJUIsgnD3DSqwMmNnt78VZLc6gdnem22mgsOXiMrlcRxE/MR0Ig1/zFo8i+LUq1wJURE9zTQ== 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 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=MYAXy9U+885P2l+99n1YfZxU80HxXtesXyO5siW3Cw4=; b=RxVWciRFES2YTB0a8x4PayqhBy+iQbbsk9QkZB5MXncYFoiTQrVRVDDFgD2PpjEUpv3L5e/nUtrr7NCSRdZFtn0XNL5PPz+PwAbwMv00WHSP3fBTKh89oP+zs95sKgiGcXUNYqatFf1bFPDNhqjUSPxpOPGC70EoCHtQtdG9cyUoMP2sHjpDFzX/AekrQDPedYmEYNGxlSATbVF0sT0SLfIpgm/o/mOXt55hFvdhIsOtDwYKSeSOFne57zbcC/qUKqrSTkQcPJGUJwhmGao+HJeSWZfYQdHRBv3gpxbX2SkUk/t/Pb8DpXzIawNAswqkNM80Cz1o59BUNg/iYtyfZQ== Received: from SG2PR01CA0128.apcprd01.prod.exchangelabs.com (2603:1096:4:40::32) by SG2PR04MB5915.apcprd04.prod.outlook.com (2603:1096:4:1d7::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.21; Fri, 1 Sep 2023 07:39:45 +0000 Received: from SG2PEPF000B66CD.apcprd03.prod.outlook.com (2603:1096:4:40:cafe::a8) by SG2PR01CA0128.outlook.office365.com (2603:1096:4:40::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.25 via Frontend Transport; Fri, 1 Sep 2023 07:39:45 +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.6745.17 via Frontend Transport; Fri, 1 Sep 2023 07:39:45 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, openbmc@lists.ozlabs.org, joel@jms.id.au Subject: [PATCH linux dev-6.1 v1 1/1] ARM: dts: aspeed: yosemite4: Add i2c-mux/eeprom devices Date: Fri, 1 Sep 2023 15:39:39 +0800 Message-Id: <20230901073939.1532119-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230901073939.1532119-1-Delphine_CC_Chiu@wiwynn.com> References: <20230901073939.1532119-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CD:EE_|SG2PR04MB5915:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 47d8ee87-e8ea-46b6-1a17-08dbaabe9cd7 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3AIPJH+bWzNlKAEuQXJqe9GkK7BA6P6kyKE0PDr6dnT2tGD3AQBm6myDTHSCb7Ckk60UCmMDoc4YozPEJykyzMmvw4sKt1F+wLkYITB6sYCjXarwcj4GT9DloT34IAtq7nYzsEG3246XnfATHEaod13c9LLNjDXixJlvHzd6uQOcUg5Zm9w52n1kmpStc5MmzF3VhtozR4uC8wfhoAVd/iEplHUU2OvcKWGnvy7azePWzHRQ+y4YoKBFwA73694PxI7XgtoyY/e8i2Hnm/XuegDsxvjhdvCBhmh43H9bm9y0AvH6gwvHNWG0GTegExfXH+ZDBOHe4VG0BdeaNmq21it4o1LJHiIp1n2sKBPjSIDJY0ZUB919wKWqeeN5qlcn5NeuFE1bebFZRAlDiNbrMGc4hcaUkd23UzLcoPd+ABrx3gkXVQaeW5L5MP9hiVIfE+/rQiebiiz/cPFOBYF/Lu2dXMdGIUNpnPFSV16fg0TqoJDJfMh83OhFsGy+iqDI6GiJHgN5vQpn7hmjEXY1LHCRMlVagN2jGYXNtAJFSMcWa452EYRWnTtNRIj1S44NpXBeQ7Y9VH7nPVaDQTDhIvNUAcgpZYuFN+JZeT5H+njdtYu+hMoBlW8d3J/NgesHwluHiKkafZtu9wTUSXrwQfSm+UNiOiGpzw+RwpRuzXWKul2JPXOOheVykibYDy6bGQTLp9vKQTBa9BUezw2NDg== 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)(6069001)(4636009)(39860400002)(396003)(346002)(376002)(136003)(1800799009)(186009)(451199024)(82310400011)(36840700001)(46966006)(356005)(82740400003)(6666004)(6512007)(6486002)(6506007)(36756003)(36860700001)(86362001)(81166007)(47076005)(40480700001)(2616005)(1076003)(30864003)(2906002)(336012)(26005)(956004)(83380400001)(107886003)(478600001)(70586007)(70206006)(8936002)(8676002)(4326008)(9316004)(5660300002)(36736006)(41300700001)(316002);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2023 07:39:45.2095 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 47d8ee87-e8ea-46b6-1a17-08dbaabe9cd7 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: SG2PR04MB5915 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Delphine CC Chiu Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" Revise Yosemite 4 devicetree for i2c-mux and eeprom Signed-off-by: Delphine CC Chiu --- Changelog: v1 - Add imux configs for i2c-mux - Add gpio and eeprom devices - Add spi-gpio config for tpmdev - Remove temperature-sensor 11-004a and 11-004b - Change power-sensor ina230 to ina233 - Revise adc128d818 config for adc mode - Add vendor prefix for max31790 and remove redundant config --- .../dts/aspeed-bmc-facebook-yosemite4.dts | 546 ++++++++++++++++-- 1 file changed, 508 insertions(+), 38 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-yosemite4.dts index 1ef3ff849ec1..d0b14bcabdc2 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/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 { @@ -34,6 +53,25 @@ iio-hwmon { <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, <&adc1 0>, <&adc1 1>; }; + + spi_gpio: spi-gpio { + status = "okay"; + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + gpio-sck = <&gpio0 ASPEED_GPIO(X, 3) GPIO_ACTIVE_HIGH>; + gpio-mosi = <&gpio0 ASPEED_GPIO(X, 4) GPIO_ACTIVE_HIGH>; + gpio-miso = <&gpio0 ASPEED_GPIO(X, 5) GPIO_ACTIVE_HIGH>; + num-chipselects = <1>; + cs-gpios = <&gpio0 ASPEED_GPIO(X, 0) GPIO_ACTIVE_LOW>; + + tpmdev@0 { + compatible = "tcg,tpm_tis-spi"; + spi-max-frequency = <33000000>; + reg = <0>; + }; + }; }; &uart1 { @@ -262,6 +300,186 @@ i2c-mux@70 { idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x70>; + + imux16: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + }; + + 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@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + }; + + 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@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + }; + + 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@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + }; + + 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>; + }; + }; }; }; @@ -273,12 +491,234 @@ i2c-mux@71 { idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x71>; + + imux20: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + }; + + 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@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + }; + + 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@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + }; + + 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@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + }; + + 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"; + idle-state = <0>; + i2c-mux-idle-disconnect; + reg = <0x74>; + + imux28: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + }; + + imux29: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + }; + }; + }; }; &i2c11 { @@ -331,16 +771,6 @@ temperature-sensor@49 { reg = <0x49>; }; - temperature-sensor@4a { - compatible = "ti,tmp75"; - reg = <0x4a>; - }; - - temperature-sensor@4b { - compatible = "ti,tmp75"; - reg = <0x4b>; - }; - eeprom@54 { compatible = "atmel,24c256"; reg = <0x54>; @@ -361,6 +791,11 @@ eeprom@50 { reg = <0x50>; }; + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; + rtc@6f { compatible = "nuvoton,nct3018y"; reg = <0x6f>; @@ -370,6 +805,25 @@ rtc@6f { &i2c13 { status = "okay"; bus-frequency = <400000>; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + }; }; &i2c14 { @@ -378,43 +832,43 @@ &i2c14 { adc@1d { compatible = "ti,adc128d818"; reg = <0x1d>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; adc@35 { compatible = "ti,adc128d818"; reg = <0x35>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; adc@37 { compatible = "ti,adc128d818"; reg = <0x37>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; power-sensor@40 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x40>; }; power-sensor@41 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x41>; }; power-sensor@42 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x42>; }; power-sensor@43 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x43>; }; power-sensor@44 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x44>; }; @@ -442,7 +896,7 @@ i2c-mux@71 { i2c-mux-idle-disconnect; reg = <0x71>; - i2c@0 { + imux30: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; @@ -450,14 +904,12 @@ 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"; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ @@ -466,10 +918,8 @@ gpio@22{ }; pwm@23{ - compatible = "max31790"; + compatible = "maxim,max31790"; reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; }; adc@33 { @@ -492,22 +942,20 @@ 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"; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ @@ -516,10 +964,8 @@ gpio@22{ }; pwm@23{ - compatible = "max31790"; + compatible = "maxim,max31790"; reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; }; adc@33 { @@ -552,7 +998,7 @@ i2c-mux@73 { i2c-mux-idle-disconnect; reg = <0x73>; - i2c@0 { + imux32: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; @@ -563,10 +1009,10 @@ adc@35 { }; }; - i2c@1 { + imux33: i2c@1 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <1>; adc@35 { compatible = "maxim,max11617"; @@ -592,6 +1038,30 @@ i2c-mux@72 { idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x72>; + + imux24: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + }; + + imux25: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + + imux26: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + }; + + imux27: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + }; }; }; -- 2.25.1