From patchwork Tue Jul 23 09:23:00 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: 13739782 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 736E6C3DA63 for ; Tue, 23 Jul 2024 09:30:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-Id:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=IOLJimcPeCpdCfRBtB9HXjhtSG89GuCrW23kDWg2py8=; b=JBp/FtMAo/PzAa7pwbW0qy77uc 9lUVjGVbeF4vLIO7tryUCj76gSz4c3i8qzRDlqh0tkN7wwKQosI5dvKXFFRjYXmIuBq2ZrW1SA9T5 uD0+6YvqsIAY0XTuZ/A4dBx0sZF/c6iLYYTXsIO0kjdsAu5x514TX/hwRPCietniGP9hqtKDvTZy7 T7pqEPYvNx8afAB+INJ/iv7PcQxlfkG9Z2Lb2GBeegvNNs4LB6FNO2RvgSbLflbps6E2c9Cd1P7AH O1d8ofaZ7VyIgUjTqsgcLp9CeJ6n3Te2OIQ4G6A1D/YBSXQNPDV6J2OfL3VKFgdfNkBKxNLCCTvyo fKvRyf9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWBr2-0000000C0u2-0atY; Tue, 23 Jul 2024 09:30:44 +0000 Received: from mail-eastasiaazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c400::] helo=HK2PR02CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWBl4-0000000ByJZ-2YUM for linux-arm-kernel@lists.infradead.org; Tue, 23 Jul 2024 09:24:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hruzfUrMXdT34GR+4XgGrQIgH+H1SKKcutLh+6uCp0QPPsq7byHqH+SGhmGjBRBWXCIBeDwklEKqLAmZCM/jyEZ1EeXEkjro4/djzkUxwqFE2+NZ1RivslpSJWAJKM+YzeQ4j6eOdJ2wEmNFHz75dLNhNzS3HuvDNu5yaruyyGBL28GLDy6vDYvaxvYtTSBhngZkpupQPEv9U84MZc8G948BeR/qXdVdhbBkNs+9HfRCgImi2GzJ8Bo+BUryx1ceqiHUQHwfe0bQ+aV2JUj18GPTP4F5dyiEpop7aof8PdcWCasZOtZQ28WJMXucUL0J6dK7k77hIjNXRfM5Pdt5OQ== 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=IOLJimcPeCpdCfRBtB9HXjhtSG89GuCrW23kDWg2py8=; b=G4G6bX/aYIhr9j7wplMA9AReDHaUIp09re7uyAOnXnVucwE5ql+n8P8OyULtG0I+9JuiI/fon0Jv9QUG5s0jd/WBEK7eCLvNV97hpxYJVxtpuAmzThP2AYMfyAQQKwK5Jd4LzIhR92nSTPe4AKO7+LA1bW5GLGua9tt9cmYFXxzEj3fxuOmvwJUfotVyaQ1cL052Uli6c1FgzmpadlWKPm92b6qk3jraI5SFL7fFcyIIM0iOxA6FUe8FZCIb5jHrn7nxe3njWv1qUOe+p2OM5oKouzUqR21kCZV/1KQ1bGQ0ROAfwRdE+0YVUnB6thomRKrciCG0tkczUB/52863sQ== 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=IOLJimcPeCpdCfRBtB9HXjhtSG89GuCrW23kDWg2py8=; b=BCsBhghYbfGgxi7CUKFCWvmozB48DHbg1BEl5SPWExmGJEOlI77JxmLxGNc7OSJMgzPuybYuf5iP0rzHk69HKabduhyB5fIu6qi4bO64f3bC3wX5R/n0vM+pp2vychrgzNLq7eEpeF6r+HOJp0PgYZfX4qJDA0Ep/GbEPKNrVYyYbPT/C86t/MinSVbCMV8U8OKpRnPIk8Tt1XalPH8oTO99pyTEALq74DnVsxa8KL/nXO+ahCdgmp41b4GhzKJFDLfBlmLQHnLipNGOfTzb+LZoiA2PUYmesY2H/VJHvv3ZHtBvIASNqWZxgjECB/hQpzLqgzLLzRW+wfNbEHY4zA== Received: from PS1PR01CA0005.apcprd01.prod.exchangelabs.com (2603:1096:300:75::17) by TYZPR04MB6907.apcprd04.prod.outlook.com (2603:1096:400:340::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.12; Tue, 23 Jul 2024 09:24:28 +0000 Received: from HK3PEPF00000221.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::42) by PS1PR01CA0005.outlook.office365.com (2603:1096:300:75::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.20 via Frontend Transport; Tue, 23 Jul 2024 09:24:28 +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 HK3PEPF00000221.mail.protection.outlook.com (10.167.8.43) with Microsoft SMTP Server id 15.20.7784.11 via Frontend Transport; Tue, 23 Jul 2024 09:24:28 +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 v11 19/27] ARM: dts: aspeed: yosemite4: support mux to cpld Date: Tue, 23 Jul 2024 17:23:00 +0800 Message-Id: <20240723092310.3565410-20-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240723092310.3565410-1-Delphine_CC_Chiu@wiwynn.com> References: <20240723092310.3565410-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000221:EE_|TYZPR04MB6907:EE_ X-MS-Office365-Filtering-Correlation-Id: 50cf2486-23b9-47e4-bcb1-08dcaaf9407b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|1800799024|7416014|376014; X-Microsoft-Antispam-Message-Info: H8oZS1i7sQTKnSA2hr8a59ZXjc+hnZ4Yj8OeOGdNaVmhk7nszKRQQ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usq/o2otcr+b/trhpbc2Mns4zde1eA++L3ZDgF33qz5lJHwwInuDRop8x9XdTgsD9mZzfu0n9JMh29WnwP1NCm8U49gOFjnX6y6ugSX7SkpzIVZAghTBSp/INXso2iRvQ+dX2dGWUHi1228BRZxajmvDT5MOFVoDOqY4fAnJ/utljAnvlUtWthhP/LQbSmoUg5HiIoJQjZjWBls76WHo8nG8CDudrISfaZW6EYA+W07Lyjf9Xwip5B+/j9roOud5o0lkmI7zGOcPEIdONkw26xu2ANo15gOTbDPuhH7FZhUw02DPyb5S+3ienqO5LnZ3m5dyZXzDqN/EUn2wsA6 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)(36860700013)(1800799024)(7416014)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2024 09:24:28.3009 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 50cf2486-23b9-47e4-bcb1-08dcaaf9407b 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: HK3PEPF00000221.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6907 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240723_022434_827077_AF8AD3B9 X-CRM114-Status: UNSURE ( 8.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Mux pca9544 to cpld was added on EVT HW schematic design, so add dts setting for devices behind mux pca9544 to cpld Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 64 ++++++++++++++----- 1 file changed, 49 insertions(+), 15 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 7b8a2384d99d..98eeee49b082 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -36,6 +36,10 @@ aliases { i2c31 = &imux31; i2c32 = &imux32; i2c33 = &imux33; + i2c34 = &imux34; + i2c35 = &imux35; + i2c36 = &imux36; + i2c37 = &imux37; }; chosen { @@ -951,24 +955,54 @@ &i2c12 { status = "okay"; bus-frequency = <400000>; - temperature-sensor@48 { - compatible = "ti,tmp75"; - reg = <0x48>; - }; + i2c-mux@70 { + compatible = "nxp,pca9544"; + i2c-mux-idle-disconnect; + reg = <0x70>; - eeprom@50 { - compatible = "atmel,24c128"; - reg = <0x50>; - }; + imux34: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; - eeprom@54 { - compatible = "atmel,24c64"; - reg = <0x54>; - }; + temperature-sensor@48 { + compatible = "ti,tmp75"; + reg = <0x48>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; - rtc@6f { - compatible = "nuvoton,nct3018y"; - reg = <0x6f>; + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; + + rtc@6f { + compatible = "nuvoton,nct3018y"; + reg = <0x6f>; + }; + }; + + imux35: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + + imux36: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + }; + + imux37: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + }; }; };