Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp898580rdb; Wed, 1 Nov 2023 06:11:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEroUaqmQpAlZ/q2RkJiE8EPcKnI+vLGg/bA7zwniA7rzSHHK1S3/t8xLJ8RKGTqnWiGYYn X-Received: by 2002:a17:903:430f:b0:1cc:348a:a81d with SMTP id jz15-20020a170903430f00b001cc348aa81dmr8858132plb.31.1698844261175; Wed, 01 Nov 2023 06:11:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698844261; cv=pass; d=google.com; s=arc-20160816; b=Cd3gDn291UsGGNky3Yj4wIK2DzLBxAoieoggeu1wsVvFl/D1x+ZuPY8IH0woHq4hFW stqkCyqM/3gDN+wiMu6BsME904cryYI6kEkSWI+Pz5ig+dRIDvAvyXk2sXRVbr41/6Jq Sb94GJZHxj+wbomZwD0x0KUzFXOg5HS59qBLdaC20bVgY562XUsOqKS/kIQbsx76odje zsmKNGulu7xl7OTs6Y6Z6F2VFEIr71Pl0w5HQm7r36AqUh7qLnabBbvUfdv3jeYC8lWV hktHqWG2Re0j6zBqRBDTwSa3ugFmM6cJEUhQvgVbUufNPw0JFcg2iHmhsaVMJ9D9pkdb ib8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iJWCQvw9a7gQETE9gHdACqfaOJPGoodWSi2uN4bMFR8=; fh=Ym4qTpD4M3cm0TbrVGNdP2Ob6NKlyMYuL0vwrAGUgx4=; b=CWwHp5TdLg5DojRSF4g0dwbEkyxEozslJyX7i1Ael3dwAqegYxA6bX3g84+Dv/Sbfq +dG/xJbVYeo4yJ11APM1QwJf80l+eqWXBUO9DKIZdc3TLSRVG8p4m/5HgsbZ2lyJWOlQ FXk8MmiaS6qKKSsX+0e33g2+AGeOFUQIgj8ZZz0A63VDnW6FEQxn/rZGl83/VOzL8wpg oduwEcT8rV7DNvv3iAqAgrGk97pSvvNXG7Q1AauDyv6mb/1WD3fq41sffLfKJXcH7eaS 82FNghGmWE+gcYJgspRHb+Z6egA8qvzVYkOeb0Gf7i/+KAc/P5uJ2pkeHwitrJWxDxZD xWvQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b=O85y7+Qq; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wiwynn.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id t4-20020a170902d14400b001c0eefc0dfesi2834883plt.130.2023.11.01.06.10.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 06:11:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b=O85y7+Qq; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wiwynn.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 20CFE80984A5; Wed, 1 Nov 2023 03:06:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233728AbjKAKGd (ORCPT + 99 others); Wed, 1 Nov 2023 06:06:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233409AbjKAKG1 (ORCPT ); Wed, 1 Nov 2023 06:06:27 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2089.outbound.protection.outlook.com [40.107.117.89]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D01EBDA; Wed, 1 Nov 2023 03:06:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GMt9rf5EdITkXUJECENyU94y17Zs/I1XevWee6FRE6u3Ufk1YYu+f/tvkKg3bfzMrLGRW5YZXISgIJ+BqHWQwZcKMAWiUUJL5bMIAeSC3y4k1HxaEsjmEJ61456pU3sRdAMyKkLXYwjIEcrda0lVh+dMLGD94tkhAM4phRzuPy4x9mAdy0+TF6F+OUl3RAHbarvVFbyXWWnMpjof9URSi6HnO57jHCXj2s2JFa03zAEmYoLZZ/gP6JTBv+7iZSCnfbytccnXSOPyvnwSlBzv69q2GMHAyEgfyHGIQEPvaC7AkOVZ6yFprs99tKoWr422CjrmojlogSHEh0nikNvr1g== 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=iJWCQvw9a7gQETE9gHdACqfaOJPGoodWSi2uN4bMFR8=; b=czJlZSPTe+EdE0lUruY3ULihTLvP+Xed3HvYIr4YkyWJwcINTTadlQXAII2dZ5UYUoMLqjyrhwckcMc8+9suO92cAzFNjfox6zztqUTY6D/cbCh79YDQpW3nOBdNLWJcZ39dFoQmzUcmNapAXydiWTVSFP3MRQ3xAf+BAJ6OKxwVy0Xh/DcaDonk1XVnuGhAf1okkOEivzbfqzdZojiFlyppkWZRKUE2URG/p8/ZR/pvKTcQBR/r+JN5A+vDPZedKtkh9I0SOP+DMu0RX1p/97FdP+LwcyYC5sylxQqRVVm2Bc1OuK5sPXWKcg7J6ohiGZKr0s7dyAjpiWZP1sAm2g== 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=iJWCQvw9a7gQETE9gHdACqfaOJPGoodWSi2uN4bMFR8=; b=O85y7+QqWYE3jkmCH3PlMbMlHKQHQfiHfQerQw/+sDGc2q+q8UhM5gZdtfn2/g95DqxElLSp7w1vXmJkli8GtWbtcri6tycqziW85iIYAJ0XASA6apFCRWkJt7dlnYtGLqWSkYB9PYOBKIuvgpo1lQ8WrLQJutqnCZgo9RT48KKNE/zAix81+XhTY1iiH5PUeRqsmGe0smBVoWiplSwdv9RAwrl4ikPWlcqYQdu5F8RGpB/4ji0j7GbXjIc1O7N3o+SbpJHYKL9P4758DqNKcNPVjBi5YCvtQe8Dd8PV/MiGlEY12Sg2wduk0DQu2T+gZdqf0Lbz3gtVxK8U6t5prQ== Received: from PS2PR01CA0054.apcprd01.prod.exchangelabs.com (2603:1096:300:57::18) by SEYPR04MB5642.apcprd04.prod.outlook.com (2603:1096:101:3f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.27; Wed, 1 Nov 2023 10:06:15 +0000 Received: from HK3PEPF0000021C.apcprd03.prod.outlook.com (2603:1096:300:57:cafe::45) by PS2PR01CA0054.outlook.office365.com (2603:1096:300:57::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Wed, 1 Nov 2023 10:06:15 +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 HK3PEPF0000021C.mail.protection.outlook.com (10.167.8.38) with Microsoft SMTP Server id 15.20.6838.22 via Frontend Transport; Wed, 1 Nov 2023 10:06:14 +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 v1 01/10] ARM: dts: aspeed: yosemite4: Revise i2c-mux devices Date: Wed, 1 Nov 2023 18:05:58 +0800 Message-Id: <20231101100609.2516844-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> References: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021C:EE_|SEYPR04MB5642:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: d9157772-94f8-4c7d-1a5a-08dbdac22f07 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: okbea2/QYHjYif1YscOx5cIywuPtDCCSBwlMdOZZVH/1gu1xzjKzI1XaGJXbNgQ8k8JtXF70kwSC2GHCOd1LZrxmnUbMah9L0Fpljm7qHSpr9oJF/t2rxjHoU9W15EBQutoLj4+eWU+aKyk05DTmlNYC3+1txGH7JSe3vR7nT6v60pFOsghTtNCOemvSG7mBYvTjqvQhOnu/xiphXWdN+QAlCAcmtj0uayDzR/4qGgHJIi27Od8cIZ68GiKHRUDoihCsFqD9ODlXQ99Q615y5U6IIZjKKgjEpqASe+VGWc9yB65L1WdUlQw0vmbFXOQGcei+arLirGiTbCpGsXJkxmoxCFnZQN3mWb2yG1HPUqu+nz2QskdV9lz1hQ1qhAXz98RCbdd7t/v7gzAsTP44aimnxFiIrBC/eNKh41enBtYuqIaodg0lRJGWF60tcAyNLjB4Y3SNOaPh+pDeKx9bZC8otKIEw8boHEd0ZBTplxLrIjDdne4IbJuAqtQx3Hott0rJXvVMD4+5qAdbsK5N/Na6rK+EEAQPvNhxL7t7LrhLx98NBw5VnUT0mxf2oz9X1b0wfADYCVJONU7+laFMhY44h0UybvGA3cYddm4zNCPCUnuFNNErKpY5/VuZaJQFqqhAvcvQCf0ESbLCnDWPxA0D1n1pBHBo2H2e893uwEv9N1qPc7CRDGE7+YEceoQE0Afufdh+9HmZBKnk26h7vQ== 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)(136003)(346002)(39860400002)(376002)(396003)(64100799003)(451199024)(1800799009)(186009)(82310400011)(36840700001)(46966006)(6666004)(36860700001)(316002)(40480700001)(2906002)(7416002)(8676002)(41300700001)(4326008)(5660300002)(8936002)(36756003)(86362001)(82740400003)(356005)(6512007)(70206006)(6506007)(47076005)(36736006)(956004)(81166007)(26005)(336012)(83380400001)(70586007)(2616005)(1076003)(9316004)(478600001)(110136005)(6486002);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 10:06:14.8374 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d9157772-94f8-4c7d-1a5a-08dbdac22f07 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: HK3PEPF0000021C.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB5642 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED, WEIRD_QUOTING autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 01 Nov 2023 03:06:56 -0700 (PDT) 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 64075cc41d92..a5b4585e81e6 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 { @@ -433,16 +711,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>; @@ -450,26 +726,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 { @@ -492,34 +768,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 { @@ -547,12 +823,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>; @@ -563,10 +837,10 @@ adc@35 { }; }; - i2c@1 { + imux33: i2c@1 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <1>; adc@35 { compatible = "maxim,max11617"; @@ -589,9 +863,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