From patchwork Mon Sep 9 10:54:17 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: 13796638 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 040BDECE579 for ; Mon, 9 Sep 2024 10:58:08 +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=4USzMxeBU9EH3DrSJM49cRXUWi0wRlmxC1ux7rp49ew=; b=j/Z3hXtZe4ycfsNNR7aAqmILAI af/1u0ThfICF/LSo0yPAg1tmSmzZGjWCZzEsdgY7sNhYKoejuGBQRWjYiR+GEC7QYooQSBKI9GjDC 9PVEsCuF2zOpPwpY/4Ar8k6Yqu0wOTdQ9EBQ8p37fWm+AWmEX4+F0Y8SHMUh5IXGY1g1DcSIZEdIt YUiPvMglAd6t5WZT8TqJZHAviSBo56l1ENqQW16UN33HCN9nuNAIaps1cbnK1oi4lTCmnqxy7mPB3 U5IL5UD2TL7KtLs37Gw+isjuitgA8Qu2sdQR6CGRSgIC9knMbG2Bpj7gmJz7m4fAyh3pHcC4DW/Cv cZ4PNRbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1snc5m-00000001a1x-001b; Mon, 09 Sep 2024 10:57:58 +0000 Received: from mail-sgaapc01on2061e.outbound.protection.outlook.com ([2a01:111:f400:feab::61e] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1snc2a-00000001Z8f-0wbX for linux-arm-kernel@lists.infradead.org; Mon, 09 Sep 2024 10:54:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=e2sggSh1IwB/yPxMk7kNJnD77+9zOzz6OA3tVFJ+oplh/vmJU5LyFPdjFwhKxfniNqJt6Ft/huWL/f10nZ5GngCeRq1B1Hb1dD8yQARhsjYEDgugsutnuG+EgCBnipPRHhEzqudlWKyNA6OxgwRCkw46n/cQ+Vm2HWvtaFlivMOH4biIWg1GcTDHghLYbeqVKGUQRDNJ4UnLCpQZdp/Mibg1B5PT1FfYejNR7gqM6nFHTSCeM5g4l+NlqJlpnjeDwYqy9RYOnrPNVA5W9UN7O/HkEdqtsgILsa89/W9vwVLKQHRI9Ghr25pOL27bWW/etBNZk4mCxBnUd64YOa7Psg== 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=4USzMxeBU9EH3DrSJM49cRXUWi0wRlmxC1ux7rp49ew=; b=sQIqyfdDJWz7/LJGL7aK5OIVef6kGEEaj7ct29DkNBq8MBoWJ3E+1ZwA4XHX+Y70bGoOlro67TMMzDvbrEqiZyllC9RlMEspJ2C5bP4oXjp5nc/QZAJEhRtIordV495PFHEsATf//B0ORmVT6f2QhMJ1v5HIiov7r1dQvE5+DIxK0JY21vvWiLmO0eqCohJ7/tTuqsqceqDgqNSbC/muHxL9eih6wKrcJ64Z3yUfkTKnj+QC66wC7gawOG//qG15DAmTAX1bv4Ib+WNj6J2g/BjVfMDTz/5viG0x7jr4ZTn878dwnHTU7asCSQqzGdqlDoCyzrYqaSavDk9Sd5uUDA== 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=4USzMxeBU9EH3DrSJM49cRXUWi0wRlmxC1ux7rp49ew=; b=yAb8Ds2VwWBSacinX1sDIoHM0/D9ZuL9zPBE21iMSpZGaSwtatMGMkhMnjA7ZZEHPS/3Muw107/OxpvXnGg8qzON7jiV46pqf4vkWpsV4znzt8WZ9yv2xF23JyrKyim07dQviXeCoPoHsgAt0QxZl6SH8J6Oo1u0n3Y2G9VAjemxSIKTffKRPQlqZXZ15ZNuBR6LTZd6pieRV3Iw2T3DkUp05EIhxe5qrbNnwusbkWUk54MYMLWo1ezww0KC9ZzFjjrdG4tk3J4YGNix+PV/481YhDCcIs/8hX3pMXLHvvRZPJaIsKijDSZ1VuuhENrmKcklCZp4g7J+rfTwBkH6Ag== Received: from SG2PR06CA0215.apcprd06.prod.outlook.com (2603:1096:4:68::23) by TYSPR04MB8291.apcprd04.prod.outlook.com (2603:1096:405:c5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Mon, 9 Sep 2024 10:54:28 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:68:cafe::8a) by SG2PR06CA0215.outlook.office365.com (2603:1096:4:68::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.23 via Frontend Transport; Mon, 9 Sep 2024 10:54:28 +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 HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Mon, 9 Sep 2024 10:54:27 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Ricky CX Wu , 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 v18 2/3] ARM: dts: aspeed: yosemite4: add mctp config and sensors for NIC Date: Mon, 9 Sep 2024 18:54:17 +0800 Message-Id: <20240909105420.441607-3-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240909105420.441607-1-Delphine_CC_Chiu@wiwynn.com> References: <20240909105420.441607-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|TYSPR04MB8291:EE_ X-MS-Office365-Filtering-Correlation-Id: 0a01817b-dd81-4875-2361-08dcd0bdc6a5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|7416014|82310400026|376014; X-Microsoft-Antispam-Message-Info: U/YDvLuHuT8ZJPNvYOrftj72DXanPsSm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TQPOgEIsCSVJv3NXpMnGOW/1cPvQ6O+WSHObKsc2kfZ6ZrQqUgREe8aeQ8qj5HeKF5Kv3WAABQ8uO0/XjMVrNZXiRBeSwiW1K+rZVSpOZ8KsIi2Xd3k84Qzrav8sizzWw+Pk1B6z8kFqRUHho0uPTIreuKkGTdr0T7TC1ZsDFX5OJL3A1b7zosV/iYVcGHBrvPpIGlLqV8K+Ius0yUS9BK1Q0wNk9PLvo+7RkhRAe7HAQe5M0OWJ12DzkAf1M5MWPqy1o9KWmjAHfNitVntqhTGHJmccY1WV0Nw55xkiLXl5i1eNtzIDBVg2cDM/SF/KnU2OHK7VDgUVCwZK4pajsQrjC+sC 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)(1800799024)(36860700013)(7416014)(82310400026)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2024 10:54:27.7531 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0a01817b-dd81-4875-2361-08dcd0bdc6a5 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB8291 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240909_035440_314319_D9E0A3A6 X-CRM114-Status: UNSURE ( 9.75 ) 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 Signed-off-by: Delphine CC Chiu --- .../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 bed6bf695496..7898c4c94b9f 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -938,7 +938,6 @@ &i2c15 { #address-cells = <1>; #size-cells = <0>; status = "okay"; - mctp-controller; multi-master; bus-frequency = <400000>; @@ -958,40 +957,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>; + }; }; }; };