From patchwork Fri Sep 6 09:24:36 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: 13793741 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 3D65ECE7AF8 for ; Fri, 6 Sep 2024 09:28:15 +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=vK1CZ67tbESXAFSt5cUXs7bqD4h7ZJeDmdQmYlqAfWU=; b=x9yyhy7uneqpwczcureoh69KTG qasbu86W+LmDVfSTx/ZxKhvd8F+1qBKm4sSPiK56FVjyhAPSv6FgXyHyj586/uBGMrmZN9D/QwgPH Usw1uxuFZjBNGDsEffS8NlwJp74hSYDLuXEm+U3h2wnQFhI/55F8NNP9ADsxMNfMyd0Zd9Ua386LS sD48qTuThiampLRdg1gZmkAcpgGgaXGkUBrGVAoHnou/4efpVAJFd9Hcpct+kLz3ucHc+9OQ1HXdk q6Q3sFcZ8JeVQd0fYnO38pj6/DHC49ybzJAVN1k+kZJLIOUHVrIhgA6e29zUjGclgWCmqooDvMLv6 aINZzFnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smVG7-0000000BVUp-2qrK; Fri, 06 Sep 2024 09:28:04 +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 1smVDD-0000000BUf3-3BX6 for linux-arm-kernel@lists.infradead.org; Fri, 06 Sep 2024 09:25:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XFXyMhUbE8w6NVe6QStgWPjxGxJzFxBJT2UOcmkXvl0SLETIdQMLCUT9bp+rZu2wzsJHuoI59OqzD/T8PMWiGiqGyf1l0UIPSaZpxhRUdicCojYDU/eNn9beObS7mOSCwjAcrZ9iuaKlfUUx3+/XNHRWKNarqFcy4k6ZudE/aRyyjzLJ5upwEXMzAWR0y0HKxnzlWRwI8LqRcqc9IWR+l/GQ4tm8+dzvyxJFydh5bllBSD1IcPm2+ev+avM9PjyT4Hr7RGZOMNOnlP4WQVwEecoTXgghOUnPyWLzoj8CgR1Q2RX7C6zt4+E+mn4P82ayUhVXvD6MOCK5aKBgcCPAyA== 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=vK1CZ67tbESXAFSt5cUXs7bqD4h7ZJeDmdQmYlqAfWU=; b=t06Yu5PfhIUGIOS0qCdyquTSBzG0FWNSLGx8YBtPZ00/lPbnvo4T4qFLg6eA/zCVyRjA1ZEnnR+/zRbMu+MKtbQp4JjTSi5r8upuA1AeLpVMx1N0oxM3E3jOXYGIde4zhZmY7a13E9qiP0xdAbYk6t3zkj1sj3StYWwCX+bGen6boVXt7MtUINy/eQmgrYkRBxBu2VNsVv3O1dQ484+l6kBI9ndhDPTVPkgaj9+H04tF10FDlmpP5R9G/JFcBB5wDoTR88VBcJy0j7IJw4l7piLYMhibLW2ar45UkG7O5DaibkuJCNZcbY1FCRbANmOQO6H1AQS3x7L4+IK0xxXXrA== 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=vK1CZ67tbESXAFSt5cUXs7bqD4h7ZJeDmdQmYlqAfWU=; b=ITLjExHFQVs5z0ys5FwcZARsdIFDeIeCraYWR2eVdv18LGQ21hflrRNrE0VrKumIaUg/ACQ9e3YjGt0aHxwpRvZCKZlnX5eBAKfIcTyALlcWh0Lz+8QUJLpZczlRgOlW+CiUheofiOtf8xXTb9PvzqVbH5i6SMQcm/PW8RXZLy8FyTKwfMA0p38mJAQHHF0UBtgYYlnBFi8m9uRKKcyEWOIhLqZSFeThwkqwKHquelAnyZpHB5mheqJOqJnpfy3Jg2Cx+6U5Ip4BkKVG2UlhbWSjlAu7FucEJtJ2ixLsfqxNUCZCFcPjgT6652JvAf/5WysN6tIN1fhHEIKiE7pXsA== Received: from SI1PR02CA0030.apcprd02.prod.outlook.com (2603:1096:4:1f4::8) by TYZPR04MB6474.apcprd04.prod.outlook.com (2603:1096:400:282::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.28; Fri, 6 Sep 2024 09:24:49 +0000 Received: from SG2PEPF000B66C9.apcprd03.prod.outlook.com (2603:1096:4:1f4:cafe::ae) by SI1PR02CA0030.outlook.office365.com (2603:1096:4:1f4::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17 via Frontend Transport; Fri, 6 Sep 2024 09:24:49 +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 SG2PEPF000B66C9.mail.protection.outlook.com (10.167.240.20) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 09:24:48 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Ricky CX Wu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v16 2/3] ARM: dts: aspeed: yosemite4: add mctp config and sensors for NIC Date: Fri, 6 Sep 2024 17:24:36 +0800 Message-Id: <20240906092438.1047225-3-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240906092438.1047225-1-Delphine_CC_Chiu@wiwynn.com> References: <20240906092438.1047225-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66C9:EE_|TYZPR04MB6474:EE_ X-MS-Office365-Filtering-Correlation-Id: 014ce49f-7fcb-4632-8c3d-08dcce55c172 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|7416014|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: i8ypBBTDzs3lO835Onog24u532io9BnQyj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Xds4znSFxAlAXqZBmFO4JnuJjz2RuA7nKV6LxlgEb9P4oIlMpk0LIDMxdZ5Zz7oyXZlmjQGs/T6b6g8R3HHgOf6KjRp6duENea0rOduuls05acm+lKz8UaRbIa4P9wcUzG0ovCZh8XQwPeAME/feYQgbSRIOG72xAc4cQwKiQKGDk3wUVhOlJFAa7ywCPdVBJyCrEGE3tbzbArR3G3h+koJe+XQpOj3fDrwLN/fF0brXYF0IMWarWwYvyT/LbVPjDrf1GdmWYY0wvojrhWt6Y4mbUhNbMSaL6OLGJ+o9yO6e8Widp80eLWOHMwn2a7G0VFPgLJxsHKgzGHJnIrnZsiDN1+hD0fJOXpXlwYt 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)(376014)(7416014)(1800799024)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 09:24:48.6100 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 014ce49f-7fcb-4632-8c3d-08dcce55c172 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: SG2PEPF000B66C9.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6474 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240906_022504_035328_92DB6178 X-CRM114-Status: UNSURE ( 9.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 From: Ricky CX Wu - Add MCTP config for NIC and remove the unnecessary MCTP config on bus 15. - Add 2nd source temperature sensors EMC1403 for NIC. - Add eeprom for NIC. Signed-off-by: Ricky CX Wu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 49 ++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) 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 96039ffbf8ef..9ddeccf650cd 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -918,7 +918,6 @@ adc@35 { &i2c15 { status = "okay"; - mctp-controller; multi-master; bus-frequency = <400000>; @@ -936,40 +935,88 @@ imux24: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; + mctp-controller; + temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux25: i2c@1 { #address-cells = <1>; #size-cells = <0>; reg = <1>; + mctp-controller; + temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux26: i2c@2 { #address-cells = <1>; #size-cells = <0>; reg = <2>; + mctp-controller; + temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux27: i2c@3 { #address-cells = <1>; #size-cells = <0>; reg = <3>; + mctp-controller; + temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; }; };