From patchwork Wed Nov 1 10:05:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13442720 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 44B25C4167B for ; Wed, 1 Nov 2023 10:07:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=0P2j+sr+OmPoP5vLDACpArfVF9B5T3kvG9N+1+X3WF0=; b=J3vQEQILcZuGZv CfTs7h6j56i22jfyo8oXpB3uUMTkmrTYPGSlw7NFjPu6W+M++IQTxM+sMALwjaVdmjkeH8j5uHqhL hxDUC08YKlK2GWBD0cqtM4GA5OT5WcSGPOm72DL+89HAl4OKdYfJl4VLgdbsqmI8jf502OXdxSSk0 kq25nHlZA3uApl2IBwbpMZsq+ODHVrb1CzVj9zYS32v44IQ39UqVMsvNipkNLrYaTTr0b8dR3r6Ba Zf60A3tJ2e76Y0crAvblIR0qgA+PSNAr9mGhj52KMWo6y7XKs/LsyhUAHWWmAqTIcC3y9KrkWKD5/ gOlp32TwAUI4yLPscKbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qy87N-00709H-2b; Wed, 01 Nov 2023 10:06:33 +0000 Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qy87G-00706N-1q for linux-arm-kernel@lists.infradead.org; Wed, 01 Nov 2023 10:06:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GMt9rf5EdITkXUJECENyU94y17Zs/I1XevWee6FRE6u3Ufk1YYu+f/tvkKg3bfzMrLGRW5YZXISgIJ+BqHWQwZcKMAWiUUJL5bMIAeSC3y4k1HxaEsjmEJ61456pU3sRdAMyKkLXYwjIEcrda0lVh+dMLGD94tkhAM4phRzuPy4x9mAdy0+TF6F+OUl3RAHbarvVFbyXWWnMpjof9URSi6HnO57jHCXj2s2JFa03zAEmYoLZZ/gP6JTBv+7iZSCnfbytccnXSOPyvnwSlBzv69q2GMHAyEgfyHGIQEPvaC7AkOVZ6yFprs99tKoWr422CjrmojlogSHEh0nikNvr1g== 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=iJWCQvw9a7gQETE9gHdACqfaOJPGoodWSi2uN4bMFR8=; b=czJlZSPTe+EdE0lUruY3ULihTLvP+Xed3HvYIr4YkyWJwcINTTadlQXAII2dZ5UYUoMLqjyrhwckcMc8+9suO92cAzFNjfox6zztqUTY6D/cbCh79YDQpW3nOBdNLWJcZ39dFoQmzUcmNapAXydiWTVSFP3MRQ3xAf+BAJ6OKxwVy0Xh/DcaDonk1XVnuGhAf1okkOEivzbfqzdZojiFlyppkWZRKUE2URG/p8/ZR/pvKTcQBR/r+JN5A+vDPZedKtkh9I0SOP+DMu0RX1p/97FdP+LwcyYC5sylxQqRVVm2Bc1OuK5sPXWKcg7J6ohiGZKr0s7dyAjpiWZP1sAm2g== 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=iJWCQvw9a7gQETE9gHdACqfaOJPGoodWSi2uN4bMFR8=; b=O85y7+QqWYE3jkmCH3PlMbMlHKQHQfiHfQerQw/+sDGc2q+q8UhM5gZdtfn2/g95DqxElLSp7w1vXmJkli8GtWbtcri6tycqziW85iIYAJ0XASA6apFCRWkJt7dlnYtGLqWSkYB9PYOBKIuvgpo1lQ8WrLQJutqnCZgo9RT48KKNE/zAix81+XhTY1iiH5PUeRqsmGe0smBVoWiplSwdv9RAwrl4ikPWlcqYQdu5F8RGpB/4ji0j7GbXjIc1O7N3o+SbpJHYKL9P4758DqNKcNPVjBi5YCvtQe8Dd8PV/MiGlEY12Sg2wduk0DQu2T+gZdqf0Lbz3gtVxK8U6t5prQ== Received: from PS2PR01CA0054.apcprd01.prod.exchangelabs.com (2603:1096:300:57::18) by SEYPR04MB5642.apcprd04.prod.outlook.com (2603:1096:101:3f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.27; Wed, 1 Nov 2023 10:06:15 +0000 Received: from HK3PEPF0000021C.apcprd03.prod.outlook.com (2603:1096:300:57:cafe::45) by PS2PR01CA0054.outlook.office365.com (2603:1096:300:57::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Wed, 1 Nov 2023 10:06:15 +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 HK3PEPF0000021C.mail.protection.outlook.com (10.167.8.38) with Microsoft SMTP Server id 15.20.6838.22 via Frontend Transport; Wed, 1 Nov 2023 10:06:14 +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 v1 01/10] ARM: dts: aspeed: yosemite4: Revise i2c-mux devices Date: Wed, 1 Nov 2023 18:05:58 +0800 Message-Id: <20231101100609.2516844-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> References: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021C:EE_|SEYPR04MB5642:EE_ X-MS-Office365-Filtering-Correlation-Id: d9157772-94f8-4c7d-1a5a-08dbdac22f07 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: okbea2/QYHjYif1YscOx5cIywuPtDCCSBwlMdOZZVH/1gu1xzjKzI1XaGJXbNgQ8k8JtXF70kwSC2GHCOd1LZrxmnUbMah9L0Fpljm7qHSpr9oJF/t2rxjHoU9W15EBQutoLj4+eWU+aKyk05DTmlNYC3+1txGH7JSe3vR7nT6v60pFOsghTtNCOemvSG7mBYvTjqvQhOnu/xiphXWdN+QAlCAcmtj0uayDzR/4qGgHJIi27Od8cIZ68GiKHRUDoihCsFqD9ODlXQ99Q615y5U6IIZjKKgjEpqASe+VGWc9yB65L1WdUlQw0vmbFXOQGcei+arLirGiTbCpGsXJkxmoxCFnZQN3mWb2yG1HPUqu+nz2QskdV9lz1hQ1qhAXz98RCbdd7t/v7gzAsTP44aimnxFiIrBC/eNKh41enBtYuqIaodg0lRJGWF60tcAyNLjB4Y3SNOaPh+pDeKx9bZC8otKIEw8boHEd0ZBTplxLrIjDdne4IbJuAqtQx3Hott0rJXvVMD4+5qAdbsK5N/Na6rK+EEAQPvNhxL7t7LrhLx98NBw5VnUT0mxf2oz9X1b0wfADYCVJONU7+laFMhY44h0UybvGA3cYddm4zNCPCUnuFNNErKpY5/VuZaJQFqqhAvcvQCf0ESbLCnDWPxA0D1n1pBHBo2H2e893uwEv9N1qPc7CRDGE7+YEceoQE0Afufdh+9HmZBKnk26h7vQ== 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)(6069001)(4636009)(136003)(346002)(39860400002)(376002)(396003)(64100799003)(451199024)(1800799009)(186009)(82310400011)(36840700001)(46966006)(6666004)(36860700001)(316002)(40480700001)(2906002)(7416002)(8676002)(41300700001)(4326008)(5660300002)(8936002)(36756003)(86362001)(82740400003)(356005)(6512007)(70206006)(6506007)(47076005)(36736006)(956004)(81166007)(26005)(336012)(83380400001)(70586007)(2616005)(1076003)(9316004)(478600001)(110136005)(6486002);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 10:06:14.8374 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d9157772-94f8-4c7d-1a5a-08dbdac22f07 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: HK3PEPF0000021C.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB5642 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231101_030626_804323_F945009B X-CRM114-Status: UNSURE ( 9.68 ) 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 Revise Yosemite 4 devicetree for devices behind i2c-mux - Add gpio and eeprom behind i2c-mux - Remove redundant idle-state setting for i2c-mux Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 381 ++++++++++++++++-- 1 file changed, 347 insertions(+), 34 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 64075cc41d92..a5b4585e81e6 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -17,6 +17,25 @@ aliases { serial6 = &uart7; serial7 = &uart8; serial8 = &uart9; + + i2c16 = &imux16; + i2c17 = &imux17; + i2c18 = &imux18; + i2c19 = &imux19; + i2c20 = &imux20; + i2c21 = &imux21; + i2c22 = &imux22; + i2c23 = &imux23; + i2c24 = &imux24; + i2c25 = &imux25; + i2c26 = &imux26; + i2c27 = &imux27; + i2c28 = &imux28; + i2c29 = &imux29; + i2c30 = &imux30; + i2c31 = &imux31; + i2c32 = &imux32; + i2c33 = &imux33; }; chosen { @@ -259,9 +278,109 @@ &i2c8 { bus-frequency = <400000>; i2c-mux@70 { compatible = "nxp,pca9544"; - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x70>; + + imux16: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux17: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux18: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux19: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; }; }; @@ -270,15 +389,174 @@ &i2c9 { bus-frequency = <400000>; i2c-mux@71 { compatible = "nxp,pca9544"; - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x71>; + + imux20: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux21: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux22: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux23: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; }; }; &i2c10 { status = "okay"; bus-frequency = <400000>; + i2c-mux@74 { + compatible = "nxp,pca9544"; + i2c-mux-idle-disconnect; + reg = <0x74>; + + imux28: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = + "","","","", + "NIC0_MAIN_PWR_EN","NIC1_MAIN_PWR_EN", + "NIC2_MAIN_PWR_EN","NIC3_MAIN_PWR_EN", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + }; + }; + + imux29: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + }; }; &i2c11 { @@ -433,16 +711,14 @@ eeprom@51 { reg = <0x51>; }; - i2c-mux@71 { - compatible = "nxp,pca9846"; + i2c-mux@74 { + compatible = "nxp,pca9546"; #address-cells = <1>; #size-cells = <0>; - - idle-state = <0>; i2c-mux-idle-disconnect; - reg = <0x71>; + reg = <0x74>; - i2c@0 { + imux30: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; @@ -450,26 +726,26 @@ i2c@0 { adc@1f { compatible = "ti,adc128d818"; reg = <0x1f>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; pwm@20{ - compatible = "max31790"; + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ compatible = "ti,tca6424"; reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; }; - pwm@23{ - compatible = "max31790"; - reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; + pwm@2f{ + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; + reg = <0x2f>; }; adc@33 { @@ -492,34 +768,34 @@ gpio@61 { }; }; - i2c@1 { + imux31: i2c@1 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <1>; adc@1f { compatible = "ti,adc128d818"; reg = <0x1f>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; pwm@20{ - compatible = "max31790"; + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ compatible = "ti,tca6424"; reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; }; - pwm@23{ - compatible = "max31790"; - reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; + pwm@2f{ + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; + reg = <0x2f>; }; adc@33 { @@ -547,12 +823,10 @@ i2c-mux@73 { compatible = "nxp,pca9544"; #address-cells = <1>; #size-cells = <0>; - - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x73>; - i2c@0 { + imux32: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; @@ -563,10 +837,10 @@ adc@35 { }; }; - i2c@1 { + imux33: i2c@1 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <1>; adc@35 { compatible = "maxim,max11617"; @@ -589,9 +863,48 @@ mctp@10 { i2c-mux@72 { compatible = "nxp,pca9544"; - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x72>; + + imux24: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + imux25: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + imux26: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + imux27: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; }; }; From patchwork Wed Nov 1 10:05:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13442719 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 39C00C4332F for ; Wed, 1 Nov 2023 10:07:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=YMCP63jZu71xI+taMwyCa7u2jXKCPpaXq5A3tPBD1Gs=; b=YjGUX4hxLqbKAn mQjCj2aD9dkUdrDY+aqUoWvT7Xl4Ywef9qRnJ76WZjtdkQaC2bnC5yY17jXezPk3aCfFl51ONl+wu sG3l4bRx/77t1R5ia9ISqToZIVNhpN7GNil5hTgLggJktjyVp7mKOIPYSzKEWqcW/pO2lie/AbN3B IZfy8qrOYZfiT8PROK0m9uB/ldZaU5wvBUfx3D9HCyVUFreBUX4fdKzcpDYXawcOKpfj1I3Iywy0p 3AL8TRxt3aWa8SGJ/CVxnC3LGSH63Kib4QIPf2hvGMtyWXHYUTQ70bjEE1eikq6RfPxFyqMIrpR5z +Mi2DhBbzzbLpD7CUmYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qy87M-00708F-1b; Wed, 01 Nov 2023 10:06:32 +0000 Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qy87G-00706O-27 for linux-arm-kernel@lists.infradead.org; Wed, 01 Nov 2023 10:06:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TcHdPfkN+NZjMJkvOKDlCm9ScKLONPiXd6HTOweGg8KD0efF45/Ujo0XjauYyP8ivawZmOD05/Yp38E/cGAakSp7zX4a5i6seCehOU9EFAkW2jsAOt5RI6TIt5S5uTtFavqQBQ89Hgr7AkNKs4o+GS5HsufxYezPOkTB2uiAUzrV82wn1NvINLzEyHc6GyAzVl5OiXpauBA16wkQA7HEjS1NHlZZwWv2e6vW49aFlHOKFdaRDdY/Y+z1qw7YRWteO5A8aOeyAeiO+aRF9DXT2eOo3gpAHmAX2r0oLeRH1ACcauUrQhH+G/502KjmALOaANYb/o1hrw19SbwDOhgp/g== 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=irfYr8OVEyxmeamN7dwIjkiF9gynvXC3fYeuuHmMpMM=; b=KvkfY8uFWg3vJO9UufPe0sHLlbxtUZAkgMhmb+94XGUJ6Ca/Vi15vw6tnYnYYq20LJ/hdstTzVJE3ns0U36+YwasXRe6QPgzwFcBx4vZ2dhdr/WXj0mnxJgpxzbDtuzPChq0sPIMEMUBOtZGg2eP8zd6+dHN2a/G1AgdB/8HX8KvcW3bpht7X8bopjQT49wkAlLNDJTudC7uKm4POSLhNrYsf7mrlDj8ZCmLZ7ib1Ms+LENWR+Vcm+0mlrGzH48IwhMn9bxfpuDF/NqzTYNhl42+Q1t7zviuLRuq42gRv+fJS7ZeegfyfAbHPSq0XWvrqfGzlF+k29GDwkyB3Ko/3w== 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=irfYr8OVEyxmeamN7dwIjkiF9gynvXC3fYeuuHmMpMM=; b=RjqQMn5LI2BpvHiHQkNDUbrHWP4DI35S8F3gKRPW55MYN+0EIzeHJhh5tsSa39Er9tXiljMD9E4EJmMJl19PEVcLurmNFq6ZRXUyaGvFStX6Ocg3A/4mG/4QorfZQv621hOw6u2jM+raB9zWD68beZPzloqAcdudYBF03TfTHYIxuMV12YZDiUqzm/A4F83Kt+wA7lLn3/iMNRCWjPLPYiesXa0eXtgUdtUcca2FhoN3jUeJzK2cYbn1SZtOMXz9Q4E6iDfw3rhJcT736qik6pytIl1s02LO3Nh+W+gDawY63Wq+dW57LADazFB4vMCYk11fJ27DU9V1gT71wwAXLw== Received: from PS2PR01CA0071.apcprd01.prod.exchangelabs.com (2603:1096:300:57::35) by SI2PR04MB4235.apcprd04.prod.outlook.com (2603:1096:4:e8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.23; Wed, 1 Nov 2023 10:06:18 +0000 Received: from HK3PEPF0000021C.apcprd03.prod.outlook.com (2603:1096:300:57:cafe::f4) by PS2PR01CA0071.outlook.office365.com (2603:1096:300:57::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Wed, 1 Nov 2023 10:06:18 +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 HK3PEPF0000021C.mail.protection.outlook.com (10.167.8.38) with Microsoft SMTP Server id 15.20.6838.22 via Frontend Transport; Wed, 1 Nov 2023 10:06:17 +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 v1 02/10] ARM: dts: aspeed: yosemite4: Enable adc15 Date: Wed, 1 Nov 2023 18:05:59 +0800 Message-Id: <20231101100609.2516844-3-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> References: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021C:EE_|SI2PR04MB4235:EE_ X-MS-Office365-Filtering-Correlation-Id: d7c10b34-1cfd-41ff-1979-08dbdac230cc X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iWnjhVlA+FKopP2/djPnEl8PVt9d6opJ+wSehntzzh8a2oLMrDtj/WyQ271oRomVIPsACi6ujFMzLsWY5A8Cbp8qVulGVc+0ZtlbsqhL985hJG1Gwe4y9m0deesiBRZBWbKRqgbBIvOgkjrYIKG+2PmOdXPqBebk1ZSSYBj4kc6FOqMC3oGdqUIIGqr2iy6y5a+PDaxkKYqq/xCpo+Sd743ARpsIVoTzHGHn5GSGB4GfN42ywZZSf8AHpsLepqkLiOApUliXGWMwI6N819vIUpZyEK/zcp/Xq215cAV/ZCsUFjY3UyaZNz8VhIILZ39UxjS/YbvPSrAABERJBDJNGaNosNVkYBRWU+tUCCMZrLNbbFIQuZu2hIS3SjIQEe6BDPyAAQfVAfEHeThkTDfr3CvmXPvw6AiarzZMVGO+IKYXS9hBPohvMMAv6pgxumdlx8/JFdP7N8tKVc6plCyuJN6biNP9RH5fcWBJeZyId10g4vvBCjvA3UYZuD4HAmsKuUzhw/Ae7twWe9p4+DxzwtyhzNoxgPuJdkUSqxKmPYtxqCuZNDrlgmugYx3rFIWGUQQmKyeKxc9mpd4nNESQJXa5UqtBMEPbjhQu4Ergm+Izg3bRHvoqfopl+5E0Y8Rwnb9KuJLPHo/4X8nS34ni1PlDRTTBYLR1hWzDTrWjxS88ja4H98ksBOqK4e+WaGT/reMYUqnIdwU9W2sEEBvtIw== 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)(6069001)(4636009)(346002)(376002)(39860400002)(136003)(396003)(1800799009)(82310400011)(451199024)(64100799003)(186009)(36840700001)(46966006)(36736006)(2616005)(956004)(41300700001)(36756003)(8936002)(26005)(6512007)(4326008)(1076003)(7416002)(36860700001)(81166007)(110136005)(2906002)(82740400003)(70206006)(356005)(47076005)(70586007)(5660300002)(6506007)(316002)(8676002)(6486002)(336012)(9316004)(40480700001)(478600001)(83380400001)(86362001)(6666004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 10:06:17.8062 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d7c10b34-1cfd-41ff-1979-08dbdac230cc 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: HK3PEPF0000021C.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR04MB4235 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231101_030626_802690_61ADDB8A X-CRM114-Status: UNSURE ( 9.34 ) 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 Enable Yosemite 4 adc15 config Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 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 a5b4585e81e6..c540523d5588 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -51,7 +51,7 @@ iio-hwmon { compatible = "iio-hwmon"; io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, - <&adc1 0>, <&adc1 1>; + <&adc1 0>, <&adc1 1>, <&adc1 7>; }; }; @@ -920,10 +920,10 @@ &pinctrl_adc4_default &pinctrl_adc5_default &adc1 { ref_voltage = <2500>; status = "okay"; - pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default>; + pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default + &pinctrl_adc15_default>; }; - &ehci0 { status = "okay"; }; From patchwork Wed Nov 1 10:06:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13442721 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 82244C0018C for ; Wed, 1 Nov 2023 10:07:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=0lp9ZoPtUrSem4WkbcAMCaY3cFvHdTQ5NfoPPW0XqQM=; b=hLl/kCjnKGK1+N 3f+TWPHgLIzkra+rW37UVVSFAW4EBmsUul1xh4aIYWpVsCMpw2jtq9ENzS9DH7NNkuFXOj7tZUD5p 7EuH8IYDeD18k2BtLRopmSWA7qwuUbCUqDPni7/1EtfKiN4O4S4kMhbJcAPm8I78TjGuikesljywF h3FwfJhx1lGC8gbajVdUSVIA8gdPxphGGylwKgGt8mnBsP6Zcplg/Kht+fMV/zIvfHa+bP59OkR0A BEuiMIBx8lkUWOThztWtDQJ9uCB+IQ7u0T+ul+18a3MdzIx8Qz2Fi1KueTGW6ShNSWIGMx0xaxTEE K1567TycR57CfQ528m9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qy87T-0070Bb-0H; Wed, 01 Nov 2023 10:06:39 +0000 Received: from mail-psaapc01on20628.outbound.protection.outlook.com ([2a01:111:f400:feae::628] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qy87Q-00709g-2W for linux-arm-kernel@lists.infradead.org; Wed, 01 Nov 2023 10:06:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FpZ25wFj40yYsZOFrWcOdYBDc/iwsMaL3PvWTjl5vQpQB009YBEakSdIYQuL90owPGG5eprZEQS61YppPaQ+EzgT1rkpfndZfrj6s0meQFa+ycN1dNhCOPkpy7ADmIRAHFeQi1ZoWBebpXX7fcgFvkTmwUGG7N0bZ5twh1oZ7jWPGAaF+CItqrNMLOWt+ce11N+9bzzSSfwjdAlusOsa4d4hIoIE1bILwrmMIl34M9Ij7m0KSZTLhQ3h/16vF40NMzE3XBXMFvm+H6vdu4ISuy0LFDOWe/XtAblSeERX70yx++wRWDgDnF/9hWiaBUiTi89ij/A6ktY9ezgMtIeN5A== 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=vs37e3uLYionywV8nQy++I8XXaMF93EjkJaduQZOeZk=; b=oLPugBPQK3xzGAr5UnapKxFmmXYtm9rR0rzEp0HxuGEAn4TF4EGqDXD/3FTGoZDnK1IZLloP9mKb2YQ766FEezVonONiw5sfw5baFdKFlko65eITTJ3eWfdYTpicJHW6pwk2CpD0Wouxqbr/e4tPkrbFBe55eeYQ3QV7IAii1vlNi62A0C7Ub7mT+PyduBARm2NBhC/a0CpcANLLLCnF0/F9fo55uoFi38ZLiFDBbh5p18XIa7XvoSBtFL7oCXT7wN4F+fO9J3Y07eSw1pytaLzYO/EhAZBcTmSItik87EAvVNtvHkHhe+g0eQNEcO+yLqcmqgS5MpQ4x8IdGt3I3Q== 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=vs37e3uLYionywV8nQy++I8XXaMF93EjkJaduQZOeZk=; b=kD62R5mJxFTO2Nc/kczNFFdc9fie3VSsjRscRnGzRf42EouiYKlfgFIjVRDx/B+PtAc8PQCFdJOn9D/ik4TeW17kL7147jBSt4NZy4XBN6MeU97vIjP6qn3vKfSZ/0/CTExUMxd4PObK8dyb7FrUdQnQvu/a9qeSmFtBfpPkYA5Nu6NQen7aT1burE6S5lmjV3e1KgEVLVsmVaGktl8n4pqxshfJWCXtGRGAKWYFrz35JAVy+6rZD0vIm6Ne4XsbvJhdoLjVOsBLARRdMQi1yngEhjUJBdzy/X3lnwWVcU3PYkwPKIzYTFLLI75r8krAgb6L8hKSz6ZwJ42YgNes7A== Received: from PS2PR01CA0071.apcprd01.prod.exchangelabs.com (2603:1096:300:57::35) by JH0PR04MB7070.apcprd04.prod.outlook.com (2603:1096:990:30::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.27; Wed, 1 Nov 2023 10:06:22 +0000 Received: from HK3PEPF0000021C.apcprd03.prod.outlook.com (2603:1096:300:57:cafe::15) by PS2PR01CA0071.outlook.office365.com (2603:1096:300:57::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Wed, 1 Nov 2023 10:06:21 +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 HK3PEPF0000021C.mail.protection.outlook.com (10.167.8.38) with Microsoft SMTP Server id 15.20.6838.22 via Frontend Transport; Wed, 1 Nov 2023 10:06:21 +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 v1 03/10] ARM: dts: aspeed: yosemite4: Enable spi-gpio setting Date: Wed, 1 Nov 2023 18:06:00 +0800 Message-Id: <20231101100609.2516844-4-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> References: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021C:EE_|JH0PR04MB7070:EE_ X-MS-Office365-Filtering-Correlation-Id: cc02f7bd-8253-4289-1366-08dbdac2330d X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BgV04OlS/tGbcnR8FgHuRFTwP8RIzWIY0hQB3gvfdgF3Mu9xeWGfVv+3j836QvgAJ2iX3+yXMuwTUsTpfG341zxJpmOoRy0uB6w3we+B/b7+8oEcpt21fnJY10xm/sqlFiqBPuz/eBGOVSNnEjvS8fsZuqJOPBaMI511eaeqstnYV00SA/1JEJSF+M/iE+gPeoTxXaIVZIWxvL12Yfi6W2HZ3CMrFpr+EtXaWqqr7KBrB8JEoIXHtys8she8al7XhtdP8T7MXYw2Uae6u+b/vmsEePH55Pm+XQsi3m2X4Eq6i5Y4TxYPQIWITcXaNN1O+y4kxbDo56DicYVDjA7ZiRoL6p+GRtfmtmJFWLhjkiZapVZG/LyhsFlUza92MTaJxISsVbYF2pWuxVvihRYwUYPhk+y1B0Ioi395DtA1pMkFJbLfcPsfFW14I/j00oWJ9uLpItFv6IVZpFZXu+oLbCr7BIroY8fiml2Qnvz48wRX+ETq6oYbZTZiiRuocT9MVtvascAlbZwJ7c4/0NCGtnFk0BJSfEN5+rDAvN+tYAcCu/2hNRxN1XHkH0Z4unenaUkbvMe1GZ1MhBmGnEDcZY1YIDt9zpsOJDosBsABIJz+Z7w1hcnKLWaRBgDUeIeqgFxk+/nj5CZoezb4OTEBkvLKwxWljEkxtCi43p6YuvCNgSOJT4RHcMD/MpZ59G/2acu7I4pOqBSGlNqZPrTF0g== 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)(6069001)(4636009)(376002)(39860400002)(396003)(136003)(346002)(186009)(1800799009)(82310400011)(64100799003)(451199024)(46966006)(36840700001)(36736006)(36860700001)(316002)(41300700001)(47076005)(8936002)(82740400003)(8676002)(86362001)(70586007)(70206006)(2906002)(4326008)(110136005)(6486002)(478600001)(40480700001)(81166007)(7416002)(336012)(5660300002)(356005)(36756003)(6512007)(1076003)(26005)(2616005)(956004)(6666004)(6506007)(9316004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 10:06:21.5875 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cc02f7bd-8253-4289-1366-08dbdac2330d 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: HK3PEPF0000021C.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7070 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231101_030636_819898_992475C8 X-CRM114-Status: UNSURE ( 8.80 ) 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 enable spi-gpio setting for spi flash Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 c540523d5588..20aded2d1be6 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -53,6 +53,24 @@ iio-hwmon { <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, <&adc1 0>, <&adc1 1>, <&adc1 7>; }; + + spi_gpio: spi-gpio { + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + gpio-sck = <&gpio0 ASPEED_GPIO(X, 3) GPIO_ACTIVE_HIGH>; + gpio-mosi = <&gpio0 ASPEED_GPIO(X, 4) GPIO_ACTIVE_HIGH>; + gpio-miso = <&gpio0 ASPEED_GPIO(X, 5) GPIO_ACTIVE_HIGH>; + num-chipselects = <1>; + cs-gpios = <&gpio0 ASPEED_GPIO(X, 0) GPIO_ACTIVE_LOW>; + + tpmdev@0 { + compatible = "tcg,tpm_tis-spi"; + spi-max-frequency = <33000000>; + reg = <0>; + }; + }; }; &uart1 { From patchwork Wed Nov 1 10:06:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13442723 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 990EBC4332F for ; Wed, 1 Nov 2023 10:07:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=8ZulGscp+ZPrwhttDaJFvw+S1JO73GCAGlVxBFLQFrY=; b=FOC/ycs5B/SCRw 2+Ha01yvRt3YgRj9dA99YVXfnNxI9/RQjOeqexE9cy1R+5qSc7r9dUqyxNGaZ85t3P3mBtJO5fSV+ 3eMM8FtHFSl7wPFJUN1bxB5JwDWW19TFOPQD7JlDRuAY7zsP0rP7ccxRrayTvqdM3/Pl+/pDmTOBH 0BYbTGVBNUkm+I0O38ifjUtDb2dGHXAwG4nQ7XvHKDIRZs9LEqsF9C14mBvd5UJV+W21Kv6JLngWq Ic+QQNylo53WcRoCoqZ3XFWD8QhhZDvemNZmaghxmlSvwj6vNgQtAU7qLjh7ewwB8YqqVtsQO3vv2 ATADLqwGuVLz9LFkm6wA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qy87c-0070Gg-0X; Wed, 01 Nov 2023 10:06:48 +0000 Received: from mail-psaapc01on20607.outbound.protection.outlook.com ([2a01:111:f400:feae::607] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qy87V-0070B9-0p for linux-arm-kernel@lists.infradead.org; Wed, 01 Nov 2023 10:06:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dS6wnxm/7xh5UeJ53DXPtFLUbHDxal++usRYvDETqmkDnuEEwmU6Jw9b3lkPdEzgRKR8KN+UDNY6LFRGlmM98HplO0KRsLS2IgvD1ktgKh5a6JNq9cGFpkvXNmdwz70hNb0bscOgaBJ8yr+LT0jUZaPHIDs6b8ZH9pHcz2BeFAHeSOqE+kt1pPc9HnmW/uOcs1FjheShrQhxqd46rvFYWeDrK0fXAs+hjTtUfMnhP8Ch4MOgUoGVnY91gnW0ix0QImJyGc9mOXqOT/6TsQnHfl1OJy37pcXSq4wQYtqVhStjaTI6zJ5s8zPpQWqKP8K7OMQeEpO42bfyza+ZxY1Nmw== 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=a6eUXb3yAB6+1sF9KGxuPj9S2mmZlucBK/+y5NgEZCk=; b=EdGYROEYTsbYc8BST1sDJyUl7MpTcwmvaQzoiD6dCMV0isY0sUr8/YpnI5rA7F0fSHpbLbpiu5xoLzFaeMmnqRs+vq0b3HJLwngDyjMxT9veugSJa7jXwwp01XTWsxwTmuOzQUBE4fDNuE0mtZHUDs5XblsbHiz78WqI/q+ZYoVkivxKhSm+x4luuXRkpMZUCMA8Ltviqwmr7P6WWIjOTTTrgbrKX8Elqx6RH2d/iJ11EjtTl7h2i+eRKXTwuaMUY1099qBPJgzizcZo6t6drZjoBFrd3FkweCU45Galy5w0UlSpaFNrz4+RGRpLvPdesIFCshUIPZQeiY6Ut8Z+Yg== 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=a6eUXb3yAB6+1sF9KGxuPj9S2mmZlucBK/+y5NgEZCk=; b=ejNdn4dlS/v6WYW3D5OmTlS1dWL49R/SWseATCQZe5tJBcfI0Q4RfKJhJzh6VLJVODmm37bfBLVAIBb4IXEQSvj7Wkccv3f5f1CfV/4Wu3oN6ogWFf7QFXNPnAZBhqcU7fgAfD0cGTeygVMM55xqxLV6/ygz0s0PuelhW9ajmALIkkVsxREk2EYCarG1qr2Muv4UtEin4uNz+WHodVad+a0qcq5AarOqrz3hgRw3pE+EV3gD/iA1BO9qXWG3FTfr1+Xu+G50ex/nf61zg1hgDbGy5rHjim25+jYhG0Zgrw79N/0LkPRHaxxlLmnZZdGzco+CHt7FOZSyopOLESKuuQ== Received: from PS2PR01CA0050.apcprd01.prod.exchangelabs.com (2603:1096:300:57::14) by JH0PR04MB7624.apcprd04.prod.outlook.com (2603:1096:990:62::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19; Wed, 1 Nov 2023 10:06:26 +0000 Received: from HK3PEPF0000021C.apcprd03.prod.outlook.com (2603:1096:300:57:cafe::4e) by PS2PR01CA0050.outlook.office365.com (2603:1096:300:57::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Wed, 1 Nov 2023 10:06:25 +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 HK3PEPF0000021C.mail.protection.outlook.com (10.167.8.38) with Microsoft SMTP Server id 15.20.6838.22 via Frontend Transport; Wed, 1 Nov 2023 10:06:25 +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 v1 04/10] ARM: dts: aspeed: yosemite4: Enable watchdog2 Date: Wed, 1 Nov 2023 18:06:01 +0800 Message-Id: <20231101100609.2516844-5-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> References: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021C:EE_|JH0PR04MB7624:EE_ X-MS-Office365-Filtering-Correlation-Id: f81468c6-0067-4fff-49b6-08dbdac2352a X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d6TuVGXgl01I/QtEm7Q3gIiHI0ZKP/K6ZISM51SrgXt007L/zh1j3dXS0bs0cAaS7h59fbwr/Er9pecbaXmVuKyBeo8Z6mQzLvEJeIl3L4y6lPiI4v5k1jOQXmQfDSX72UbKMHyjbOXzuBSEpES20qgrCfPAQjTBRNHEaTsR3MJ3Udj8LSSQMDkqRH4XXfHS+DutOgUgFUX8ZWXFpNXoHmKYnK1ap5QbFoVMNtpxYiWnFWPzQ18ucPd4TVL7sM3BKDoKxoc9A7V9YjMsvRdi3vqwuJ9wT8+drYtcV0P50npUOAGf9hIF6S6y8VOScF+OAzIrxZvqR79G6bCqio8/BFgDTG8wJcJFOvS2vgmYL5Q3MEQebkN56CqAFY1cbzHypJFartbI3pb2rJxANWq9fRjXi6Fa6FH/6s2ai5IohkWYcWOiZFYziWck/oemjQzAcntEny9Idx6dUUazLOXiKAJx1GiH/UIv4v2cCZJAUMyzUMqO3yRN8xa/9gPaSPP+91z789bO4T5eVJGG3cHJ9uP9SMHV+pVnudrlzQB29jZQkMofo7UjwKVBueFHKa/GKZQo55jPT3s3ZWfgxoy/MRRYNg/spKA9SC0m89tOJaaZPjy9Ra1kRBv9eX2UK3wjN2Q0E2U/Cx6UMKnMs5a5RxcaBVN4BuxDRiVyu5rTcc/SESgIXBpSrW/MqCXsonX2nI6imWlm2dMIJrf0Dk+0ag== 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)(6069001)(4636009)(136003)(346002)(39860400002)(396003)(376002)(1800799009)(82310400011)(186009)(451199024)(64100799003)(36840700001)(46966006)(47076005)(316002)(956004)(4744005)(86362001)(2616005)(336012)(81166007)(9316004)(2906002)(1076003)(26005)(36736006)(110136005)(70206006)(356005)(6506007)(478600001)(41300700001)(36756003)(6512007)(6666004)(8936002)(8676002)(70586007)(4326008)(36860700001)(82740400003)(40480700001)(6486002)(5660300002)(7416002);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 10:06:25.1344 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f81468c6-0067-4fff-49b6-08dbdac2352a 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: HK3PEPF0000021C.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7624 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231101_030641_716102_F18021DB X-CRM114-Status: UNSURE ( 7.99 ) 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 enable watchdog2 setting Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 7 +++++++ 1 file changed, 7 insertions(+) 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 20aded2d1be6..bcff232a1782 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -120,6 +120,13 @@ &wdt1 { aspeed,ext-pulse-duration = <256>; }; +&wdt2 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdtrst2_default>; + aspeed,reset-type = "system"; +}; + &mac2 { status = "okay"; pinctrl-names = "default"; From patchwork Wed Nov 1 10:06:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13442722 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 AE65BC4332F for ; Wed, 1 Nov 2023 10:07:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=THuar8kZBqWlnc6Iq/N++Xyy8tpYczk8Eo27RsauIPE=; b=Yj1INKAeU2lKWL IL/lr31yoop/AQZrUhLw13f9yw0G7tcJCdi2oD4XI+rZvR3x7mrxv5kF/t6h88o+NDl7svhkxQBqM jb68f0kbJ7fXOsZEFAr7AWsRRuYDQD9ssrIoa/o4CJpQCitSWgJvqLWnOrCtlZxy0k/Laskt03sFb wAGgtBCvQPWe0TCqDYqTHajzUn9EzI5VYV8EjaaXYZ7mrOL+kUqXEAZ+C5KZN5E3Y9JflZX5Zuy95 Z65CqnoqKHe1UE1qWGQCRkeV+J4ZLMU88KBOVeTS8DpX1ZfB96cNIKLSMEl/PNqOsVBIgkRIozQhj 3y+c0f3akxfFm9MrsHsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qy87Y-0070Ew-1X; Wed, 01 Nov 2023 10:06:44 +0000 Received: from mail-sgaapc01on20604.outbound.protection.outlook.com ([2a01:111:f400:feab::604] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qy87T-0070Ak-1e for linux-arm-kernel@lists.infradead.org; Wed, 01 Nov 2023 10:06:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RyQl4dzpDVaxROu3im39YW8W9AG32ep5vqD83ExFtRmiIAelt7DiXNMifbaqyJBmQHt+fAwJBLZ7HuBwLzSsvxDj2Bb5/Xd2WpNtBo98vXEFw8VhEJXEJkXcDKa6KznW8LDvPn+cQCgKss/c+hAtX4rhheSJ0tEzGmUS0ZQTa/awDw/ukpp8xwCq43+tZGvLuGNz1upl02c6S+L2/dxPMzWrg4LdXB3gz0per+2XCKp8VxBwfRl5EmFVAiK5Mx05lXaXo4m3kVp12Cdi0oa6fmfTXQg6yKtclsLAycjy651CB6sTIG8iGa6tWrKO3jnjmf+0T5SBYNH1ldh7QVrKSw== 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=FdAbnRoFDsIdH/0xJkZgMdixUz8aklntETREsmiQy48=; b=lhZi+SExLu6Ol86ls23xvinM7+jcOkFqxDBzYpaOyAvVktVrAProNhCNSkwqlGT3OJo9IumPPyKOfiKhRJzBcEuIvZ2zUAM5YI425GjykhX381tT2m1FJeTTyENePBaQDSkNHXTGmpziDziGRJXT5wZhKJ7vzxjyjU5da0xsM35nNvf049sqFjb5nwBVLogSNHttYuV0SwBGIWoRQQdkAV4rXkJuziR6RsdFj47sE0xEeXJHsHKbQS3Q1Tw1OLvQkg+thj1F76KwogSJewnt4eZKpwy4AM5+MKXqEygILuauamrGlp9eLcAgIqpL9btm6v/tLNSgeVKybT/j604N7A== 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=FdAbnRoFDsIdH/0xJkZgMdixUz8aklntETREsmiQy48=; b=0RsqEQw0gndc59fFsrMIhKU4+ZaW2kDQSrVez/gMZtAlobB7Ki9PP3EBsyP9oCUyZtJpEGiSmSGgjK3oZoGG7IOuendbqx8egXSi65Tt57G3h6sgfCeKJYHrbb3+27azd4p/bVf6iLdRK6XQeJAZuimX0c20z3JwNjaU5PHG1JiNSmsBAfTzFXHCpP1EmUSgvxO7uFLeizNLAMyRMG/PATj7Bnl7039Y4ef+bVS47bKTTh/OTUtpptDJAYCCiNGAfr1/8BgdacTrkUTm7eQGURjCF6WWl7Y94KLlN38wIfLzsAB4WvuoMneJ/x07ivv2Mm7G/988v5mK0gQxHH7xFQ== Received: from PS2PR01CA0053.apcprd01.prod.exchangelabs.com (2603:1096:300:57::17) by TYZPR04MB6921.apcprd04.prod.outlook.com (2603:1096:400:33b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.29; Wed, 1 Nov 2023 10:06:29 +0000 Received: from HK3PEPF0000021C.apcprd03.prod.outlook.com (2603:1096:300:57:cafe::5b) by PS2PR01CA0053.outlook.office365.com (2603:1096:300:57::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Wed, 1 Nov 2023 10:06:29 +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 HK3PEPF0000021C.mail.protection.outlook.com (10.167.8.38) with Microsoft SMTP Server id 15.20.6838.22 via Frontend Transport; Wed, 1 Nov 2023 10:06:29 +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 v1 05/10] ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode Date: Wed, 1 Nov 2023 18:06:02 +0800 Message-Id: <20231101100609.2516844-6-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> References: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021C:EE_|TYZPR04MB6921:EE_ X-MS-Office365-Filtering-Correlation-Id: 53c3884f-c7d2-4821-ca13-08dbdac237b2 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2fB0lVe+3Nv5vBUkW+Zbamel/TGTsfSUVMeKM/fMMQ1sHrrUS8Fz2IACUO8DcDtlsqxCsWcOBaMsoXm1mwNeTrdHn2F2SLp8UlPKL9O+x2WTaCo7b+Z4aLu6me3psaGzdLHzGpdW3GavWGTMBBR60EdlF1WEsrsexB+0XNdmoAFaB2wyB5dnFEmKxg1Pbp7aOEBagCdfbJsqYlM/AK3zJhnOHIHBcywityEY0NGzmlPmQ6GBek34wcDiUOEdjLa6chrRvs19XSA4asTvt32DS/BpbryTOu4MLyNH5OscA+75V1RfC6337bsMpzOKcfIHNtnu344k4cc/E7C0T8vGEEtjmTJcsnlqiKKjGjYlDlBFK1vBgFlRT2qJM/Ec3B6y/AhVruJSU18lJRYhZfPbVueB4GjrWASAK+3TL2KYDZaqcVpXxBemMW844PGJ3qWxLoTSN1ksRc63n0Gmb+93fW6OfDV2viWux2Qeypa88oxIqD7hFl2jH1MEP7wcNkkzGP+Yt2mhbOAw/Kg16TWeqBVfyc6niGOwolr6gnlNT0SezTEBQKUP9KuPMXM8TSw2OGbSfHE2pd+YT5f1DvH9GjtGbh1Lr41Dy5kPf5W9kVwO2ziPL6VWMr3qDuEJNxKUyFQlHY5X1HhP7YMS9sOVKAUgTZpthH07/Wf1WvVZPl+nesb7ERZEvqGjbFuILU10m3fXUViyhkX4nf2ncqguqQ== 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)(6069001)(4636009)(346002)(376002)(39850400004)(396003)(136003)(186009)(1800799009)(451199024)(82310400011)(64100799003)(46966006)(36840700001)(47076005)(7416002)(70206006)(110136005)(6486002)(70586007)(6666004)(6512007)(6506007)(36860700001)(2906002)(86362001)(36756003)(82740400003)(1076003)(9316004)(356005)(81166007)(26005)(2616005)(41300700001)(956004)(336012)(316002)(36736006)(5660300002)(478600001)(8936002)(83380400001)(4326008)(8676002)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 10:06:29.3844 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 53c3884f-c7d2-4821-ca13-08dbdac237b2 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: HK3PEPF0000021C.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6921 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231101_030639_547859_5DF490CD X-CRM114-Status: UNSURE ( 8.97 ) 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 Revise quad mode to dual mode to avoid WP pin influnece the SPI Signed-off-by: Delphine CC Chiu --- .../arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 8 +++++--- 1 file changed, 5 insertions(+), 3 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 bcff232a1782..5bad7abd8f65 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -149,15 +149,17 @@ flash@0 { status = "okay"; m25p,fast-read; label = "bmc"; - spi-rx-bus-width = <4>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; spi-max-frequency = <50000000>; -#include "openbmc-flash-layout-64.dtsi" +#include "openbmc-flash-layout-128.dtsi" }; flash@1 { status = "okay"; m25p,fast-read; label = "bmc2"; - spi-rx-bus-width = <4>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; spi-max-frequency = <50000000>; }; }; From patchwork Wed Nov 1 10:06:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13442724 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 95BF5C4332F for ; Wed, 1 Nov 2023 10:07:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=ia7qUlhvluf1ECHyv9x600N78/APDh6tBEXQiNyuEFA=; b=jUflYJr/noGKa0 RWHWjDRjYl0/TrmxhcCkdeSzHQuDm5uE86i0kbPWREzPvryyuWd9axDz8QG6MdROCZtSCFXHlWg4w R7jS+lvZb/oi2i+jP4jZXpyhi9WV9eygFWRhqlOQaYgjVMflKO+bR6onc8psTOgRH1uSaOleLwPUs b0rPixkjpp5rjhwNuM2pMVGn8NcIUI6HZdIqEyoxTNCIIxuK2lZFwq5m5aXPeLVqc0iXq8agvVkKm ft4IqCHOzKewyzzgGhBE6Sl/KyON/+dt9VWR+IQzoz62ZyppxymKzHrNVuOysBzH016NBbpzQ6e3X wv7NEBk7aC+X2X0XYYXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qy87c-0070HI-3C; Wed, 01 Nov 2023 10:06:48 +0000 Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qy87U-0070Bc-0E for linux-arm-kernel@lists.infradead.org; Wed, 01 Nov 2023 10:06:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EmyNxAFzM1z4CwhQbx639P6XpEv3dWEhKJtxn1jeFEg/bI+0qK4cztRbUgvR0YeA1Rchjntb1wObDJFs71lrnTV61jw1Zj7vMzbl5i7+hRXxKbRwoGxCTga7FNMtKEMGXO+seqAKfwNrtdhhMlzcTvarG03/p9a1adojMAHPMW2wi8alzxio66gim6r34Gg/no+hjIuLZx7PqIc9nNtXJpmpL/zmPOt2wTybqwIEonWWywIjIVCddJxgINFK+1UEObOml1WmP4QWPscOhfFUnZoxnEHRt0dTk7MdQAOY8GS8oOvJ7cE99FX1r+POv42XtPKt3fB4d1zVxA0SvL6PWw== 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=35HQaRL1Pf3wCPxykt6OvctpFhwvKLgIEWC2V9goRQ8=; b=cnewkrFXS9iWzUd04PCAGjtJpF4cYyaRlTWeevKRNbY7uj0J8xSyO/aShV4BthDAUnA/XHJbQjqNVk0eVtd1fXxCNgRYapvPsqth0N58k9/n8ogAcMhsdBfFXpujV77cyxgn3Gu23dXFwCsWT2k7ZifgvoTzDpO881r/qaH4BpmmOfD1hwvOuLDhUoP/JHShxLkciXhYfY74grQLyIKkm0qvSLilQ6+HpGesTBnyRT4E9nTgVCeVKccmkbrw/Up7vG5fv9t6ggWTOeRyVMoBtE1Pk1zJqXQ0fLNE2In+yZmDCHlq8O4ijtpQZRERerq83V6WOcl2BXQnYpi1Sk8cHw== 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=35HQaRL1Pf3wCPxykt6OvctpFhwvKLgIEWC2V9goRQ8=; b=jziF9et9r9c7gSE10Ib9qDVp6w24B//4ok8t20Mzujq0LUMgRLJGgxhez7MzSX3kPpV5h8WX/Q1VnsensiBW0ZOJVBSR06fKSXirfibOxwyrFCLkfWRvJfZZG/eZF9manN7HUrteGvWeOEzxvDZphB6MnxDCu+mXpSgVbGpRXLhHbddVvWNEH7HU68Lo/+RymhUDDzQlyJsdvDxNi/TywUGk1yRuHTqtmmM8QvVCPCabzOuMpS1xGHENnkxEbcq5jqjLJDEpclNzsuFJHAwEH+5JHpId3nMMrPaQZ2M24pVGziFRNgx1RXSohrLAmvWcAUL7ms64aLLafrR27XfA1w== Received: from PS2PR01CA0069.apcprd01.prod.exchangelabs.com (2603:1096:300:57::33) by PUZPR04MB6487.apcprd04.prod.outlook.com (2603:1096:301:f5::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.25; Wed, 1 Nov 2023 10:06:32 +0000 Received: from HK3PEPF0000021C.apcprd03.prod.outlook.com (2603:1096:300:57:cafe::2a) by PS2PR01CA0069.outlook.office365.com (2603:1096:300:57::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Wed, 1 Nov 2023 10:06:32 +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 HK3PEPF0000021C.mail.protection.outlook.com (10.167.8.38) with Microsoft SMTP Server id 15.20.6838.22 via Frontend Transport; Wed, 1 Nov 2023 10:06:32 +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 v1 06/10] ARM: dts: aspeed: yosemite4: Revise power sensor adm1281 for schematic change Date: Wed, 1 Nov 2023 18:06:03 +0800 Message-Id: <20231101100609.2516844-7-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> References: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021C:EE_|PUZPR04MB6487:EE_ X-MS-Office365-Filtering-Correlation-Id: b77f0c77-f8fc-4d7f-66ff-08dbdac23975 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rzEm1/5DZQIJ1GwNO0SoYIqeDE69iE4Cny3jvMMar+J53sEqktO6bRclfqUgYYANQhhDrZk3fxthX4cC+neGJwVtg7aRLXkWbFkPpa6v7hRqD2lSLYuWx3EzkkDNWTNHNRQeqURR3vP+b+dzhIoa0usv41jckYhxyW4YFZDOviE7kkS/VEP0cIle5SbjJBP73K/gRsd0KMm7EAyHk5zYcVLErhdtNfTkNrnTraWTMu/jf+D0THeILG50oA9ovyB6T/CyxXBln3FeFifZs8FAsxX0PyzLmcpNXnzy9exTet5omDI7sRyIpenkjZqzHjprgVt5hlLE+ZAGtu5UrlIvMHAK+IcXF08CKdG+7jKnbR89j/fJoh9zhESj3c/3/hxCGLvIH5fMG4Ve/TEtbBoy+7PNXM1BxyuSTOoCXDLgEh7BCkJpJYp7ERK8UgrynSCrU/XZdW+J24UpTMaJMUoE1GKuI5j9if/DcteWEFpGsa2CTcgpwdwKcov/P1mAZsOUYeGWlQtKjnWqdDm5GhoiWQ8KQpFv0Xqk599MBhtDV1szf1qjEBYJa4zwJhEnecQ8TNPCBo5fCpECGM3eeLHxFOuR1O5RWL2lUsoBea+5w4VZ4A7gQJHgE9TAcyRFWqLB7qVeHFa2BNKeS6MVZ0ZxKSKNQQhT65wsrYTG8lYSkwhAJbw795PG2i4UyWmnsMCYR5ex+IMIxZ7pQEcxwVhbtA== 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)(6069001)(4636009)(39860400002)(396003)(346002)(136003)(376002)(64100799003)(451199024)(1800799009)(186009)(82310400011)(46966006)(36840700001)(2906002)(86362001)(41300700001)(7416002)(8676002)(4326008)(8936002)(5660300002)(36756003)(9316004)(478600001)(6486002)(6512007)(110136005)(26005)(6666004)(47076005)(40480700001)(6506007)(36736006)(1076003)(81166007)(316002)(956004)(83380400001)(82740400003)(336012)(70206006)(70586007)(36860700001)(356005)(2616005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 10:06:32.3375 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b77f0c77-f8fc-4d7f-66ff-08dbdac23975 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: HK3PEPF0000021C.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR04MB6487 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231101_030640_107826_1F921171 X-CRM114-Status: UNSURE ( 8.90 ) 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 Revise power sensor adm1281 for yosemite4 schematic change Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 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 5bad7abd8f65..b9dd7705b172 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -176,8 +176,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -193,8 +194,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -210,8 +212,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -227,8 +230,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -244,8 +248,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -261,8 +266,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -278,8 +284,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -295,8 +302,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; From patchwork Wed Nov 1 10:06:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13442727 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 0178EC4332F for ; Wed, 1 Nov 2023 10:07:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=XvO06BqsUD6gwesMzMvtAzUi7adgbcTvohO73q9IrF4=; b=RXxdz/FfofQhuL SmYiDUyRBbqPYTCMmbprXDTkWI0dHdGdNKsdJtJZjeKke0WkBy1y6UXNkV+YWVzSEl9VuddPFaZ8e EEGRN3DZCNcu1rHbQ0AbvnH2JL+9EQ6Dvweeze3gfh3eBT6TpPYN2BpFrosJ/Msm1QUVnw1cKey1i 9Rrny+M5fJ3DNfrmjC9a2cpnbwpgvCDNfcQhc5DWiBa1i2ogHExnECIOJCnDFK3Nzlo+SfC8BAYSk 9AQVYmaZSL7CVp0U2avaUO9aXdMAtOcZDBi8Jx1j22Ttul3FGtgTpypWjicz2Le1BmnuvrSXHZ3n4 O5oUxhdLEZM8Aiwq7J9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qy87g-0070KZ-0f; Wed, 01 Nov 2023 10:06:52 +0000 Received: from mail-psaapc01on2062c.outbound.protection.outlook.com ([2a01:111:f400:feae::62c] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qy87X-0070DH-2g for linux-arm-kernel@lists.infradead.org; Wed, 01 Nov 2023 10:06:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hMdJzGsZtRYfECiI6oLqqc2dHw4VzXfhFGHG2gKpld+xowO6/TPcdDcSo8gMcI/JJpEN6ERzWjF+gwFuLURphRdU2ow+J55ydEXIGYMs9iHp7bxv9YxHre6/c5VoQHySr5iAZDHGmW5FI/PWn33CLqdeVfTfHWzoboHP+n05heGo5oqTj0JoRLj3wFZv72BGDqOD9MAysq8aYr+aFPm9WVGyesHjqmL+0FL8SSSpkTdOXGzh+DEsYHuepHOwBqUdPihCMj3Ls2c28tirjfiZyukiJUMGnJOaru/JMU/YSJO3jVl5hBLLUKnB7dc9v3LinoNlfxCNlGPK5EsCgY/p2w== 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=EzJiwb0Y7D7f0nHCbqbuY0leYtFEGEJro3rzx/xHDC4=; b=J+nAduFJdA/19rsdp/49W5fgla5Rrmz/nnqqsl6m0XygNo2Yb25g6ed1ZEKHYxZouK2Pl3XcA1O4EZWvY3CIcH7ejccyonWJRSZApd7HcHjmRvUpZ3CizbfTbeyHKvV/H/SL2ZkcZeq9melwpN0yr9cAWyUJUBMHGcJkmiTYIg8P8lOPPYdNZVKZs3eyqaVWIhsJWfOoHKrbGLRhJSPHlMfg7D/4fw5EGytol+PJceYmzqa/AEjrZ2xGKP60nQWRQaLj9bMR5e6DhcD2+Wcl+TwAjmNea3uI3LZl99a6tYfse5T6Xq6pkWw8cVoq5Yjx0S5BlwL9eFKctYU3pfBWEA== 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=EzJiwb0Y7D7f0nHCbqbuY0leYtFEGEJro3rzx/xHDC4=; b=xLsdGxiHC0LAJNmQFkV7zR9D4D1NgtZ3Vj7dTOV1yg7vDTL/Ifd0rWJGxDr1l6G0c0hxtIsfohBVeTu09dCTTuT2fZCZTtqcO0cTFNTTyGQDNlQhLvOziSlqeF5CIKClZVWkh/0cxhhC85NzEwW/f7d3cqHdAS5ew2f9PhOmsqkmWoppENcAqR2/KJPdj4CaKGzBg5BwMkOmZ5UYjdHcDgLNiUCzQ/R+miA0Z4VAdHe4qaVw/qfvD63avDE4EZgtT472lPgO9Q+NK2rt3ycnqV8u4u7ExwuAptEcTigQQAsSXnqQg+CIsYx+RXXVHiBoJivv+IlVMpJg00Y+OYzimQ== Received: from PS2PR01CA0059.apcprd01.prod.exchangelabs.com (2603:1096:300:57::23) by SG2PR04MB5638.apcprd04.prod.outlook.com (2603:1096:4:1c2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.25; Wed, 1 Nov 2023 10:06:36 +0000 Received: from HK3PEPF0000021C.apcprd03.prod.outlook.com (2603:1096:300:57:cafe::97) by PS2PR01CA0059.outlook.office365.com (2603:1096:300:57::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Wed, 1 Nov 2023 10:06:35 +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 HK3PEPF0000021C.mail.protection.outlook.com (10.167.8.38) with Microsoft SMTP Server id 15.20.6838.22 via Frontend Transport; Wed, 1 Nov 2023 10:06:35 +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 v1 07/10] ARM: dts: aspeed: yosemite4: Add gpio pca9506 Date: Wed, 1 Nov 2023 18:06:04 +0800 Message-Id: <20231101100609.2516844-8-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> References: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021C:EE_|SG2PR04MB5638:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b73f478-c173-496b-8c13-08dbdac23b60 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MKMf/9Ze5t5BkxQYHR22ENNyuzuPUmx7GajudUEiwD378neVd0Iafj7KteanOfHCBTjRljc13sprYQDB07gGUb2H62jbm78Ab2zAHadqUx1CaWK7wJltl+cRPqCoriXlyhIKbnRWnhSOfU0TtcunXPTr1G3Ve418S9w1VeJrUKc2I7UmVtA5o/4LXoycCnxpySxdoLF8PAZ/Be9gPrrDkVS6gSVWaXdKmZ1b66c4QweQy5xjBowKgBIyyyqYPLzwRFJ4+R7RutJh1pTndaYyvNRcH47IPMcTbbjbLIa5eahf7Y2flx4nP+WaxJUbzZgIB2+7vG4eBWD6yTQot+Q3fiQCPB8SnuI0lAKQGEXtBfkJSGgxZpdt6jXods65Ei7oB7gB+tKRHbLztg9OnA5vyVn1Aurxbaw+6GvxvuDfEAy9Qq9VY+AtwL39iJFWPw/yx9WHjC72UC/gQRYbRmQB6b+V77DyTFowR95NPavqMoR8JW/0e/el+QjXMNrdX/IHHl3VAgj79DLLjUeKoRCpoK/YP+jda/zg4CVbxXAvpS2teI4MAWP9pHZO3xfVb7x4kWjZ2b4kROApbGE2ft5JRcewW0wpXstBFO5QupKfp6pfh0Xx3CRKS885QIH8VFrM7OTBScsq8Wz3V0bfT8+cAT7pvxF6AauXh3N/9gL48NNVim282KLWaH55NLaRmHW+PJw/VGiJbdFWSjD0Srcm2A== 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)(6069001)(4636009)(39860400002)(346002)(136003)(376002)(396003)(64100799003)(186009)(451199024)(1800799009)(82310400011)(46966006)(36840700001)(47076005)(356005)(81166007)(36860700001)(82740400003)(9316004)(6506007)(6666004)(6512007)(36736006)(478600001)(70206006)(70586007)(110136005)(6486002)(316002)(4326008)(8936002)(5660300002)(7416002)(2906002)(41300700001)(956004)(1076003)(2616005)(336012)(26005)(40480700001)(8676002)(36756003)(86362001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 10:06:35.5563 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5b73f478-c173-496b-8c13-08dbdac23b60 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: HK3PEPF0000021C.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB5638 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231101_030643_878987_BBD8FC6F X-CRM114-Status: UNSURE ( 8.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 Add gpio pca9506 I/O expander for yv4 use Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 251 ++++++++++++++++++ 1 file changed, 251 insertions(+) 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 b9dd7705b172..e58d2ecf8ab5 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -175,6 +175,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -193,6 +221,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -211,6 +267,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -229,6 +313,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -247,6 +359,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -265,6 +405,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -283,6 +451,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -301,6 +497,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -683,6 +907,33 @@ rtc@6f { &i2c13 { status = "okay"; bus-frequency = <400000>; + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; }; &i2c14 { From patchwork Wed Nov 1 10:06:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13442725 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 DBC15C4167D for ; Wed, 1 Nov 2023 10:07: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=xJoMBoATK89bOyK49FlEpBvEiX8ArEhKDxti80MOUYs=; b=DFPN1zCel/vc5L l7FHvLblJITv3J4Pr6KLqVYoyUsm1nDoyNM0A20XFaNF+B15TMlhqViPaG2qBYI1DFtxt8xpI1gnW vW2HcXY5OF5e4YBRh58KlZhhv2Hkh87+bcGv44sDl/o7ua0Keu1IIbGsRoHVhfCoHS0dFICqGUWni G2XILvNfhHkMBBCHflC2fOJomoFG7tRRuvzJgJJ4NKVxvZnhlgfe1YC74t3j2qvMK1ys6Ibx4I1eo 0LPgxNhTUbI2jJRyIAQb6pnVnuZj5iHyboOEe0t5mYSipmqNDOaor6jCxRGpvEPiinVf9NwSA6nci KTu/RCsaei3s4LNI7UdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qy87f-0070JK-19; Wed, 01 Nov 2023 10:06:51 +0000 Received: from mail-psaapc01on20617.outbound.protection.outlook.com ([2a01:111:f400:feae::617] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qy87Y-0070Dn-2u for linux-arm-kernel@lists.infradead.org; Wed, 01 Nov 2023 10:06:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DKadG5mWRKeLCZLtnPSiKTYGOLGGH4HxIMwmgUUI5VnhxYyO1gjCq27oSmHmW1nNvupUBAfN5woswW3ELeKqVGnp2RI+J22DjvYuTD0kpTnYf/RVSz9Y7XKiEy/FDgJxPv24M5L+HGnUtv/2TNh5IboO4kAjRuneD+iZH9+w7aikD/IBSOZABcaHMzacLP5UW5JRZeofIq6me2pxH6sj0jKPppbNh1fnX4tf2oIS1cvEFmdMqrphJ8Tikz9jp3MYKV3njNxI5HmVMYyC9w2G6foW/LAgmfY51w36qB9kEmAtXug/7+8WAi1uKV+p7tal5R+qyON9M6EF18P4zjJpMw== 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=gGx9q/7Lv43uTAIXe82yWeJ76GhBkqVjRlW6YIKJ2KI=; b=fGCT8tKb1VUR5eGFVBViJ1xCm4t+aqJxCKMZ8G+LKtwVVJJx6ap4eKDIbCyX0/o06u8H9GF4EwXs7AbL/9pNRpU5vshks109kFe0ojKf77CwxrtPb3dDpRSoQSlAULDtv54O2kjLm0czmgLlfOTlq3DhnXEU5fOQ8bJ11cfSLLMNLQHceKv4IPIJbPBeNjms7YieNZv3k8HrfPnSaUiUF5vjSWr4tDMRWAHdwrWM+DjaxMDW7TRCERnrqUmicVIq6NoBFNhuNvHVKeQRz27Lo6RFUdrmiZ1FX01VdZWugbs6olhFeLakFVgOGsvlt18UzVnKEnsOsbTRt31aqScOZQ== 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=gGx9q/7Lv43uTAIXe82yWeJ76GhBkqVjRlW6YIKJ2KI=; b=rFe/e0hC5SNQMoq35/ymyx48LQ/QeFXhz86XgiwDYxGXTHsShYrRg/uZkbQc63/lUHCjtuvq4iDOPH2gpfLCcoLYdPboxyzcE96QPA7g34zPrUPBqeUxKZXIPYZDIoFeRe6E8y8aOWU19uERPdCA8AavWty3LOlpDD0j+9MXdmEON09XDe5Cxr+4xmp1qLj2wHM5kXRCay6P9rXo6dgKcwl/TZICmTvQ/8i49HaYIeuz7C+40ewjQInTa16I6fxvft7pWztwII0C5sDeWO9Epg3svPcoe/2wuR0z4ykuNt3nM30vOiF+CBjX52rndWg8moX5tr19ny2tkc/l9ax73w== Received: from PS2PR01CA0050.apcprd01.prod.exchangelabs.com (2603:1096:300:57::14) by KL1PR0401MB4227.apcprd04.prod.outlook.com (2603:1096:820:25::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.24; Wed, 1 Nov 2023 10:06:39 +0000 Received: from HK3PEPF0000021C.apcprd03.prod.outlook.com (2603:1096:300:57:cafe::fb) by PS2PR01CA0050.outlook.office365.com (2603:1096:300:57::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Wed, 1 Nov 2023 10:06:39 +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 HK3PEPF0000021C.mail.protection.outlook.com (10.167.8.38) with Microsoft SMTP Server id 15.20.6838.22 via Frontend Transport; Wed, 1 Nov 2023 10:06:38 +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 v1 08/10] ARM: dts: aspeed: yosemite4: Revise i2c11 and i2c12 schematic change Date: Wed, 1 Nov 2023 18:06:05 +0800 Message-Id: <20231101100609.2516844-9-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> References: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021C:EE_|KL1PR0401MB4227:EE_ X-MS-Office365-Filtering-Correlation-Id: ec9007c6-3c8e-4a04-eae8-08dbdac23d65 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XjxkdkTJHXxpSHnm/h6Mf20shjot1l7EBr98JYC9JbUEnY6M2u39dbKMJzUtY5gTAUYuLUnv36FcZ2NCmCDIw6ecEdyF0oAz/jep1ckTxO25KHGlrRNEocllPwPsCVJKn1fZQwbFpT5Qg/6VAH6IuGE8ves0t0IF6cSlBcmJWbNDveyYA+rk7SMdtpexwkyYm2HtdGfjLpAEttdwyRC1K9HJ3MpsMb/mydIzJkKJOfH9GPqOmGYG7OqbxWMWrLOJ02JAmwftczDlS4s7y8XnfCfRLffpYH4ITM4dYo6RrmvBz5pNmj/hfYxL9dpdGplO5CBXiFBYX0RyTTO02cfXe05Bqmb2y2nYLbX5Aw4V59gRu8NyzxkVMS2+bXthhZMGG0rYfT50N3s4j+s1aY+2y30U2vrrwxgfnzF8MwnDpeBb2Y7xU0R5YW+hxSywtFN+T0we5SZIkH5XWu8uSkQKszHtDniYj1lD1ynpMYZOUGP5X8V/zxJIWdIwLqgS8mnF6PXkWcHT8OOlzsY2txV/G4ktwdGBmPMiklyfW2GIAUpoF+kOVJhPXSrcUzOH6YdSQChdWmuukyICM0sBeuMCyrP6YqV8pKVuqea78YV80PaeyETztfONpnN8AfCGssBWfoTSfs0XS5wqnb73Y8KCs/glgZNcx3B9qlrMXeFQ//luRBBN++tUcBGM/7QWA1APcYvC3n/FnX2A+EO34gU/LQ== 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)(6069001)(4636009)(136003)(376002)(396003)(39860400002)(346002)(82310400011)(1800799009)(64100799003)(186009)(451199024)(36840700001)(46966006)(6512007)(1076003)(26005)(40480700001)(86362001)(36756003)(956004)(356005)(82740400003)(81166007)(7416002)(2906002)(8676002)(83380400001)(9316004)(478600001)(2616005)(36860700001)(47076005)(6506007)(6666004)(316002)(6486002)(41300700001)(36736006)(8936002)(336012)(110136005)(5660300002)(70586007)(70206006)(4326008);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 10:06:38.9469 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ec9007c6-3c8e-4a04-eae8-08dbdac23d65 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: HK3PEPF0000021C.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0401MB4227 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231101_030644_943977_F9AC8729 X-CRM114-Status: GOOD ( 10.67 ) 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 Revise i2c11 and i2c12 schematic change: - remove space for adm1272 compatible - enable interrupt setting for pca9555 - add eeprom for yosemite4 medusa board/BSM use - remove temperature sensor for yosemite4 schematic change - add power sensor for power module reading Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 118 ++++++++++++++---- 1 file changed, 93 insertions(+), 25 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 e58d2ecf8ab5..d2b8091326ea 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -821,41 +821,94 @@ imux29: i2c@1 { &i2c11 { status = "okay"; power-sensor@10 { - compatible = "adi, adm1272"; + compatible = "adi,adm1272"; reg = <0x10>; }; power-sensor@12 { - compatible = "adi, adm1272"; + compatible = "adi,adm1272"; reg = <0x12>; }; - gpio@20 { + gpio_ext1: pca9555@20 { compatible = "nxp,pca9555"; - reg = <0x20>; + pinctrl-names = "default"; gpio-controller; #gpio-cells = <2>; - }; - - gpio@21 { + reg = <0x20>; + interrupt-parent = <&gpio0>; + interrupts = <94 IRQ_TYPE_LEVEL_LOW>; + gpio-line-names = + "P48V_OCP_GPIO1","P48V_OCP_GPIO2", + "P48V_OCP_GPIO3","FAN_BOARD_0_REVISION_0_R", + "FAN_BOARD_0_REVISION_1_R","FAN_BOARD_1_REVISION_0_R", + "FAN_BOARD_1_REVISION_1_R","RST_MUX_R_N", + "RST_LED_CONTROL_FAN_BOARD_0_N","RST_LED_CONTROL_FAN_BOARD_1_N", + "RST_IOEXP_FAN_BOARD_0_N","RST_IOEXP_FAN_BOARD_1_N", + "PWRGD_LOAD_SWITCH_FAN_BOARD_0_R","PWRGD_LOAD_SWITCH_FAN_BOARD_1_R", + "",""; + }; + + gpio_ext2: pca9555@21 { compatible = "nxp,pca9555"; - reg = <0x21>; + pinctrl-names = "default"; gpio-controller; #gpio-cells = <2>; - }; - - gpio@22 { + reg = <0x21>; + interrupt-parent = <&gpio0>; + interrupts = <94 IRQ_TYPE_LEVEL_LOW>; + gpio-line-names = + "DELTA_MODULE_TYPE","VSENSE_ERR_VDROP_R", + "EN_P48V_AUX_0","EN_P48V_AUX_1", + "MEDUSA_BOARD_REV_0","MEDUSA_BOARD_REV_1", + "MEDUSA_BOARD_REV_2","MEDUSA_BOARD_TYPE", + "HSC_OCP_SLOT_ODD_GPIO1","HSC_OCP_SLOT_ODD_GPIO2", + "HSC_OCP_SLOT_ODD_GPIO3","HSC_OCP_SLOT_EVEN_GPIO1", + "HSC_OCP_SLOT_EVEN_GPIO2","HSC_OCP_SLOT_EVEN_GPIO3", + "ADC_TYPE_0_R","ADC_TYPE_1_R"; + }; + + gpio_ext3: pca9555@22 { compatible = "nxp,pca9555"; - reg = <0x22>; + pinctrl-names = "default"; gpio-controller; #gpio-cells = <2>; - }; - - gpio@23 { + reg = <0x22>; + interrupt-parent = <&gpio0>; + interrupts = <94 IRQ_TYPE_LEVEL_LOW>; + gpio-line-names = + "CARD_TYPE_SLOT1","CARD_TYPE_SLOT2", + "CARD_TYPE_SLOT3","CARD_TYPE_SLOT4", + "CARD_TYPE_SLOT5","CARD_TYPE_SLOT6", + "CARD_TYPE_SLOT7","CARD_TYPE_SLOT8", + "OC_P48V_HSC_0_N","FLT_P48V_HSC_0_N", + "PWRGD_P12V_AUX_1","OC_P48V_HSC_1_N", + "FLT_P48V_HSC_1_N","PWRGD_P12V_AUX_1", + "MEDUSA_ADC_EFUSE_TYPE_R","P12V_HSC_TYPE"; + }; + + gpio_ext4: pca9555@23 { compatible = "nxp,pca9555"; - reg = <0x23>; + pinctrl-names = "default"; gpio-controller; #gpio-cells = <2>; + reg = <0x23>; + interrupt-parent = <&gpio0>; + interrupts = <94 IRQ_TYPE_LEVEL_LOW>; + gpio-line-names = + "HSC1_ALERT1_R_N","HSC2_ALERT1_R_N", + "HSC3_ALERT1_R_N","HSC4_ALERT1_R_N", + "HSC5_ALERT1_R_N","HSC6_ALERT1_R_N", + "HSC7_ALERT1_R_N","HSC8_ALERT1_R_N", + "HSC1_ALERT2_R_N","HSC2_ALERT2_R_N", + "HSC3_ALERT2_R_N","HSC4_ALERT2_R_N", + "HSC5_ALERT2_R_N","HSC6_ALERT2_R_N", + "HSC7_ALERT2_R_N","HSC8_ALERT2_R_N"; + }; + + power-sensor@40 { + compatible = "mps,mp5023"; + reg = <0x40>; }; temperature-sensor@48 { @@ -868,19 +921,29 @@ temperature-sensor@49 { reg = <0x49>; }; - temperature-sensor@4a { - compatible = "ti,tmp75"; - reg = <0x4a>; + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; }; - temperature-sensor@4b { - compatible = "ti,tmp75"; - reg = <0x4b>; + power-sensor@62 { + compatible = "pmbus"; + reg = <0x62>; }; - eeprom@54 { - compatible = "atmel,24c256"; - reg = <0x54>; + power-sensor@64 { + compatible = "pmbus"; + reg = <0x64>; + }; + + power-sensor@65 { + compatible = "pmbus"; + reg = <0x65>; + }; + + power-sensor@68 { + compatible = "pmbus"; + reg = <0x68>; }; }; @@ -898,6 +961,11 @@ eeprom@50 { reg = <0x50>; }; + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; + rtc@6f { compatible = "nuvoton,nct3018y"; reg = <0x6f>; From patchwork Wed Nov 1 10:06:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13442726 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 CF507C4167B for ; Wed, 1 Nov 2023 10:07:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=1uFuSfecOKmFC1qzQefem1ytN5wn0DthV4JT3E7ygoA=; b=YFL+FfGbvXQyNB gXylHJmlUazVttbN+fhquRpkPWuKK36ih9EO2yiCNm7ZUrEtzoksl68eDalWLOqDqYo9HQlbh184G 5yMLyBXXc+VnX0gWDuWQb1n5EF81lGITtBsbAy967AmICr+oW6rsnlbVyqXxSxx33m0Qam8ljV9MZ 4kr6VaOXraaxMq4QOQkZlxWv5G1phcHtAfbENR9/5vExpWfEUepM4i6JzcsER48ZLKzktRBZRS2JU xzoMGcLv3JqD/Pmc3RpafdKRFR1qZF09gC26m6nKrm8CUZ6amX0Lv4lvH5r80WWpA/KhFt2wlZCpV 09K+FMqYrA8oygW558ng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qy87g-0070L1-2l; Wed, 01 Nov 2023 10:06:52 +0000 Received: from mail-sgaapc01on2061b.outbound.protection.outlook.com ([2a01:111:f400:feab::61b] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qy87c-0070Fo-3B for linux-arm-kernel@lists.infradead.org; Wed, 01 Nov 2023 10:06:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MapFRvxtKSZ3rCHP5m/ad2dnulnIN36w4JgdhKsXr6EWnptAid8Wmz+5Q/SEqFEbYvREyVUIGjCnADTIO26xaFdgXyafaOb2wYaD8iwNctVS/u4JABAUsdXsP4L/kr3AroTLPYGuP9yWpuOGagtzAafpl3zfI17nK/XAScqsYVEnsMapclO2/IgmjYsxC4qJCuhfY/jNKwMilD3IJ7qX+f4dUGrKOPb1NElEnOZEXAmMQfPApUv9eIKSCJsQTwNFStVc0ss4N2HGz2+zZCYcauSyrXrAsgnSWrVkTl7x6H7OgL2FUUITGjoJhV3KO8RTwMRftyvNTlHVbhnBtcflLw== 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=BGk5j9ALgYLDS5d1cIdFPaQLdMxkc4MaKdLgSWfcvpo=; b=c0BAkdyFejV99e5aZIhJXQrihzsP13HfU8w7jEZIw3RyDuHQEr17M/TeEL7xRo5r0s8nrHu+sgDRK6wO6LyQ09EVV853096m4RcfBKO90ReF9YI9L+6BGUF5qwI5gf9tGOk7uuBAE02thxFsy2r8vU9FL4GVRNlfWhsgQtEeu7dI9oIXHUN3e5u2ScePt5OIOhRRVvMdkKB3dUTKjvepP+lfmImjLOe3BAzsFlDwCJmHqmkAQ08ihAExMythfK/ygRPA6q1o0HmVc8IRRtd2eSP2Q9Hv9e3sxZ5M3Fewlr9uQ66Q7WTmhtwvVNnSHuTTf/ssdYFi+DAfQUZaDwwISA== 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=BGk5j9ALgYLDS5d1cIdFPaQLdMxkc4MaKdLgSWfcvpo=; b=SAc7qA6mfnA/aiEqXBETShIe5BSY58OEHMCeX6bwQ6ECXVjKwGD7wqKp1hUDUyx2QYOqGw2zfUnltME6AsC6Go/DBkDJN9EnmI9tkAIwNf1MipZC/RNIlS3NaeYzZoqiM0n/mEr2w7XC7Vp081edpsz3v2PULe6nntZDtKNhEZMEdywEG6Qbb7ddw++kHweloOWltHvvlstZduqrjL46Y9boxsWtw1O4WPwxZWNoJu0oUcui6ZN/sjYzHlkJhfgFqh/eS9zlQ8+RcpxPJoN3cpjfZKtJ0CCr8IFSklbtvRN4t2mT9faX4/4fMCwW6D0IFIN4xy0lmVyKyEp76Pk6ow== Received: from PS2PR01CA0059.apcprd01.prod.exchangelabs.com (2603:1096:300:57::23) by PUZPR04MB6351.apcprd04.prod.outlook.com (2603:1096:301:eb::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.28; Wed, 1 Nov 2023 10:06:42 +0000 Received: from HK3PEPF0000021C.apcprd03.prod.outlook.com (2603:1096:300:57:cafe::a3) by PS2PR01CA0059.outlook.office365.com (2603:1096:300:57::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Wed, 1 Nov 2023 10:06:42 +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 HK3PEPF0000021C.mail.protection.outlook.com (10.167.8.38) with Microsoft SMTP Server id 15.20.6838.22 via Frontend Transport; Wed, 1 Nov 2023 10:06:42 +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 v1 09/10] ARM: dts: aspeed: yosemite4: Revise i2c14 and i2c15 schematic change Date: Wed, 1 Nov 2023 18:06:06 +0800 Message-Id: <20231101100609.2516844-10-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> References: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021C:EE_|PUZPR04MB6351:EE_ X-MS-Office365-Filtering-Correlation-Id: e1631906-402a-4353-7261-08dbdac23f53 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RolNubGywJAz54UOaygCqCLptRwT3MGEuyYOayt6VL+3zDDWdiN1s6iOwNKU5WovgDqf9RxglcMc0/3hdDixCt91+lnnP3Iv3gIj6v0WcW7AKDA6F/xR1pga1ukIFr5xoen9FB7QfiQCKlwFqEnYk9+s4b2wPBSufEce5EUXT40hCiNla3bnZCKHRExymFrCTF2iDtuA2bpBwInh7C9ri0SuWguOg7XtvkNT8slZSj+jCCFW/onExeRwHD4IFQbluIydCLj9BW3eRCrQ1k1DtqtoA6/aLwhd7i7P6VUtLCjL0UtZ+kh7xGiThdmg/NfZL88JtCYIqADThIMU/z0eEouDeiFBT6Os0Rtr6c9joEEoKxaoSGdkqMdTVkvQwHp/WaAKzUSiOu/H55Lyobvo0LJ5xX9AQ8i/XLPKAagxE5iavXdNDEdRBt2RsPDwc93MvZMrAipSuXvlBetXGlpoM1lyxnYVNTbtMPbjlMHKzshtjMecNm57n8tXBot3T4efM2A7NgrXm2CCvkZucreA724RpibM+FyoVRg13EZW3Ye3/isYZCNAenLdWT+cjes89FqGlk9EpBM+UQ0atKo/UtT9z55IAy0hGpKfVJoCaJak4q34D2Qcmo4zrEFcl8Mo0eDsqI0a0CYYC7agifOj0QywjVlhwIS426uVViSdbrGYyDpmv00m1G7GMvWcObab1NASQpHH6soFMuwvx4qI2A== 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)(6069001)(4636009)(39860400002)(376002)(396003)(136003)(346002)(64100799003)(451199024)(1800799009)(186009)(82310400011)(36840700001)(46966006)(316002)(40480700001)(36860700001)(2906002)(7416002)(41300700001)(86362001)(8936002)(36756003)(8676002)(4326008)(6666004)(81166007)(82740400003)(356005)(47076005)(70206006)(2616005)(36736006)(83380400001)(336012)(6512007)(5660300002)(70586007)(26005)(1076003)(478600001)(956004)(9316004)(110136005)(6486002)(6506007);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 10:06:42.1657 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e1631906-402a-4353-7261-08dbdac23f53 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: HK3PEPF0000021C.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR04MB6351 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231101_030649_036162_3513B26B X-CRM114-Status: UNSURE ( 9.53 ) 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 Revise i2c14 and i2c15 schematic change: - Revise adc128d818 adc mode for yosemite4 schematic change - Revise ina233 for yosemite4 schematic change - Remove idle state setting for yosemite4 NIC connection Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 31 ++++++++++++------- 1 file changed, 20 insertions(+), 11 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 d2b8091326ea..a0f0424457fa 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1010,44 +1010,54 @@ &i2c14 { adc@1d { compatible = "ti,adc128d818"; reg = <0x1d>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; - adc@35 { + adc@36 { compatible = "ti,adc128d818"; - reg = <0x35>; - ti,mode = /bits/ 8 <2>; + reg = <0x36>; + ti,mode = /bits/ 8 <1>; }; adc@37 { compatible = "ti,adc128d818"; reg = <0x37>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; power-sensor@40 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x40>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@41 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x41>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@42 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x42>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@43 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x43>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@44 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x44>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; temperature-sensor@4e { @@ -1217,7 +1227,6 @@ mctp@10 { i2c-mux@72 { compatible = "nxp,pca9544"; - i2c-mux-idle-disconnect; reg = <0x72>; imux24: i2c@0 { From patchwork Wed Nov 1 10:06:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13442739 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 45F6DC4332F for ; Wed, 1 Nov 2023 10:23:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=PIaKCTtCGwzv53M02JLL4s7VgTfDkuRZa5+azRUBy+U=; b=KAA6ZpmlsnYKfb pX7NDafAcKoxO5b5WS4D+TYGHqhziCe57Bvd4x4SyHjC2eQ2jccwcQuFG7F24HG5eFD0NA7liV/Uk Yb0X8CVcy1CiRRjFHkJxJvPKtR+LgD0UDQnJQwQJGW2NPav+QgWWmslqGtDiJMNOp5iz4zhWs7fDS ApV7UvkqfRqnt4zqwPbcIhx9TSF19GroIRH5rNJlyYc1KIojsg72jH3q2oT/46Yry87o4Wxnx7BLP Tr1kJglb8Dx5GndLFmVdhUO4HxNsXZgmu1104SoPK6dY5UZso7NyM1e2r20XAmK4tqyd4+f6BTrqI sBvpxh+JRahsMZ82+X/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qy8Mt-0077eT-1B; Wed, 01 Nov 2023 10:22:35 +0000 Received: from mail-tyzapc01on20601.outbound.protection.outlook.com ([2a01:111:f403:2011::601] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qy8Mo-0077am-2s for linux-arm-kernel@lists.infradead.org; Wed, 01 Nov 2023 10:22:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NXwZBp2bbazNWwbsgvb7gnAoKI+HxnWNhBAeLoxatG46h8O5peBv50iceYJ+dpLPSPTWjJXKDYOu1ljCnQy+pvXF99HasCfaZS5GVSTGOk+4/LYlQKothRYssAVYZDwliFJGtDwi3IvoF8am4iTrJJzsOS7b3te3yA+g2FbWQns31HwQKzjUrs55N1wJjlFiU/2uuotOdJVaEoBWZ4gW7htQZwytT6Ch7n2dEYvcbmHLqyl4tJvF1oAH1gNE3bd5AjdaY8Yvm7RPt9oHhtRzN0gUmMWtDI0UXPjs2DFG/CcQMQ6vIozDIaqIXL66xM4/fstKRluDeGVLX7NueDOiEQ== 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=mslSkF+utcuvRraDkx+lR0DVTdVTo/DQ01oagSWGMgg=; b=QEUH/lSVIMOSCIiKafHRJlinM28pLnrvBX8j5zXkT7kNbOgZ5SCtKfFoknmQsKJSJCN7MmZQJLHPutX+qZKVAQo/oMXw8GmevbDp+nP4gMxZ9PxV++2loBnUEpUPQkzVT3bpHzRpKYCrCj7ozOzPQ0DlHxUB49YGYwBc+EegBIwH9N8KAMjV5EOKpkdD+/cAMRgPNyiI6zJn+wt348NqP9Nzkf+ex8L1movkgQcvq0Nc/C3vQGDl8I+XmtmWMt7kAuK5wOFNCkLmRCKwxlCU57m7gCu8WmBDPoXgJTwBcbunHWAAvdvRsD9UURcIcqzz0aHVGfL2uDuBQLTWrXuBTg== 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=mslSkF+utcuvRraDkx+lR0DVTdVTo/DQ01oagSWGMgg=; b=mWVztLnHK8bEZNxyftWf/gEvVaVKXkhTyXzpxBGWOFUeW1H/5jkiTP6iJqItrS/0dAR65JzsnsB1dFh4EmAXWX4eAPZoXeAz9wqUg/xyfRiZeXKG0uGFIV/JpAURL+GJMn/7NHMku6JaqXEL2uBFXTOzGOc8zPXnnylLPWeBHn9mrgK6bOIeIcDMgUrHZMkMx9cYCu8pZ8KCmqOJ7cvxStqOt0rJw1DndE+RGz+zmMDP/fQdlcezIbcUEjFMt09yZnav2nenzsjzOkf3X/2rZWpnq3abYofCq/5sJlSl6isiFkQOYO021c26T6umGUwduqZr8Y060AOwU1Rm6vLD2A== Received: from PS2PR01CA0056.apcprd01.prod.exchangelabs.com (2603:1096:300:57::20) by TYUPR04MB6640.apcprd04.prod.outlook.com (2603:1096:400:35e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19; Wed, 1 Nov 2023 10:06:45 +0000 Received: from HK3PEPF0000021C.apcprd03.prod.outlook.com (2603:1096:300:57:cafe::32) by PS2PR01CA0056.outlook.office365.com (2603:1096:300:57::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Wed, 1 Nov 2023 10:06:45 +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 HK3PEPF0000021C.mail.protection.outlook.com (10.167.8.38) with Microsoft SMTP Server id 15.20.6838.22 via Frontend Transport; Wed, 1 Nov 2023 10:06:45 +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 v1 10/10] ARM: dts: aspeed: yosemite4: Initialize bmc gpio state Date: Wed, 1 Nov 2023 18:06:07 +0800 Message-Id: <20231101100609.2516844-11-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> References: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021C:EE_|TYUPR04MB6640:EE_ X-MS-Office365-Filtering-Correlation-Id: f3c4b5db-08e6-4b7f-5d5f-08dbdac24124 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v/HaZW4enfEKjFdimMDQm/V/xYJbLvy917B9nBaFF8rIFh99pRe+Eqa2haJWlRuqwADpxZF/rmgyeyCqL2uPSJg4lqSq2Xss4n6vKHsDSwZBFsQkJKVafgxn0WW4HE2ET4ROZf3zDvi+6RyKae9VeNNRPoBwtk1rbjz5bUrkfoVNsHY+7m+9WDbCvo3NjUedON68n9oxn0z63D8cDb3pD4R3TvuMEG/gnCN6IQuitn/6wozKuGgaQV8PsGJa3j3iXJwEJ4d8X0wYOg7Yu6QjRJhLigqORsRsD0iIdeIY/wyl2Ono7a2tn46UXZymKkWU+abZdaoCKM+pA973JQpkyuLkr53kfa3El5RCQTQYaYbFa0R2K23XTyx22+kxs05tXfRl23Z3Gn3DMBP3NvwOlvNvmTINd8dnJxCJU6+t4+ir2qL0tWwfMmeOdnYroYvpLYMW+dF44YNSl5rKpfDHZCptp1Z47NS1CZWyGWM2d616q8yY7lQ2fl3Xm/h+dIv5Y6WP96hn+XPgp7VRLoLlmS72mkiTfDERIgmAG8Pt31Uq8eUmXfE5Sa8NiJZb2CkejwnVrRqcjGMXRGvcY5bmWzOOOoXMh4zhZ8oRj32W7I4acLCcry6QiY5dEODSROk+vQgm3S7QHcGndJZkVFuGQXJtqxrBJ7oMHd6EtkkGSsotIOJM64HOULgmi+w9vU4YHzuVIuZwdxFe3t/Rjx9Xjw== 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)(6069001)(4636009)(346002)(376002)(136003)(396003)(39860400002)(64100799003)(186009)(451199024)(1800799009)(82310400011)(46966006)(36840700001)(7416002)(5660300002)(316002)(41300700001)(36736006)(110136005)(70586007)(70206006)(2906002)(8936002)(4326008)(8676002)(6486002)(478600001)(40480700001)(6666004)(36860700001)(6512007)(47076005)(81166007)(36756003)(83380400001)(356005)(6506007)(26005)(336012)(9316004)(1076003)(956004)(2616005)(86362001)(82740400003);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 10:06:45.2282 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f3c4b5db-08e6-4b7f-5d5f-08dbdac24124 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: HK3PEPF0000021C.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYUPR04MB6640 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231101_032230_957416_CC36080D X-CRM114-Status: UNSURE ( 8.49 ) 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 Initialize bmc gpio state Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 196 ++++++++++++++++++ 1 file changed, 196 insertions(+) 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 a0f0424457fa..2947abfb0b46 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1271,6 +1271,7 @@ temperature-sensor@1f { }; }; + &adc0 { ref_voltage = <2500>; status = "okay"; @@ -1287,6 +1288,7 @@ &adc1 { &pinctrl_adc15_default>; }; + &ehci0 { status = "okay"; }; @@ -1298,3 +1300,197 @@ &ehci1 { &uhci { status = "okay"; }; + +&sgpiom0 { + status = "okay"; + ngpios = <128>; + bus-frequency = <48000>; +}; + +&gpio0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpiu2_default &pinctrl_gpiu3_default + &pinctrl_gpiu4_default &pinctrl_gpiu5_default + &pinctrl_gpiu6_default>; + gpio-line-names = + /*A0-A7*/ "","","","","","","","", + /*B0-B7*/ "FLT_HSC_SERVER_SLOT8_N","AC_ON_OFF_BTN_CPLD_SLOT5_N", + "PWRGD_SLOT1_STBY","PWRGD_SLOT2_STBY", + "PWRGD_SLOT3_STBY","PWRGD_SLOT4_STBY","","", + /*C0-C7*/ "PRSNT_NIC3_N","","","","FM_NIC0_WAKE_N", + "FM_NIC1_WAKE_N","","RST_PCIE_SLOT2_N", + /*D0-D7*/ "","","","","","","","", + /*E0-E7*/ "PRSNT_NIC1_N","PRSNT_NIC2_N","","RST_PCIE_SLOT1_N", + "","","","", + /*F0-F7*/ "FM_RESBTN_SLOT1_BMC_N","FM_RESBTN_SLOT2_BMC_N", + "FM_RESBTN_SLOT3_BMC_N","FM_RESBTN_SLOT4_BMC_N", + "PRSNT_SB_SLOT1_N","PRSNT_SB_SLOT2_N", + "PRSNT_SB_SLOT3_N","PRSNT_SB_SLOT4_N", + /*G0-G7*/ "","","","","","","","", + /*H0-H7*/ "","","","","","","","", + /*I0-I7*/ "","","","","","ALT_MEDUSA_ADC_N", + "ALT_SMB_BMC_CPLD2_N", + "INT_SPIDER_ADC_R_N", + /*J0-J7*/ "","","","","","","","", + /*K0-K7*/ "","","","","","","","", + /*L0-L7*/ "","","","","","","ALT_MEDUSA_P12V_EFUSE_N","", + /*M0-M7*/ "EN_NIC0_POWER_BMC_R","EN_NIC1_POWER_BMC_R", + "INT_MEDUSA_IOEXP_TEMP_N","FLT_P12V_NIC0_N", + "INT_SMB_BMC_SLOT1_4_BMC_N", + "AC_ON_OFF_BTN_CPLD_SLOT6_N","","", + /*N0-N7*/ "FLT_HSC_SERVER_SLOT1_N","FLT_HSC_SERVER_SLOT2_N", + "FLT_HSC_SERVER_SLOT3_N","FLT_HSC_SERVER_SLOT4_N", + "FM_BMC_READY_R2","FLT_P12V_STBY_BMC_N","","", + /*O0-O7*/ "AC_ON_OFF_BTN_CPLD_SLOT8_N","RST_SMB_NIC1_R_N", + "RST_SMB_NIC2_R_N","RST_SMB_NIC3_R_N", + "FLT_P3V3_NIC2_N","FLT_P3V3_NIC3_N", + "","", + /*P0-P7*/ "ALT_SMB_BMC_CPLD1_N","'BTN_BMC_R2_N", + "EN_P3V_BAT_SCALED_R","PWRGD_P5V_USB_BMC", + "FM_BMC_RTCRST_R","RST_USB_HUB_R_N", + "FLAG_P5V_USB_BMC_N","", + /*Q0-Q7*/ "AC_ON_OFF_BTN_CPLD_SLOT1_N","AC_ON_OFF_BTN_CPLD_SLOT2_N", + "AC_ON_OFF_BTN_CPLD_SLOT3_N","AC_ON_OFF_BTN_CPLD_SLOT4_N", + "PRSNT_SB_SLOT5_N","PRSNT_SB_SLOT6_N", + "PRSNT_SB_SLOT7_N","PRSNT_SB_SLOT8_N", + /*R0-R7*/ "AC_ON_OFF_BTN_CPLD_SLOT7_N","INT_SMB_BMC_SLOT5_8_BMC_N", + "FM_PWRBRK_NIC_BMC_R2","RST_PCIE_SLOT4_N", + "RST_PCIE_SLOT5_N","RST_PCIE_SLOT6_N", + "RST_PCIE_SLOT7_N","RST_PCIE_SLOT8_N", + /*S0-S7*/ "FM_NIC2_WAKE_N","FM_NIC3_WAKE_N", + "EN_NIC3_POWER_BMC_R","SEL_BMC_JTAG_MUX_R", + "","ALT_P12V_AUX_N","FAST_PROCHOT_N", + "SPI_WP_DISABLE_STATUS_R_N", + /*T0-T7*/ "","","","","","","","", + /*U0-U7*/ "","","FLT_P3V3_NIC1_N","FLT_P12V_NIC1_N", + "FLT_P12V_NIC2_N","FLT_P12V_NIC3_N", + "FLT_P3V3_NIC0_N","", + /*V0-V7*/ "FM_RESBTN_SLOT5_BMC_N","FM_RESBTN_SLOT6_BMC_N", + "FM_RESBTN_SLOT7_BMC_N","FM_RESBTN_SLOT8_BMC_N", + "","","","", + /*W0-W7*/ "PRSNT_TPM_BMC_N","PRSNT_OCP_DEBUG_BMC_N","ALT_TEMP_BMC_N","ALT_RTC_BMC_N", + "","","","", + /*X0-X7*/ "","LT_HSC_SERVER_SLOT6_N","FLT_HSC_SERVER_SLOT7_N","","","", + "PWRGD_SLOT5_STBY","PWRGD_SLOT6_STBY", + /*Y0-Y7*/ "","","SPI_LOCK_REQ_BMC_N","PWRGD_SLOT7_STBY", + "","","EN_NIC2_POWER_BMC_R","", + /*Z0-Z7*/ "EN_P5V_USB_CPLD_R","'FLT_HSC_SERVER_SLOT5_N", + "PWRGD_SLOT8_STBY","","","","",""; + + pin_gpio_b4 { + gpios = ; + input; + }; + pin_gpio_b5 { + gpios = ; + input; + }; + pin_gpio_f0 { + gpios = ; + input; + }; + pin_gpio_f1 { + gpios = ; + input; + }; + pin_gpio_f2 { + gpios = ; + input; + }; + pin_gpio_f3 { + gpios = ; + input; + }; + pin_gpio_f4 { + gpios = ; + input; + }; + pin_gpio_f5 { + gpios = ; + input; + }; + pin_gpio_f6 { + gpios = ; + input; + }; + pin_gpio_f7 { + gpios = ; + input; + }; + pin_gpio_l6 { + gpios = ; + input; + }; + pin_gpio_l7 { + gpios = ; + input; + }; + pin_gpio_s0 { + gpios = ; + input; + }; + pin_gpio_s1 { + gpios = ; + input; + }; + pin_gpio_v0 { + gpios = ; + input; + }; + pin_gpio_v1 { + gpios = ; + input; + }; + pin_gpio_v2 { + gpios = ; + input; + }; + pin_gpio_v3 { + gpios = ; + input; + }; + pin_gpio_w0 { + gpios = ; + input; + }; + pin_gpio_w1 { + gpios = ; + input; + }; + pin_gpio_w2 { + gpios = ; + input; + }; + pin_gpio_w3 { + gpios = ; + input; + }; + pin_gpio_w4 { + gpios = ; + input; + }; + pin_gpio_w5 { + gpios = ; + input; + }; + pin_gpio_w6 { + gpios = ; + input; + }; + pin_gpio_w7 { + gpios = ; + input; + }; + pin_gpio_z3 { + gpios = ; + input; + }; + pin_gpio_z4 { + gpios = ; + input; + }; + pin_gpio_z5 { + gpios = ; + input; + }; +};