From patchwork Mon Aug 26 06:23:53 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: 13777137 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 53653C5321D for ; Mon, 26 Aug 2024 06:37:24 +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=DSlcR8r+zSZp0POlx4HbCx4ONO 7YRL4whNr45Z/wBfae3HtnepRsE/TnaQtK28aayxkLB5U3zzMtRwHJP7YckI30sJqYBvPL0V1RHEh xEoLISGFuv4leDSGEJQa9lzbKhar3NngKKm8xOjGfXcbwVJqehDUPD3Ka/Qot5fgwpqLYM96dip2G N6yO0hJlbkiPi76kH/pW5B80SpCZE5lsYHYhfyr9y/my/fLTRaEe09hgeLbFaiG3rrbaOKMGXwIfb kcXITasZkVxZI05mv6B69C8DfBfGyC2PjJspAkBPLKHY9QUDh251pqMi8PoOnvvYXSJjDP9Cl232+ qyJU7aTQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siTLk-0000000646t-3VUD; Mon, 26 Aug 2024 06:37:12 +0000 Received: from mail-psaapc01on20627.outbound.protection.outlook.com ([2a01:111:f400:feae::627] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siTBG-000000060eu-2qR3 for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 06:26:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=RAL4w9Uz+r3kw9CYM4lIbJ/BSr952w0bBcNk5pFSM+waaIzlVg3RYR4sYKeEIQGsObroZ+b2l0oY4FxphBRa78auqBplaAvGZvBgPsd3Gfqxr3izSKoKJeWiZp1vcPAAsli6Myxd/XDTOkCMAz1urCT3J4Ml23I2CjdfA8yyWh3Z/J+3RwqJf6GZhhW7tjlrjoPjAP6cwToMvcK4q1bP+QsdJhAy7072blkFL0l1x1rdpxRCd4FrerG6VjPBLMciHEqnDw+5sZvJYkOOMyMjc8QRwx8hZTVOsPtD/oI8dxp745a7ThPxuiHXONlBLzsQpNEHYYTNlGLbHHbfh9dJ+g== 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=p53KA130y+/mwTalMfdN8Uh+WtEG9lJIjwa9Cai2odwye3UVnE2DbhPI24nttiIPnefC7dvLKUPC9hqKJwaw5UPyGvh0H2ndnPLKEdkvCxiKunqhbwNAB0gTw+SVzvMWhXcqOVd8WLfCmkQf+GOgDvW981hL171OD9Z0L6azmdbx7g57jBrVX4Ne+pWG0nn2p7SveJXW0Xf/jRYcODZErS6OJxQn5SWJJLNsMH7FVWUaxoG5mhN8K8qUQwWrH+L49m0zHA7TRi/lSmxhAEOgYldZCRvp0oyu/GxU0MlfIhOLInY3LG1mUG0uu9RAh82gIfzvAiJ5i5Ag6xjNpLCneA== 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=cAB/BxSWU2IIAS7m35Z/Q3et7+mqULXZS7VqxqD7DfgJ1tZtzay2CLTNZTbuN0DWOReTAQFUa4B5dfkkGC0d1Qgr2takrASw29OzpKJgSn6jMDfQ1U/bjVZTFcUFOcZf2OaMwQf8yhE5sGgclnrtHJRp720eFNbnWz10HeKBVGB/xlFh64BKzySLGH9VFtVMUCmNo6w9oS3OJ7ZPDIEhR6oGUhSx4gQCwhcMWUqo9dndQtw6cw+m4Hyjl7bdQdTwXRKAb6edMc1WTO4qm4FS0jZoEhYPL39sxrjBqiohPirUOIRUttceByOSVBkcLnST9jWvgahMHqroQrHxFUBJ1g== Received: from PS1PR03CA0001.apcprd03.prod.outlook.com (2603:1096:803:3d::13) by TYZPR04MB6765.apcprd04.prod.outlook.com (2603:1096:400:343::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.19; Mon, 26 Aug 2024 06:25:42 +0000 Received: from HK2PEPF00006FB0.apcprd02.prod.outlook.com (2603:1096:803:3d:cafe::c8) by PS1PR03CA0001.outlook.office365.com (2603:1096:803:3d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.14 via Frontend Transport; Mon, 26 Aug 2024 06:25:41 +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 HK2PEPF00006FB0.mail.protection.outlook.com (10.167.8.6) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Mon, 26 Aug 2024 06:25:41 +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 v14 19/31] ARM: dts: aspeed: yosemite4: support mux to cpld Date: Mon, 26 Aug 2024 14:23:53 +0800 Message-Id: <20240826062408.2885174-20-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240826062408.2885174-1-Delphine_CC_Chiu@wiwynn.com> References: <20240826062408.2885174-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB0:EE_|TYZPR04MB6765:EE_ X-MS-Office365-Filtering-Correlation-Id: db1eedb1-1159-43f1-eed4-08dcc597e898 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|376014|7416014|36860700013; X-Microsoft-Antispam-Message-Info: VGI2avNrJ9gdIIH5GhlhSF+jJm+MBLAf+Tc6QdB44mCUOx15jybthuCD94Dc7BvBTY3VH1tVt8Jt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ZftUq1TIppmgjRtlDMEL8Rgz2zsBE1KPDhjp0/nkqQGnU5tIdj6psn6pTDYBstBXws6bKA0EVoZZef10UoIWFEwk0McKcmT3B1VLK38DVvbD0ldOyYVnGW7nODwHikSue6s7KUwmTNOvgfEH8LYUa1DMV0s57Qb0CWvlKmDD6OmTym811NexLvblKdzgfHgQATnjad/KbZukTpvJqpCNUeWi271U4e2H1dov3Xxco1tlnpI92UUSJjLDs3DsT6KHQmpMl/cJM5OyJY1UClwFR25WL4Sj4V04uf58x1j 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)(1800799024)(82310400026)(376014)(7416014)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 06:25:41.0650 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: db1eedb1-1159-43f1-eed4-08dcc597e898 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: HK2PEPF00006FB0.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6765 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240825_232622_737477_FE1B7530 X-CRM114-Status: UNSURE ( 8.37 ) 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>; + }; }; };