Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp841738lqp; Thu, 23 May 2024 01:17:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVI9dHw+tQIRJYwjGSt0etcCVthBLvwU9DYyNAnRo7JDH/0Ea3S1q/NCaUegsrXOgQx+eBaK5sWRuQbRSj76BGz2f0Ce+XwQk+oFQ0i4Q== X-Google-Smtp-Source: AGHT+IGK/Khj5w97YLPhc/WWF22McaMNSXb0+SHvtKRZOtUPNMRYuvSQdbX8oDlsgrB3FZILKthd X-Received: by 2002:a50:9ec9:0:b0:56e:7722:553 with SMTP id 4fb4d7f45d1cf-57832a3b8fdmr4205378a12.24.1716452265227; Thu, 23 May 2024 01:17:45 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-578331e92a6si1601610a12.258.2024.05.23.01.17.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 01:17:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187164-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b="bSBL/wk1"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-187164-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187164-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wiwynn.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2D3711F22629 for ; Thu, 23 May 2024 08:08:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F72413CF85; Thu, 23 May 2024 08:05:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="bSBL/wk1" Received: from HK2PR02CU002.outbound.protection.outlook.com (mail-eastasiaazon11010001.outbound.protection.outlook.com [52.101.128.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69D5914A4EC; Thu, 23 May 2024 08:05:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.128.1 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716451511; cv=fail; b=be/SF11jKvo04fwQHFQ+k1bCwbWjlhqO8mqg+iETBNzoWWhHzhlyn7mDOjEU28w3K9ZbB5eaH7BYllsBBvTtlNB0QNJYpxC/XFGjFa7erxJsXmfREVY7itFqWo3dJ5aHxlarMGBqHmu3v/0rBzh6RKTEH9bimi/Z15zRUFIXtKs= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716451511; c=relaxed/simple; bh=fhg4U8+WiKeb0My6Uagt5utZDdeFL2VNOkO5q6j0/ZU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=HgVidW6tavdchyV50G69FmDxKilaRyLrm0LnmqtTqFv+9R42viFpGNbhpXVCnzXP47aznj+wVBN5n5rrwcYuIyQzYUEUposeGsuxldK6awrwjQZ/GdE1Whi7OoPMLbPKlXW629NZp5VM7JD0D+on7XVrFHGZCqnaEtE7pKeme7U= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com; spf=pass smtp.mailfrom=wiwynn.com; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b=bSBL/wk1; arc=fail smtp.client-ip=52.101.128.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|SEZPR04MB6874:EE_ Content-Type: text/plain 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: =?us-ascii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3FQS022vrQR3HwaNLmEk109nKn19v5K?= =?us-ascii?Q?fGNv9/cKFe3arQu4LO9xPmou43OJcD+dA7BFYv9oYl1Xapc2qySe8u8o8t2S?= =?us-ascii?Q?wEJp7NQp7BkK4xGdQVV4QB03nKABxeDRMhhkhdh1Y/N/MdJ6BaiL8b+4gH4g?= =?us-ascii?Q?8Hpdg/pFg2Pa35igB1iN58J0553so46lOFLpS4T8VHYh0fifU2AiwvRnPcgD?= =?us-ascii?Q?mO2y7mNNViy0UU3cg+kqKVME610pOeEUS/IJZ3+A/nZzMbW0E2t3gK2jLQ1c?= =?us-ascii?Q?WLcqwC3w2QqcGKYva7oJKMLuzn4GI+jnwwYCp55obpPKF9TQDSIfBius7/rR?= =?us-ascii?Q?vEFQOcv6U7VAbBAHoo249fwMXZjeNLFuaEywTEVqgACwmb4MwEAgW1nI9f0x?= =?us-ascii?Q?cR9zmV9u7ZehKD6oTkUc6qa/mLVE2JjZE78Th6GFGRJn/omqLnPUq3zWwCh2?= =?us-ascii?Q?kpAo0a4w/fgU7umghg2ghhUrT5iG1ftc4KDk6REpO5DXXJM48xmF5MTS8Hpj?= =?us-ascii?Q?J9KSm6eTvlUXWgwDI8wjojO8yRgY?= 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 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>; + }; }; }; -- 2.25.1