From patchwork Mon Sep 9 01:37:43 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: 13795745 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 B7D39ECE577 for ; Mon, 9 Sep 2024 01:41:14 +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=WtOm1gxT8Gyb8WrQVSDmxu3qdMr6yZ1Z7qB5y9F9It8=; b=UPfk9vbCCSSqF4fXsOSKqaiGzu WmVpevrpaTSKuq2WMGdApxKd+mpCgjC2Y+T0nolXwgmcE7RGI0bGkgcuKSm91H4jUlWiND7Q+jAr6 YxLHsEvN4ifdfYHYsCVCOTVJ0DGoYaQ7bdq+1Gw05Ohooygjl5llBgvKvI2p2mOdUISU/Sljahttt JbK437S9BysfS04Xu76/Uhww8Zjt1v3Gx1jrQGLdHsPGf8SmFSfypoPih8yID+m0iHAaj5M0ibgBb mbgbpqmI9FDW5L4zfom9obwZyHYUuNTg4AgIXNtcjOjmi4ww/W4jI8Sko/Fz50RmTjaZl+/+y2RkC 1SSFKKYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1snTOo-00000000DIo-45o7; Mon, 09 Sep 2024 01:41:02 +0000 Received: from mail-sgaapc01on2062f.outbound.protection.outlook.com ([2a01:111:f400:feab::62f] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1snTM0-00000000Cm8-1Lgs for linux-arm-kernel@lists.infradead.org; Mon, 09 Sep 2024 01:38:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hU+znGeQMSnb8rfE2Y3zao1ShXMC5Bi6UtafCXU2yARAfsgx/bKQzToFm9uq9jt/RDNipLW77ZpoDpCNjI7aBlAD9xwSKNDCmmuqyR/rJRLgTvxUaVqxMvHUTdIhYcLmi0Hm69ejOQtdj97TmPdkc96qtIIi2KGry1p1QUnbY424oOepFjNUK+AeV62lk4vadMXammj2Ip8/bwBPRvShN3WnKjcvx86BCkpbLqfDpAhGd1X/VVpRRZYqlYnX88enHng3LyKX8OKnFo0grlWDWBjkSxANLzJcV9J3MdoaPyMGLeQTt04uLgIiPWh3aUdG+WyzwxOavYJojdLzth+9xQ== 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=WtOm1gxT8Gyb8WrQVSDmxu3qdMr6yZ1Z7qB5y9F9It8=; b=Szl7qpCOXo95aSZlgzgoc//0u7TOQvsVu6I4PPhwTwjsbaqpRVajqcVcyIAEB3vvd06Ks6ezHWK2gZb7RXTBx8AfediIrI4xFYx3xIPV/saOWm+jFwZukFi8LtXllxqTU/a0LVsFABCsapFws9JTjh1LMGLDpRRyZTc3yeLhw1SCgY/LvpQH2eJIe5bHluRSiHurOK58F14EJoG9CwkGZfhHSn13MKpKmkImvaHeajmZZt3ucbzp6uBXQwmdreZHaFLTRrXeH78A1ao2hKyTTfmdIdq7BRltEAcnHJDapEguKjJKRS1pF6xacO8qNybBR9J9TuugmMIpwu08JHL47w== 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=WtOm1gxT8Gyb8WrQVSDmxu3qdMr6yZ1Z7qB5y9F9It8=; b=jkfqgBLrI5qMXmJjgnHILJJrRuPIO6cZGTk38zJ+XvLKjamwfciUzayQdksxPl5g99ux+eieUNLAQO9X68wHJBSDlSR5yQvyIQ+wOV5SucXQc3hohCFcxa3pI81bYQlp/rmUe1nxoYQgrTvLak1jObWKCDUbQyjSM84Ns8i10KTbkPoIZKdhmmIXOnV8mAFUf51obs2FvDwf3gVnyBSWapYEtujAG4Psalafw6oqSTdcYFXPv2/ySoFhX2DFxi25l5LF9IEVOeP5zOlDnaWKCfVrUP6F6lrjkKsXMG7TKEe66G+RZsReBcWgKlhiXHmBL+rCkBicUkeNAmQhkFnWNQ== Received: from SG2PR02CA0021.apcprd02.prod.outlook.com (2603:1096:3:17::33) by SEYPR04MB7776.apcprd04.prod.outlook.com (2603:1096:101:210::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.28; Mon, 9 Sep 2024 01:37:59 +0000 Received: from SG1PEPF000082E3.apcprd02.prod.outlook.com (2603:1096:3:17:cafe::7) by SG2PR02CA0021.outlook.office365.com (2603:1096:3:17::33) 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 01:37:59 +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 SG1PEPF000082E3.mail.protection.outlook.com (10.167.240.6) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Mon, 9 Sep 2024 01:37:58 +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 v17 2/3] ARM: dts: aspeed: yosemite4: add mctp config and sensors for NIC Date: Mon, 9 Sep 2024 09:37:43 +0800 Message-Id: <20240909013745.3306365-3-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240909013745.3306365-1-Delphine_CC_Chiu@wiwynn.com> References: <20240909013745.3306365-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG1PEPF000082E3:EE_|SEYPR04MB7776:EE_ X-MS-Office365-Filtering-Correlation-Id: 73733825-2d96-46cb-da45-08dcd0700960 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|82310400026|36860700013|7416014|1800799024; X-Microsoft-Antispam-Message-Info: LA0vqQKh6D2Y6B/Z+ORWwWYUjpXH+FXIb1OQb6E/FcZ4bgfb+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N41c+veI3znLuIcuQVMHGPeAndTAvrxn/nvzJJrDBxwxYIpIBZ51wUUPSL7GWghTy0a7Yw1gmTbWuALnr/bVl9xXRYA79RXHB04ho6NiSY/nfmuS4d7kk5mxTU5jdPQv4kbfJ1sxwz9w0k2UEFCUPlsQ041+rMrVG37LArvIkohQni8Z0/5GeBhvPcCwRm0fL0it/CP/9nq/QkcA0n1sNRjg9mS8FwFojrcoddJQt/CsEM+6rlp2S3BypIETN4ucTZvCpNJbLBDh0ByARyrfIczXNYpAQels9BxTrLG+l5Q5Q8fJ1zU+NoExOKwC2OaYySBCu2u4MSPoZt9nJode5b/o1U2zbSi5pXOPD 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)(36860700013)(7416014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2024 01:37:58.5305 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 73733825-2d96-46cb-da45-08dcd0700960 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: SG1PEPF000082E3.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB7776 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240908_183808_419962_E7F94A67 X-CRM114-Status: UNSURE ( 9.95 ) 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 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>; + }; }; }; };