From patchwork Thu May 23 08:03:24 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: 13671401 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 EB893C25B75 for ; Thu, 23 May 2024 08:06:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=vW3K+Y0WeIwoldkomkbto96LnYjZf9ptPaij/spOyhA=; b=LeBBiz0c4Z2/ti moe5XJ0XUwLt0aufqsIjkivPjcpDrqlio9ACsppp22XtEUhlM/nR9CN7jsCZyi54+Vzf8dhTrnKwm Mm4xAEsjtly5m9xLikQ1kG9LfTVIHCOwPWqqgOps9KvLBvgi3CTG1Nhgd8tCzz+Z90iMTM4jrW1oz fwYfRVP2hCj6mmJe9OWzTE/DaVlpVHNXh3J8bAqDgzVqU2mneZ7Eteza0i6VUiditigqDz2rInsKr dlVO6QV3TOtan2sl+MTyVtyqwZsUSdqBLOfE4ood0oLCvP+IC0+hcUsYG4VkVW4okPhNBcpgEuGw+ xCApo4upJmZpgh8Uww6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Sm-00000005SCc-1ClJ; Thu, 23 May 2024 08:06:12 +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 1sA3Rm-00000005RSt-18YD for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:05:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fw5+FmCCzi+3QNC5WRo8mTT5z5bSEY6BaGuva/k91tYgk3iSx13Qrr9T1zdwWdpWdCFcyobtjfEOrB6oy806VJDiXoRO2+VMlrE4rSnZWOh5IsEysQ24CCHbOOvxXSHQh9FIHIckC/sEkhcD01BrQBUwb+Z/UnR1722wrw7nqNKiS8HYFx2M+FnDhu0bmRAQJpTqXdDy1Q8ZTIzxEi/VFKCOknE62V9yPqGs/M3yCRjLFNJ+/+LwHlou//V+n/Jo3LzosPjm2fm2QnwB/Ow9Db2lzn8uV+Dy4Gt5Q34BOYo/TcSBpiBVubzGjVTAb4SSIpLeq1VTzEWLwCTIvtLWtg== 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=ES3SdMSGvrNhfRoLPeIA0V55NxyaiAY/qzb3Em1tHrY=; b=KqucQJsYv0CjpbrkYf5Omt96zhPC4UHyoKTvL+jWbOx3kiab6AElowF1rmmCxHzCuRhHTGAOIfr3Kh1qI20nnEk6YHI15wS8llmn0rW3+X+Ga5B/qOUxpnRFTYHO3bIx5qiKNv3MRxWjB90OjgMzuVe0wJiuGQzda1tct6o5JkP1iOQWMB5dvy44H0J4t4Tpmno5KJZdnTAmMap2IOwL1kvjks0LOBvDg4wZOOspVFgRpiW/aAkAPTHD1/CXLTbRfopaq3lya9iXYN5ts+B8VccTY6gboL9E+8Ph24c4bMcOzgsvboZdvbgebfc8b/hdMys2o0rtIu3q0WbE0iNm8w== 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=ES3SdMSGvrNhfRoLPeIA0V55NxyaiAY/qzb3Em1tHrY=; b=bSBL/wk1hjKogOUn69YxPogxyPlLnH7NLzh0G4fy/u22sR0seihqR+D8himJyYo2bxKMTgRBkukPBDFzIWcCam2cdHXdJ/IqKHya1S2ClL3qCkM+zo0hXL6GoFwvxz8lVLNZsOXnr3jN87DQR5/swF+DUpFA525foWG4pTlldSQIBw+/WDZq5zxblryDbaDJuaH3M/9uV7M3ArjXcIufAf1dXksaM7UeePi4Dhwb/a6by2XLebvWlU/sraoeExJqQiW94MbfhEmDNq/ZnKbFyoBY/9jMFs0R+mRCDGmx8dQVRZ+giGQ2Ij9X6MqSfFnPgj34agwjdL8rqN8D2Dfp3A== Received: from SG2PR04CA0151.apcprd04.prod.outlook.com (2603:1096:4::13) by SEZPR04MB6874.apcprd04.prod.outlook.com (2603:1096:101:e7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Thu, 23 May 2024 08:05:01 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::3) by SG2PR04CA0151.outlook.office365.com (2603:1096:4::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.21 via Frontend Transport; Thu, 23 May 2024 08:05:01 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:05:00 +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 v8 19/23] ARM: dts: aspeed: yosemite4: support mux to cpld Date: Thu, 23 May 2024 16:03:24 +0800 Message-Id: <20240523080330.1860074-20-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|SEZPR04MB6874:EE_ X-MS-Office365-Filtering-Correlation-Id: 026daf43-558e-47e4-a01a-08dc7aff0bc0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|82310400017|1800799015|36860700004|7416005|376005; X-Microsoft-Antispam-Message-Info: 5JBuktmbbEE8SCC46ciczCE1tyGhHMc62c2yx8akVgDA31Z7T9hEWjiA+cNhII9iweoZlQcJ+l+o0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3w2QqcGKYva7oJKMLuzn4GI+jnwwYCp55obpPKF9TQDSIfBius7/rRvEFQOcv6U7VAbBAHoo249fwMXZjeNLFuaEywTEVqgACwmb4MwEAgW1nI9f0xcR9zmV9u7ZehKD6oTkUc6qa/mLVE2JjZE78Th6GFGRJn/omqLnPUq3zWwCh2kpAo0a4w/fgU7umghg2ghhUrT5iG1ftc4KDk6REpO5DXXJM48xmF5MTS8HpjJ9KSm6eTvlUXWgwDI8wjojO8yRgY 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)(82310400017)(1800799015)(36860700004)(7416005)(376005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:05:00.5627 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 026daf43-558e-47e4-a01a-08dc7aff0bc0 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB6874 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010510_517979_B7FDEB48 X-CRM114-Status: UNSURE ( 9.01 ) 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 83c9d76f5a11..f4e37187bd5b 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>; + }; }; };