From patchwork Wed Aug 21 09:40:30 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: 13771162 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 457C0C52D6F for ; Wed, 21 Aug 2024 09:55:42 +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=JyOw9rFow9FVmW22UTpD57sqMI jWLchswY/0VSOi4qqIvlrL/56HrFWlQAnOHe0yHiHHEwBFVKeWawFwFMeoff3+wevS+zR8ZA7KCBI gCZ2s3CNpV+IkdTnaLeuqEmW4FViIhQc6sQ6oQGaoQmhghbeGWddyzBf5+VJvqlymH0z/Bv8A+uuo 0vnDpS9QBHwPe3++lgWouBhbRZrR4OoCPHq1CXWtZPpNauLZlPloGHO9Sw1SUftYYPrwH8XxZl3k9 /7iLJrVUYBJN/dbMbyYdhAyP4+d/gSFL+Qbi7EmWyBwUtQmcq9y13nD3MebHR6Vm7o/e4joN5QXFg Czdsy1zQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgi3s-00000008Jsd-1L1A; Wed, 21 Aug 2024 09:55:28 +0000 Received: from mail-tyzapc01on2060a.outbound.protection.outlook.com ([2a01:111:f403:2011::60a] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sghrm-00000008HZO-48iV for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2024 09:43:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cEVAA5m0OHmvXXTBnUlmvwL0Sf1xL6svk0jU7AhXxzH7nSzt2GAFzfi43JzCrqDTTQlHfEkjdpMKWS+aMRHW7yRnJudl//j8nJcZ+CtLWkYx9Y5Zzv7ZWIqk0SREqg6Z3CGzu/8gtN4krPV9OdpxwVYUoMUA2As1H2vFh9bt8WB/OM10ywcVpQQ7PebCTpjv57SVED4NblOhUirzBWUjne88YXKyWrrmlqz3ATHnCzzdifg+XU1NbL3clSJ9jJ6I3BV1jh1wprEHLdoZmInlB8BDdhhMB4HNyXPZG7DKcq3T7032SBqjY5vjgNxRm5JMdPFawhJLt6Fqu8tOYjauaw== 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=X5mrpToIRs8guGjnRzgcZ9th1uJ2jBKueI6OQbFLmtqJzJWp0r+ilMOA5QfKIiZ5hpgIBpfYuY3OLavj9pMTtnrIbvFOmm64Na+fHKDj+LhYq7js3Lh7OE9HrX4a9gHCdY3xhxE2OBoLeboQGUqtU09goVqc4+1YarHJUE37bZNHmMbnv6lWt3bIQ31xm7PC/9XnveRqL/py1k7i+p79nOO+u9rEVqXGQEJ5uiVuRrVanv2y1sNJ7ylm99T0UFmMqNRVwtu+RTcFVyjWE3w9vrtJuR+H/jaVUwMDTvKwC4sCd5FsItCXz6DdZQGcG65qhtFDbnBvXqPinjfxV5//1Q== 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=wo3gB3Raf5nPST4vBebGYv37AuMcsBYjipyQjHePvgGpF4WkuZoFmsyLWrsN7XuM4AYqmhyXQtIR++4h1JjyC2gurm0UR9ki+74ZrBIru21Aju6YZWffJb7XUk6v177fbmWR4KoWTtBmxqv3qDyNMgzCzwwuZomhWOsD19+m6kU6jc3l18un/23fvB6qlcUpAF9MX3BTKywwDVPAJ4Ej8DlegzbQ7C7rRl/l19qcRSl1I5nwCfnGDM77FP544XCp1QJPb6RgUWRDIzlXzIeJ72RlLDlz9L5ztL/6plS0w+FYkcFWddLTkvx8yH212I44KsO3s7ZkrlrR2SZ7f2MC/g== Received: from SI2PR02CA0032.apcprd02.prod.outlook.com (2603:1096:4:195::12) by TYZPR04MB6954.apcprd04.prod.outlook.com (2603:1096:400:333::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21; Wed, 21 Aug 2024 09:42:48 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:195:cafe::50) by SI2PR02CA0032.outlook.office365.com (2603:1096:4:195::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.18 via Frontend Transport; Wed, 21 Aug 2024 09:42:47 +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.7897.11 via Frontend Transport; Wed, 21 Aug 2024 09:42:47 +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 v13 19/29] ARM: dts: aspeed: yosemite4: support mux to cpld Date: Wed, 21 Aug 2024 17:40:30 +0800 Message-Id: <20240821094043.4126132-20-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240821094043.4126132-1-Delphine_CC_Chiu@wiwynn.com> References: <20240821094043.4126132-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|TYZPR04MB6954:EE_ X-MS-Office365-Filtering-Correlation-Id: 34a711c1-9a05-4a36-d200-08dcc1c59db0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|82310400026|7416014|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: DFjqefbiJZSuSDlN9KR0RR/wp+5olDYBZ2thScBjkwRunybGkharVPaDJuqQ7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CWJekPK7Y/SK9c92g2zC231/fNzv1QID8fYFjLd4kDWl4qZ9hcTTSqc4xPiA6sKabNrORBmfu6ytNX+pr/BdQye9MNwvcPE5C80of7fuQnZUdXE+X/TSlPuftCq9brKTOGR3jvFEZ/04jJJ4OQ1F2bFW9RKP2ExuUVxYt7Pv5pL3P71PRe3nPvjebP/DGiQ0DdwilR9B8ZDDORZikS2dbYRm3rtjU9DDE+b3hZ+vy9xG1ubMkPGAZoTkkMjL2org+taMvLnWaGnWdBEf9CYs4222GJdTAZ1TbqFKrIsP40rnyGag7+PY7SJfxBWFL0hHVyr0t0EiaLayLEe 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)(376014)(82310400026)(7416014)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2024 09:42:47.1378 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 34a711c1-9a05-4a36-d200-08dcc1c59db0 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: TYZPR04MB6954 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240821_024259_219775_A5AD5564 X-CRM114-Status: UNSURE ( 9.58 ) 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>; + }; }; };