Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3739467rdb; Sun, 10 Dec 2023 19:52:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+/jdxx6QVhgHv0igNM/RMI2iaMLE3kaQoJOdO4Y8TTjqiY9fO1da38ki5y4o74nP84ppM X-Received: by 2002:a05:6808:1248:b0:3b9:e828:819 with SMTP id o8-20020a056808124800b003b9e8280819mr4814572oiv.44.1702266763713; Sun, 10 Dec 2023 19:52:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702266763; cv=pass; d=google.com; s=arc-20160816; b=v3mIZcKlb1TlEuu1B3uUVG5bQ9GXmUmKTB976TeTFC6YwTTFLyOdJMhRyI49dKfw1x GlSm5UiqVLrkgLhEGEXVACTxyUUOUhs8POMe1dpUUYgbGIjMl8m8Vrp/dXkWFcJFmcd/ 4uwa7gLhIOjR2fJScK+ujKot8KaRoSJwjtZCX+C7NtYdKMt+gSz40RPja17udJjv5a3I FVpSNKYeSZm/eGiCT7SsnD4g+gBfMiBlTF7cqRkM00vzwKfQf+E9PiZbJ+Lhyx6BqI+h zUkUC9cTxL5LpW43UjcBEUuRwah5kFR6BoK6+48iix/9ImfwvUL47wWMw36lci+PIpTP +l1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HS46iyiX5VqcZeS2QC5nTFB8RgeTDUaf1C1vb3s+wjU=; fh=Ym4qTpD4M3cm0TbrVGNdP2Ob6NKlyMYuL0vwrAGUgx4=; b=J4Mi+1zolnUPmee5lX61Et1Cr31w4zQan9SItEpfDqZVgzdPGfyR7ANX1ZC55BgFjv 9LfMyrQJj/UghnwdIt5DFU4wIxx+Cb7URj9wiOuWKpn84ivJRUFn2htwoM+vPSp6ws5k V+qTC5a6ZPNyucz954zc2bwSRhzc+X3yZwQRhAsObt6v5gOOKt4/J3uCyjgHfGVqexVX yBZofQKhvjEsODd/2p3G9bcVL1KkKxCEmheLrKuHLdu8fZra91vS2O5xJuzAT2kJRhvG BMod2sFtB6RPRJjtvt/RprcIyXrtXzip/KX0iwhfVxsYPZTNhMnoXE0XsMloXZT7z05C zkJA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b="sHdQAo/J"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wiwynn.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id i12-20020a65484c000000b005b93bfe91f3si5336525pgs.577.2023.12.10.19.52.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 19:52:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b="sHdQAo/J"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wiwynn.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 76CB6806B07C; Sun, 10 Dec 2023 18:51:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233621AbjLKCun (ORCPT + 99 others); Sun, 10 Dec 2023 21:50:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233361AbjLKCuX (ORCPT ); Sun, 10 Dec 2023 21:50:23 -0500 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2077.outbound.protection.outlook.com [40.107.215.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C164ED60; Sun, 10 Dec 2023 18:50:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ivf9GaIhwNFMmWVnVFOtn/OqtOG2ODZpYGDFipQPZiQrCsJJLUkyr+gyRbD2iNawdgggmxPAJBa3SviTspwZr1+EmH2vNFvz/jfWsHBd/JPkrQm29FbwC7CQF73/acQaBRWIOJDy4D5tTi/tPKwiPcPXRpG2M4ROd7P8GfgTWe52ZRu60L9C1TCKlIOTbucFzm7ufl6NN/hBgjIaDvJERECxlN2QhWBIhKeovu61TVX95PZvkqyc7hSzhXzJeI2DGTYfAWc0foAPC6OGxHOBEMlOHsOoPoFRza4Nug2kaHdbq2EL72D5rqyFSWxlICB+r6BFefYjzabvdOt+A7pNSQ== 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=HS46iyiX5VqcZeS2QC5nTFB8RgeTDUaf1C1vb3s+wjU=; b=Z2JuFlieyOVHK8dGT/3rXyYNUBFHrkoKmpNTKF0ppnsD2JolHJ1JNNnSc2tvZ39UXcMwaZQURD91teAYPWji+Krt40SZEQsEhmhrYE6A/R5Meh/AY6dJvlrB6WcfkTefQYIIb4G+Y+/gfUzNCac+htgl+DvUN/8gc+r9cildlb5SnGUuYm0oNKdcv7ob/80Q4Di0vbrqKNx1/0bzZXlrisEDdreZM5kjKW1J2V0KSOAFWi0r8vnzxMI4lI4sbYyY2Hx5jdZ3MVLg1YWz0fU/q9phGfDTRPK635v1wsvCFGQJQgjdQa+Gt8a+yPI1KTt5FtxYTv580IZPPGP5Yea5+w== 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=HS46iyiX5VqcZeS2QC5nTFB8RgeTDUaf1C1vb3s+wjU=; b=sHdQAo/JzPrspK5vM1ngxk954S9WIJ1PAZ+pZSDs9rD1ONYhvybIJimAOqspKZIsPw/Khdb4Okw5ey3wK2WCeeV+KLPl6lkw/Na3EVNI5ka/ROy9Hq82ES79ggX8b39P8chZ2tkBHKw5f6Rjqt15Vj31Uu04b5ba8lOb2Kja1XqakpHMvwP75zYotg/rBciFSmewrHoPncQ4QRMyc9/ptwtPPXoyzVQjnZfPG/PJhzFIMrxM6sfeJmBR3vYe0fg9B88mTJ1CDGFgpUVZCuuqATmn0yvWCrZhMXvA8Dk8dbPFoD8QDSjygDSLHTgvtX50c12M1dBiyJDtSt+nw7yVHQ== Received: from SG2PR02CA0036.apcprd02.prod.outlook.com (2603:1096:3:18::24) by TYZPR04MB7507.apcprd04.prod.outlook.com (2603:1096:405:43::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32; Mon, 11 Dec 2023 02:50:22 +0000 Received: from SG1PEPF000082E6.apcprd02.prod.outlook.com (2603:1096:3:18:cafe::4e) by SG2PR02CA0036.outlook.office365.com (2603:1096:3:18::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32 via Frontend Transport; Mon, 11 Dec 2023 02:50: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 SG1PEPF000082E6.mail.protection.outlook.com (10.167.240.9) with Microsoft SMTP Server id 15.20.7091.18 via Frontend Transport; Mon, 11 Dec 2023 02:50: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 v2 08/14] ARM: dts: aspeed: yosemite4: Revise i2c11 and i2c12 schematic change Date: Mon, 11 Dec 2023 10:49:39 +0800 Message-Id: <20231211024947.3990898-9-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231211024947.3990898-1-Delphine_CC_Chiu@wiwynn.com> References: <20231211024947.3990898-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG1PEPF000082E6:EE_|TYZPR04MB7507:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 92527421-4df7-4567-bd7b-08dbf9f3eb00 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 63XDvxZHfmhc3TagKDGJeCMxx85bZ2nLh2vs0V7iD1s6SHijcNBCfdcImIXsVmrQWDfReM6bUC2ueim/jCmLXVgF9JcGO1bnPP4hewMluYrbo2DHDMelHYo0C+OZXPr2p4B2TQoHiMJ6PzWmGJTLf57C24iHyjlIR9b7dGmMEDanRGPWgLzFGOVKiVSDClSzVJpj9WjflLJ1p+HTQU0S3KBuauzbd+RqJ1PlqSBYFzyiwiKLb3FZp5n70eAhN1XMR/Ly1IH0agnnxPDFQWs0www/Zs2I+oq16rkZ3RKdSKtb/OaKm94Ht8L/5SUmCsegOkvrS1BlO7C7NwWbqujXpxn2tdSyNRAbkwLNsTOLztLcPulg2IM6ZtvBGMmljNoRXRXE3EjhK72UO05u1sRqAEUGKNrFXIuyTxttC00UV2IqVmvLLdSGyq15R0ZgFJ9b12gLjclPZ6IFEEzsEquNyp7NTmi9SHK2MKEGMjoUrZWimR6ds3IJMtnh2NuVu42H03yQyGTMpkD/laUDmyES+n+BCcPlGhCbHYJez+9TKdpplCvnyMwHbEGy6pJ+k4ooZ/rIOe6T0ADh/VzwWb+hRlm+yHS84lynIoCt2Edd/kNUywPtO3Vw0E8Qn+WdBYjWq2X5SwJXmPRyWbHkjXIt8cKVxOti7droC5D2KyxY84rnOABbuFSAg2XzuWnL+SIboQS3hw4znTxT2Mr2SOogNg== 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)(39850400004)(396003)(376002)(346002)(136003)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(82310400011)(36840700001)(46966006)(1076003)(26005)(956004)(2616005)(336012)(6506007)(6666004)(6512007)(36860700001)(83380400001)(47076005)(5660300002)(7416002)(41300700001)(2906002)(4326008)(478600001)(9316004)(6486002)(8676002)(8936002)(70206006)(70586007)(110136005)(316002)(36736006)(82740400003)(81166007)(86362001)(356005)(36756003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2023 02:50:21.1557 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 92527421-4df7-4567-bd7b-08dbf9f3eb00 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: SG1PEPF000082E6.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB7507 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,WEIRD_QUOTING autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sun, 10 Dec 2023 18:51:02 -0800 (PST) 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 da413325ce30..ccb5ecd8d9a6 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>; -- 2.25.1