From patchwork Fri Aug 16 09:24:06 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: 13765829 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 4A096C3DA4A for ; Fri, 16 Aug 2024 09:37:48 +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=n8aMuPuFKypT8njfpGv+GsKZmt FI74Bvafxpi4qjHlVfJk1j8WOgDkoEyYy7TjdM+o3HS3ZA4/B9UGblybE3XkgwOb0nBfARBysWy42 ZSqW0Kq9v49DSskbhZo236D9gUi8oFGX7t92MK4w8gvYJjD0tvC+oubQDazGlEtpdTcXyho4nPE/5 CGn8Qz0W9VLHtrjZuDTnNJeq+rmZ01WkzEO6+DGhVsaCQ9vNPrJuBPJ523SRWbGCBzDP0aMlEGlO/ wnCPuwp4+tKjKeFYkJPURoCiQt6CQpMxobOhMTgFYNHGCmQT1S99eNTVswNpXZF1o2Z/Z3CiXfPTQ W4X4madQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1setOq-0000000CRW2-1NQS; Fri, 16 Aug 2024 09:37:36 +0000 Received: from mail-sgaapc01on2061b.outbound.protection.outlook.com ([2a01:111:f400:feab::61b] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1setDe-0000000CP3z-3cW4 for linux-arm-kernel@lists.infradead.org; Fri, 16 Aug 2024 09:26:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DGalgoA6dyaNUVW5z5fFLf/9jcS2tzNNU3joh7M5uQaouX9v4552wpSifKMPYxlFXiqBIr+h5EPe27fLGkulJCajhtMWZBEZEsjhCWvCtjnoZ4YiixLwL+0jmNEQ5mUurkfqiL1q/24HuFUlj12vzPSqJjCUIEn9uvL6Eoa9iQ3fLdCALulq1DFPWERejxBi5PgrRkaT4alnbOtmumOwE9Po0hxwFHbQa3zPVVPM3fJzv6g/oKUcbFbl2zm1ulAyJ7pHY8EAPE8G8bsO4TOZTzwBueRiDbHfqsjtAGXiJL+OLW+bO4Fdrz92Y+L++bk4jrsyhp8NEPUCdyZDGNpOmQ== 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=XSQZNIHriSLr1ru5r3oEeugspYnEO50YjsnT48QtaPcaUB89vddow+GUBKegaikzlCQ6T51cBjQ46Sxx+Y5bOPQImyPSLWcl+WHo5F2OvulVzNTWYEhPzfZnbp/7mN1EwbUzWEFFcVy0lWWt0FD5i+g3ZYBxw0aaHX5ps3UQ3fttN9rOzWM2K6f3uzjBwOcl4A6agbIVyHORIq0YGg6JD/h6EaXGKcJP81OThG7/LCJy4DAM8EKVTfYr7FjKXFgusCkG8qE8t8Z01BShxZ6qWUn5cQZHnh/H+RV9N+MBjeb/d88fQN6Z8cj3zXyczTEdPKh11RUy3RkAlDwqTKspeA== 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=Lpjh5aluIX2Ird1X+AIV33uMpKjnosQ8rBVRJPovWmJQSx//KOQV0GHf96IcXIgH4lnJb7zBEgTooZYo6Yr0p+jxbqpIGptk8OSEH91BmEhsd+pgWdE3ZI43FpUkF9j51zItxjxph3P/a7r+zn4c5uJ3tj86ib9oM627YdeNgdSTi89H+DvNCPWfvuxNhD74WFivrZEptps+FbdjfSxJBcrq21OGcZhNhdy1eGouh5kQ7tvPgqpeG3VukVtT7LromK4GDG2yU2HTB7wTKzYnNk05DqSoQ/Ku2//ETQS97ZcPrRk1+fvY0+AWeKpRCDSxVDszpOOdiljcsTIaIICScQ== Received: from SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) by SEYPR04MB6629.apcprd04.prod.outlook.com (2603:1096:101:c7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.19; Fri, 16 Aug 2024 09:25:53 +0000 Received: from HK3PEPF0000021D.apcprd03.prod.outlook.com (2603:1096:4:193:cafe::4a) by SI2PR01CA0048.outlook.office365.com (2603:1096:4:193::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.24 via Frontend Transport; Fri, 16 Aug 2024 09:25:52 +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 HK3PEPF0000021D.mail.protection.outlook.com (10.167.8.39) with Microsoft SMTP Server id 15.20.7849.8 via Frontend Transport; Fri, 16 Aug 2024 09:25:52 +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 v12 19/28] ARM: dts: aspeed: yosemite4: support mux to cpld Date: Fri, 16 Aug 2024 17:24:06 +0800 Message-Id: <20240816092417.3651434-20-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240816092417.3651434-1-Delphine_CC_Chiu@wiwynn.com> References: <20240816092417.3651434-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021D:EE_|SEYPR04MB6629:EE_ X-MS-Office365-Filtering-Correlation-Id: 75648114-326c-49ac-118d-08dcbdd56c95 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|1800799024|376014|7416014; X-Microsoft-Antispam-Message-Info: wvazU9EwbO9oR9ept9vTAG6qporGJ/3hEW79STtJGfFdBLTAhmyOaisAj2fFkmVO4el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iFvXZG3quazQm29+q46Mw6b76cOUjmeFCEoWYBwP7ile72v32GmJiLXLjEgOEWVYIjjQInirphG6UCrk3QantbYFSEeYr4G+6QvEpGXpUg2eJqNLQQXYCcbOIk1omO57jSsqcFbw2EU/LtGZi06fRnQe3nVoPgEwnl9mVdHbM6eyOr19TBHYonXNExuZILcsYb8YHQbKhsQimFjIrMeQdh+mxLdJjLPQhz0cY816bWkuPBLGUQ2T1rxixlHo7IVEm/6An+eeeXwYO1/jswUnr1cyY6cppxb2KfPsy/tuniynjRKPXz/GM4a+R3Sb2PTj6qkGNt 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)(36860700013)(82310400026)(1800799024)(376014)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2024 09:25:52.4972 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 75648114-326c-49ac-118d-08dcbdd56c95 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: HK3PEPF0000021D.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB6629 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240816_022602_926718_2D3922DB X-CRM114-Status: UNSURE ( 8.54 ) 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>; + }; }; };