From patchwork Fri Sep 6 06:26:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 1981554 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=uKmC6vWG; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X0R9L53Tgz1yhD for ; Fri, 6 Sep 2024 16:27:34 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4X0R9L4f0Xz30QX for ; Fri, 6 Sep 2024 16:27:34 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; arc=pass smtp.remote-ip="2a01:111:f403:2011::60e" arc.chain=microsoft.com ARC-Seal: i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725604052; cv=pass; b=QTeyGWsfZwFWeb2eYikdE7YoQId6rosK2AkcUChVto/mXBmLrrLnvweusaZ+dbjxhtcgz5tOpPA7xx3Z79MaRCnsyVphIcW4OhVnRA7O2wl6SzJKqaxdvZslU+73y3NFDFyJ28QqJiTchSKp9q86kvPasS6VARDGpEt3fyH32UBL+K64einc7mbWRErpgKCJeNtF0zoNrCgkRJp+nV/dpODL3ED/+f+MmfXOAIc3wCnjfmg7GWHxp31BsyVA6HGim5McNK2FGujGwViRgZAl0HAbg44rjAY5awdRAG/Pg5CZv5hBDHeOWke/Aupdz7qJI1GuPG/frFZCYrf6cLiDSg== ARC-Message-Signature: i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725604052; c=relaxed/relaxed; bh=MpSriWfetK7algw9l4MNrHnpp7Z7wNyiJZzZzENk6Z0=; h=ARC-Authentication-Results:DKIM-Signature:From:To:Cc:Subject:Date: Message-Id:In-Reply-To:References:MIME-Version:Content-Type; b=JLnCv/CocFfMd+43McZUeFZXsmomSEqcRjbB8Re/88BVrtKL5cebFC3FhDMoRHNcyTgqr/cuP9YamISFwORagGMSkYcvxyrLnyCJFwwtw7kFjWanPfMPbGofjJjDodF0Wxx382DLrMoRPYhXbWYB2UBzeyfuNxFZRj2gIL4g8vRrWElVI72RCTWJSW0R6Itcfk9cPUNCcoDOCzmkgv1qb8iQMVtNVhmfpFWjIBAN5EJNCZBnFqLDu74i9Qg2Bwr66NLUMh2LOu7MPsjv6JyP3EGgy3vBDleZYWQb/KGY4a6dyipiW2Ob3efDAocRNQxMLkDWyVlTYfGR2o3ux2pzXw== ARC-Authentication-Results: i=2; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=uKmC6vWG; dkim-atps=neutral; spf=pass (client-ip=2a01:111:f403:2011::60e; helo=apc01-tyz-obe.outbound.protection.outlook.com; envelope-from=delphine_cc_chiu@wiwynn.com; receiver=lists.ozlabs.org) smtp.mailfrom=wiwynn.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com 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=uKmC6vWG; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=wiwynn.com (client-ip=2a01:111:f403:2011::60e; helo=apc01-tyz-obe.outbound.protection.outlook.com; envelope-from=delphine_cc_chiu@wiwynn.com; receiver=lists.ozlabs.org) Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2060e.outbound.protection.outlook.com [IPv6:2a01:111:f403:2011::60e]) (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 4X0R9J3ntYz2xvF for ; Fri, 6 Sep 2024 16:27:32 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FX5FFHqT5hNyYMuupNYE6t/CdrXUPmgCe9xXvrE05YvD9BrYIjnxpOtpBN07FIYytU9g1a6zZs+zFnMAuAOTs02LBUjVkefDgvfjfJ+Oe9D9dodQUo2fY+O0gXJWLeh7dQTPn9OUrkk+JFiUBTjn8g4FANBqgDUtVsGJ3I0FJl3GtbfKVRzDMd6BOy2qi4yPp3TO5uHnf2vUkaHM7UmJdnIgTLcnQdX1mD9rYWg1HBCtIcQLuE0EGNIVcSGOdXdJvb73ovMxtZLC+guaJzE9+2BtuGfkX5SpxeNj/361T2QAtUG+Rg7EMndcQQFlSf9emAHPegoZqGugWOYVuNpdJw== 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=MpSriWfetK7algw9l4MNrHnpp7Z7wNyiJZzZzENk6Z0=; b=lgJjDHHuv3FEK213kiaEbsQEcFloXXV8xN4wm82rzAJ3+lzLW7CxLJrEgEUQEUYXpN1Sl+RQsuIFtSBQ5offUnlgzeEHQd17i7ff/V67wtkdUqgQbzbQGU76Taxsu4Q40Uv+Qhh/BKyqKv8IYYrgLVvEqvq4t25EhGknC3x+IYIoRKauN6tSMt1SmbcR/oQeUjibgey5MfkAjavaNqzqnWPybolUdc6FNBWf86cvINA3h5J/3xOaKCskRsthIYdT12Y5c3/tU/aXucBVwGfURfkGwQaYUOSE2kEJZ+MBBg1N3OrC1EOP3n2NpWFox3YdFmI4Al4RZcqzyRxaFDupXQ== 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=MpSriWfetK7algw9l4MNrHnpp7Z7wNyiJZzZzENk6Z0=; b=uKmC6vWGmq73gdtW09pOkAAR2yrDikYW0teSoHalGxwfsrNFPswd9Y8AK+Guct/qNFK7lIuJUHM0lzjAgYwJRN1jEgwPtAIJ01dBcvzrvC+CgzIgvWIwp1J37Bdqv7jP4MCkmC92mdutX2cgzPW2NgPr5JUIaTYMowbMlPNlO5CT4a3elzOrBmabjMcIq9B2UKwFaYgFN7E4jQCB7KRmiiuwp93sx7ht1oMWMekPR1NoBtixBzsKQ2mbXKuZ9jsj+wmn4dgfUJD8pq2QXCQT7VlkdnL9Ed/ZWaTfrdFjmc71c832u2ETE3qdKvFg8ek+b8MDEJII3X6GVrzTFgMfiw== Received: from PU1PR01CA0006.apcprd01.prod.exchangelabs.com (2603:1096:803:15::18) by OS8PR04MB8201.apcprd04.prod.outlook.com (2603:1096:604:28d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Fri, 6 Sep 2024 06:27:08 +0000 Received: from HK2PEPF00006FB4.apcprd02.prod.outlook.com (2603:1096:803:15:cafe::84) by PU1PR01CA0006.outlook.office365.com (2603:1096:803:15::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17 via Frontend Transport; Fri, 6 Sep 2024 06:27:07 +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 HK2PEPF00006FB4.mail.protection.outlook.com (10.167.8.10) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 06:27:07 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Subject: [PATCH v15 01/32] ARM: dts: aspeed: yosemite4: Revise i2c-mux devices Date: Fri, 6 Sep 2024 14:26:27 +0800 Message-Id: <20240906062701.37088-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240906062701.37088-1-Delphine_CC_Chiu@wiwynn.com> References: <20240906062701.37088-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB4:EE_|OS8PR04MB8201:EE_ X-MS-Office365-Filtering-Correlation-Id: 8d65338c-c481-4ece-edb8-08dcce3ceec1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|7416014|376014|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: SbtWqmvR5heBlBBItivs0g7qUuKrEi12SgJJZGwHB+7uOMvYfRt7OXqmd44KQcl6MOMsFbjEzfwYHMsyXRa8QcaLUYoNYbX06WQ8N/NrwO34ZvXlspI9qxYNlEgtT1RS5SKdCUzvpfrIb8iCuCbMS0F4K5AmMb8Nf+nWV7PavVlFVv/4yALaM6/7FtZwm5epA63SpdZa2ma/u3EkJWHJUAPVB9vqM0n4hnSuly5WsxR0FTq4h9kmcKacbCKKLPw342Zgf6L5T0Vx8SuQlPaveXWe4scjh/GvVTxVt0deXo1/peOnlFWp+0oXp5a7KmKIELBZIqVTs9zp9mW9SR7OPDyaeFMBibtjh2fueCjBAzwfof8+8GaNJ9gNggJ0140bZ/TS+cOi7xVz9R1wbSyfD937Gk0gWrwtrpa0lO0gksaR6N61WJB2As/sEc1o87Nr3hVZXTJ+ZRAsmRK5uTLLIoyKmFPSjxr15ugIbeHultZPQvKMPw2cpaz1ksfmFmPePwWdijEn3rYkU4NjlPLWbNvwzLygkcTihbHNCWBSzJjOKt8L0oLqltMdOITHi2ni8Z0IBNeDas0L+Ygb/YRVPf8UDZOebqusDCB6t1v47HEieCB/RuYSUZGSthdHB/C4xATRPKLqDb07uFgCxDDZU+U+0e3XPLolxGsCC/F1g6xbtrLt3D2Qy+ZhKw/qvGrMhUHf3KwAtkd6YvCnNGdHiqkxAK//0vTJz8Jl6/tKGQws8kUl6G+V5zwn0lsP3WMNOhOdgzn4HtjzDE7AQooTObm+omgAHUARZjFk2BjppJyeOdc9OJKpFtwYZNBBqL+JQlg6jBrb96Dz6Q5wfJg3oz5xjbxbjBVQSet7eqLw4iKT4K/dkEc3/RlJH0BUxdfePVP0dOuKcDBgTdnQNp3h2awjh0J7mtqEohnlMzfKKkT2wXPFwFrcNGxj8dFOhn566RKTWFw3DmIPlMRwTm2BjixcBgWxayWSIOsdS4b1Q3AKWOhBJFYwVQDiGwKHF2ksMMYiW2LbTPvVQuKDKfj8KH85zjpH6U2RRixUGeG0Wh6s3Ek0lOgXPq2tst7g77IpfX84vlooZe+hdd2CMTCGONNZStotulrvJnWmkfqE2JeL50F/RUaDwBpLGPoV3uzRFlTwwL2zv+glxFwaRCtk4S4hkChdhm43FNxh6eDCc5B0h7TC75PWieXKzfJYi18RwmirvtJh2q436zRJLo88H8+mpD7c77gjKkYceH8PiJIewkviaQWjLFPVbzyuD9YpO5HTYE4JYNz+VK7pHZc0MIkLnhI54IAjCOAyOqPlb4tPCuofVmhLASVaZAiolpmBXcxzBodvrKr3EiDtkDysdXlcQgYeuZnI6ugdtedFGF8l/y4XWHBJu7OsQuuHGtPLlY7qr6hWKDASQNLuCvql2pp3KruQ7DX+KRQJ6GLcBrjcHqI3cOuVfRNPhgcnB0HJ 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)(7416014)(376014)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 06:27:07.6001 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8d65338c-c481-4ece-edb8-08dcce3ceec1 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: HK2PEPF00006FB4.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS8PR04MB8201 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Geert Uytterhoeven , linux-aspeed@lists.ozlabs.org, Magnus Damm , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Delphine CC Chiu , linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" 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..ce206e2c461b 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>; + }; + }; }; };