From nobody Wed Apr 29 00:37:42 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C873DC433F5 for ; Fri, 27 May 2022 04:27:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241458AbiE0E1V (ORCPT ); Fri, 27 May 2022 00:27:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229981AbiE0E1S (ORCPT ); Fri, 27 May 2022 00:27:18 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2127.outbound.protection.outlook.com [40.107.94.127]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8587AEC3C3; Thu, 26 May 2022 21:27:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UUXKQ3bRvADFjZgnkZ2TXRqmr3HUhXEQRxPHrBvv9Q7o3hCF94aPALklIav4ZvkBh5mNkIilKtExkXkolqyJD0xZFBtqWaSxdZ4cOVbV/tsjpKenKOyFwubeqc4pR3T47+flG9z2AL/RQyX6mAFx4Dhq8EQE2njQZtPpsEQtRuqz7yxTAwqD/tnA4vodyaIQWV2q+OyJzaun4BL3e9poOGaBVo0NDdHg51gtS+nO0sap5cX7wztpXFU4fXnol8iDCfPOuGdus//olt04uQyciniBlEXLm8FQXTJ6tXzkKwV/cF57QzzHGpowb8LGg83nMxQgLR9U8i0WQzY851Mr2A== 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=0dmKjC1a+lMs/6+QJ4ArF4OT7YUWzHmZahhm/sfDAOg=; b=Svstc9hgNKklEb5Md/fV8Jbs2M9CYLP90wlmGS+Qo7splajRb6I7vxMIZSvsm8i4ANnm6PLRt1sug6+y6EMvYlFnl9dLncbNMLzVAZ5ZMcGxLdX/UhdFwozJoVyfgK6H0f0HRmsiMxMiAhwtSfYIvFUj31zjX6B3vdR7h2utFjhIl8zcz8rjsAkzEExv6V25eNNxy55UGGpMAUbmYJlmvWy7dDaWUq6QitGVZUVAnUFD1UZp75kUm+Bz8Pepnvq8u76lRUBPYe+GMIl8ibTmcSjjdL0am6XSQANKUSBk7Qm4hESYE3npKYJb9UzFYkRZq/UffwJ7G80cReAMsAvl9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 8.14.198.160) smtp.rcpttodomain=kernel.org smtp.mailfrom=jabil.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=jabil.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jabil.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0dmKjC1a+lMs/6+QJ4ArF4OT7YUWzHmZahhm/sfDAOg=; b=JKZIf98LaNY+ca76baIULQVpFRhF78CMoFMvpEuCzIhPLyyv+/1A8iU3x65n0ajg1VJL9bHKqTAzrhCyqvl9W8wK88qTsch35c+GpKxFAIetIeQW9W9ufGFfl2Am8tdPIkZypoyjZZ600jtB7L/O+QYM6OEtiT3gAdOz+BgMSBCCZEygR/Jaerx0+/ac7Q4Dttbfv7PznWdSh4TxTvPKNdTQympVkFdaHSq0G9T09m3qjXAJUCc+ZugtzvM8YeivoiQ83Gpxm+VT1oj03KXFLcNzfC8w5itHmoiKthAM/uN1I60HOlhEovpGOCHrgZCQnAjGeTGR+pui2VhwTusIKQ== Received: from BN8PR12CA0030.namprd12.prod.outlook.com (2603:10b6:408:60::43) by MW4PR02MB7316.namprd02.prod.outlook.com (2603:10b6:303:76::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13; Fri, 27 May 2022 04:27:14 +0000 Received: from BN8NAM11FT063.eop-nam11.prod.protection.outlook.com (2603:10b6:408:60:cafe::dd) by BN8PR12CA0030.outlook.office365.com (2603:10b6:408:60::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13 via Frontend Transport; Fri, 27 May 2022 04:27:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 8.14.198.160) smtp.mailfrom=jabil.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=jabil.com; Received-SPF: Pass (protection.outlook.com: domain of jabil.com designates 8.14.198.160 as permitted sender) receiver=protection.outlook.com; client-ip=8.14.198.160; helo=jabil.com; pr=C Received: from jabil.com (8.14.198.160) by BN8NAM11FT063.mail.protection.outlook.com (10.13.177.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5293.13 via Frontend Transport; Fri, 27 May 2022 04:27:14 +0000 Received: from USPLND0HUB81.staging.JABIL.ORG (10.10.80.133) by USPLND0HUB01.corp.JABIL.ORG (10.10.32.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 26 May 2022 23:27:13 -0500 Received: from usplnd0hub01.corp.jabil.org (10.10.32.73) by USPLND0HUB81.staging.JABIL.ORG (10.10.80.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 26 May 2022 23:27:13 -0500 Received: from JDSBuild.corp.JABIL.ORG (10.10.7.5) by usplnd0hub01.corp.jabil.org (10.10.32.73) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Thu, 26 May 2022 23:27:12 -0500 From: David Wang To: , , , CC: , , David Wang Subject: [PATCH v4] ARM: dts: aspeed: Adding Jabil Rubypass BMC Date: Fri, 27 May 2022 12:27:08 +0800 Message-ID: <20220527042708.805444-1-David_Wang6097@jabil.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d1323c7d-2b33-4a32-f0c8-08da3f992ce9 X-MS-TrafficTypeDiagnostic: MW4PR02MB7316:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4P/wuTcl6QRrTTiHz86e1ah+jUTb7OZkxnJXP9CmBtDTnqL6UXDy8+v/3dhM5Z+mUEA8g8VdDWrAyelCesyC5Nk7UWTGJk7yQ+wS4vshpnbbr8GQdyAj75hI15/A8fZtaFy8amiHFnSGlzpqBP8HfNI3fWUH6K8l6DPdJyvDQEjVnpgq5roi9CiWazVonJn2aQ94gdF1zBqiMVZWP2McqflwTtPVzzZLj1Pdwr/sS9XYM44ym9y6CgzZegUILvyjzqtYreSuq8Njtl630DvSu+PHjjedVAnh5cHlr4SYjMaK1lGmYRpUXUtwGDNHkBeZKfe50lQN7bNGkm9MliPvnD64l/tVf8puKGzAFNiSBm/dpGauoCQKgtClRybEwNpe2UGaPrBjbOPO/+pgE9MMBzA4AB5/zfAnhb9pJUNwHIcfkvuTcvghxzbmICswK2P1QA9NbflIIHL9V+wmAyCeSIadHNW6hMHnePFAUYEn2RZyYMv7x8xX2yLHVb8V4xp8oKB7bwn/C5N/oJqKoFWoy+doKU3yHiK5H9ahqQP/58W5O0aVqpQ5htlIpNCQiEO2Km8deNNJifuBw7+5ra8Og9x2UaX8jMdzHKpAWTE50gPW7doI+YAVXMxxTz8tgxf0gZso3igSG88Z51l+bOX4Y9WFQ09IOeBFNZCDEhZL3QIegsiXqw2gNlUvHDKqLkP45jKfs8kgyVcEmwkEC7XxJprINZsoScNu58/+pY/MDvDS8CfqbTvvSgYij96f9cH+8qAx+xfCAw6pxsNIfYvCIz4pRHenR3h/3igAHG7f3Qc= X-Forefront-Antispam-Report: CIP:8.14.198.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:jabil.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230001)(4636009)(40470700004)(46966006)(36840700001)(186003)(1076003)(336012)(107886003)(2616005)(2906002)(966005)(508600001)(6666004)(83380400001)(26005)(81166007)(356005)(40460700003)(82960400001)(86362001)(47076005)(36860700001)(82310400005)(5660300002)(54906003)(316002)(36756003)(110136005)(70206006)(45080400002)(8676002)(30864003)(4326008)(70586007)(8936002)(36900700001);DIR:OUT;SFP:1102; X-OriginatorOrg: jabil.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 May 2022 04:27:14.1484 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d1323c7d-2b33-4a32-f0c8-08da3f992ce9 X-MS-Exchange-CrossTenant-Id: bc876b21-f134-4c12-a265-8ed26b7f0f3b X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bc876b21-f134-4c12-a265-8ed26b7f0f3b;Ip=[8.14.198.160];Helo=[jabil.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT063.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR02MB7316 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The initial introduction of the jabil server with AST2600 BMC SoC. --- v4 - Add document the new compatible. - Delete redundant blank lines. - Add a new line at end of file. v3 - Adjustment entries are ordered by name. - Remove the bootargs property and modify the stdout-path property. - Group multiple LED devices into a group. - Modify the "gpio3_71" node name format. - Delete unneeded blank line at the end. v2 - Disable empty i2c bus. - Remove gfx node because aspeed-g6.dtsi isn't supported. - Modify the led format and add some properties. - Fix wrong indentation. - Add stdout property in chosen node. - Rename temp to temperature-sensor in i2c bus 0. --- Signed-off-by: David Wang --- .../bindings/arm/jabil/jabil-boards.yaml | 24 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm/boot/dts/Makefile | 1 + .../boot/dts/aspeed-bmc-jabil-rubypass.dts | 442 ++++++++++++++++++ 4 files changed, 469 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/jabil/jabil-board= s.yaml create mode 100644 arch/arm/boot/dts/aspeed-bmc-jabil-rubypass.dts diff --git a/Documentation/devicetree/bindings/arm/jabil/jabil-boards.yaml = b/Documentation/devicetree/bindings/arm/jabil/jabil-boards.yaml new file mode 100644 index 000000000000..dde7791aa8bc --- /dev/null +++ b/Documentation/devicetree/bindings/arm/jabil/jabil-boards.yaml @@ -0,0 +1,24 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/jabil/jabil-boards.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Jabil Bmc and Aspeed SoC based boards + +maintainers: + - David Wang + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: Aspeed ast2600 bmc boards + items: + - const: jabil,rbp # eaglestream platform + +required: + - compatible + +additionalProperties: true diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Docum= entation/devicetree/bindings/vendor-prefixes.yaml index 01430973ecec..69738483c059 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -624,6 +624,8 @@ patternProperties: description: Jiandangjing Technology Co., Ltd. "^joz,.*": description: JOZ BV + "^jabil,.*": + description: Jabil Design Service Branch (Sanchong) "^kam,.*": description: Kamstrup A/S "^karo,.*": diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 7c16f8a2b738..5339e9339ce4 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1543,6 +1543,7 @@ dtb-$(CONFIG_ARCH_ASPEED) +=3D \ aspeed-bmc-intel-s2600wf.dtb \ aspeed-bmc-inspur-fp5280g2.dtb \ aspeed-bmc-inspur-nf5280m6.dtb \ + aspeed-bmc-jabil-rubypass.dtb \ aspeed-bmc-lenovo-hr630.dtb \ aspeed-bmc-lenovo-hr855xg2.dtb \ aspeed-bmc-microsoft-olympus.dtb \ diff --git a/arch/arm/boot/dts/aspeed-bmc-jabil-rubypass.dts b/arch/arm/boo= t/dts/aspeed-bmc-jabil-rubypass.dts new file mode 100644 index 000000000000..eac056d36f82 --- /dev/null +++ b/arch/arm/boot/dts/aspeed-bmc-jabil-rubypass.dts @@ -0,0 +1,442 @@ +// SPDX-License-Identifier: GPL-2.0-or-later + +/dts-v1/; + +#include "aspeed-g6.dtsi" +#include +#include + +/ { + model =3D "Jabil rbp"; + compatible =3D "jabil,rbp", "aspeed,ast2600"; + + chosen { + stdout-path =3D "/uart5:115200n8"; + }; + + memory@80000000 { + device_type =3D "memory"; + reg =3D <0x80000000 0x80000000>; + }; + + vcc_sdhci0: regulator-vcc-sdhci0 { + compatible =3D "regulator-fixed"; + regulator-name =3D "SDHCI0 Vcc"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + gpios =3D <&gpio0 ASPEED_GPIO(V, 0) GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + vccq_sdhci0: regulator-vccq-sdhci0 { + compatible =3D "regulator-gpio"; + regulator-name =3D "SDHCI0 VccQ"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <3300000>; + gpios =3D <&gpio0 ASPEED_GPIO(V, 1) GPIO_ACTIVE_HIGH>; + gpios-states =3D <1>; + states =3D <3300000 1>, + <1800000 0>; + }; + + vcc_sdhci1: regulator-vcc-sdhci1 { + compatible =3D "regulator-fixed"; + regulator-name =3D "SDHCI1 Vcc"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + gpios =3D <&gpio0 ASPEED_GPIO(V, 2) GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + vccq_sdhci1: regulator-vccq-sdhci1 { + compatible =3D "regulator-gpio"; + regulator-name =3D "SDHCI1 VccQ"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <3300000>; + gpios =3D <&gpio0 ASPEED_GPIO(V, 3) GPIO_ACTIVE_HIGH>; + gpios-states =3D <1>; + states =3D <3300000 1>, + <1800000 0>; + }; + + leds { + compatible =3D "gpio-leds"; + pinctrl-names =3D "default"; + + led-0 { + label =3D "identify"; + color =3D ; + function =3D LED_FUNCTION_INDICATOR; + retain-state-shutdown; + gpios =3D <&gpio0 ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>; + }; + + led-1 { + label =3D "status_amber"; + color =3D ; + function =3D LED_FUNCTION_STATUS; + gpios =3D <&gpio0 ASPEED_GPIO(G, 3) GPIO_ACTIVE_LOW>; + }; + + led-2 { + label =3D "status_green"; + color =3D ; + default-state =3D "keep"; + function =3D LED_FUNCTION_STATUS; + gpios =3D <&gpio0 ASPEED_GPIO(G, 2) GPIO_ACTIVE_LOW>; + }; + + led-3 { + label =3D "status_susack"; + function =3D LED_FUNCTION_STATUS; + gpios =3D <&gpio0 ASPEED_GPIO(V, 6) GPIO_ACTIVE_LOW>; + }; + + led-4 { + label =3D "power-amber"; + color =3D ; + function =3D LED_FUNCTION_POWER; + gpios =3D <&gpio0 ASPEED_GPIO(Y, 0) GPIO_ACTIVE_LOW>; + }; + + led-5 { + label =3D "fan1-fault"; + color =3D ; + function =3D LED_FUNCTION_FAULT; + retain-state-shutdown; + gpios =3D <&gpio3_71 0 GPIO_ACTIVE_HIGH>; + }; + + led-6 { + label =3D "fan2-fault"; + color =3D ; + function =3D LED_FUNCTION_FAULT; + retain-state-shutdown; + gpios =3D <&gpio3_71 1 GPIO_ACTIVE_HIGH>; + }; + + led-7 { + label =3D "fan3-fault"; + color =3D ; + function =3D LED_FUNCTION_FAULT; + retain-state-shutdown; + gpios =3D <&gpio3_71 2 GPIO_ACTIVE_HIGH>; + }; + + led-8 { + label =3D "fan4-fault"; + color =3D ; + function =3D LED_FUNCTION_FAULT; + retain-state-shutdown; + gpios =3D <&gpio3_71 3 GPIO_ACTIVE_HIGH>; + }; + + led-9 { + label =3D "fan5-fault"; + color =3D ; + function =3D LED_FUNCTION_FAULT; + retain-state-shutdown; + gpios =3D <&gpio3_71 4 GPIO_ACTIVE_HIGH>; + }; + + led-10 { + label =3D "fan6-fault"; + color =3D ; + function =3D LED_FUNCTION_FAULT; + retain-state-shutdown; + gpios =3D <&gpio3_71 5 GPIO_ACTIVE_HIGH>; + }; + }; +}; + +&mdio0 { + status =3D "okay"; + + ethphy0: ethernet-phy@0 { + compatible =3D "ethernet-phy-ieee802.3-c22"; + reg =3D <0>; + }; +}; + +&mdio1 { + status =3D "okay"; + + ethphy1: ethernet-phy@0 { + compatible =3D "ethernet-phy-ieee802.3-c22"; + reg =3D <0>; + }; +}; + +&mdio2 { + status =3D "okay"; + + ethphy2: ethernet-phy@0 { + compatible =3D "ethernet-phy-ieee802.3-c22"; + reg =3D <0>; + }; +}; + +&mdio3 { + status =3D "okay"; + + ethphy3: ethernet-phy@0 { + compatible =3D "ethernet-phy-ieee802.3-c22"; + reg =3D <0>; + }; +}; + +&mac0 { + status =3D "okay"; + + phy-mode =3D "rgmii-rxid"; + phy-handle =3D <ðphy0>; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_rgmii1_default>; +}; + +&mac1 { + status =3D "okay"; + + phy-mode =3D "rgmii-rxid"; + phy-handle =3D <ðphy1>; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_rgmii2_default>; +}; + +&mac2 { + status =3D "okay"; + + phy-mode =3D "rgmii"; + phy-handle =3D <ðphy2>; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_rgmii3_default>; +}; + +&mac3 { + status =3D "okay"; + + phy-mode =3D "rgmii"; + phy-handle =3D <ðphy3>; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_rgmii4_default>; +}; + +&emmc_controller { + status =3D "okay"; +}; + +&emmc { + non-removable; + bus-width =3D <4>; + max-frequency =3D <100000000>; + clk-phase-mmc-hs200 =3D <9>, <225>; +}; + +&rtc { + status =3D "okay"; +}; + +&fmc { + status =3D "okay"; + flash@0 { + status =3D "okay"; + m25p,fast-read; + label =3D "bmc"; + spi-max-frequency =3D <50000000>; +#include "openbmc-flash-layout-128.dtsi" + }; +}; + +&spi1 { + status =3D "okay"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_spi1_default>; + + flash@0 { + status =3D "okay"; + m25p,fast-read; + label =3D "pnor"; + spi-max-frequency =3D <100000000>; + }; +}; + +&uart1 { + status =3D "okay"; + pinctrl-0 =3D <&pinctrl_txd1_default + &pinctrl_rxd1_default + &pinctrl_nrts1_default + &pinctrl_ndtr1_default + &pinctrl_ndsr1_default + &pinctrl_ncts1_default + &pinctrl_ndcd1_default + &pinctrl_nri1_default>; +}; + +&uart2 { + status =3D "okay"; + pinctrl-0 =3D <&pinctrl_txd2_default + &pinctrl_rxd2_default + &pinctrl_nrts2_default + &pinctrl_ndtr2_default + &pinctrl_ndsr2_default + &pinctrl_ncts2_default + &pinctrl_ndcd2_default + &pinctrl_nri2_default>; +}; + +&uart3 { + status =3D "okay"; +}; + +&uart4 { + status =3D "okay"; +}; + +&i2c0 { + status =3D "okay"; + + temperature-sensor@2e { + compatible =3D "adi,adt7490"; + reg =3D <0x2e>; + }; +}; + +&i2c3 { + multi-master; + status =3D "okay"; + + gpio@70 { + compatible =3D "nxp,pca9538"; + reg =3D <0x70>; + interrupt-parent =3D <&gpio0>; + interrupts =3D ; + gpio-controller; + #gpio-cells =3D <2>; + gpio-line-names =3D + "presence-fan1-n", "presence-fan2-n", "presence-fan3-n", "presence-fan4= -n", + "presence-fan5-n", "presence-fan6-n", "", ""; + }; + + gpio3_71: gpio@71 { + compatible =3D "nxp,pca9538"; + reg =3D <0x71>; + gpio-controller; + #gpio-cells =3D <2>; + gpio-line-names =3D + "led-fan1-fault", "led-fan2-fault", "led-fan3-fault", "led-fan4-fault", + "led-fan5-fault", "led-fan6-fault", "", ""; + }; +}; + +&fsim0 { + status =3D "okay"; +}; + +&ehci1 { + status =3D "okay"; +}; + +&uhci { + status =3D "okay"; +}; + +&sdc { + status =3D "okay"; +}; + +/* + * The signal voltage of sdhci0 and sdhci1 on AST2600-A2 EVB is able to be + * toggled by GPIO pins. + * In the reference design, GPIOV0 of AST2600-A2 EVB is connected to the + * power load switch that provides 3.3v to sdhci0 vdd, GPIOV1 is connected= to + * a 1.8v and a 3.3v power load switch that provides signal voltage to + * sdhci0 bus. + * If GPIOV0 is active high, sdhci0 is enabled, otherwise, sdhci0 is disab= led. + * If GPIOV1 is active high, 3.3v power load switch is enabled, sdhci0 sig= nal + * voltage is 3.3v, otherwise, 1.8v power load switch will be enabled, + * sdhci0 signal voltage becomes 1.8v. + * AST2600-A2 EVB also supports toggling signal voltage for sdhci1. + * The design is the same as sdhci0, it uses GPIOV2 as power-gpio and GPIO= V3 + * as power-switch-gpio. + */ +&sdhci0 { + status =3D "okay"; + bus-width =3D <4>; + max-frequency =3D <100000000>; + sdhci-drive-type =3D /bits/ 8 <3>; + sdhci-caps-mask =3D <0x7 0x0>; + sdhci,wp-inverted; + vmmc-supply =3D <&vcc_sdhci0>; + vqmmc-supply =3D <&vccq_sdhci0>; + clk-phase-sd-hs =3D <7>, <200>; +}; + +&sdhci1 { + status =3D "okay"; + bus-width =3D <4>; + max-frequency =3D <100000000>; + sdhci-drive-type =3D /bits/ 8 <3>; + sdhci-caps-mask =3D <0x7 0x0>; + sdhci,wp-inverted; + vmmc-supply =3D <&vcc_sdhci1>; + vqmmc-supply =3D <&vccq_sdhci1>; + clk-phase-sd-hs =3D <7>, <200>; +}; + +&gpio0 { + status =3D "okay"; + gpio-line-names =3D + /*A0-A7*/ "","","","","","","","", + /*B0-B7*/ "presence-ncsi-i210-n","","","","","","","led-identify-n", + /*C0-C7*/ "","","","","","","","", + /*D0-D7*/ "","","","","","","","", + /*E0-E7*/ "","","","","","","","", + /*F0-F7*/ "","","","","","","id-button","", + /*G0-G7*/ "","","led-status-green-n","led-status-amber-n","","","",= "", + /*H0-H7*/ "","","","","","cpu-caterr","","cpu1-caterr-n", + /*I0-I7*/ "","","","","","","","", + /*J0-J7*/ "","","","","","","","", + /*K0-K7*/ "","","","","","","","", + /*L0-L7*/ "","","","","","","","", + /*M0-M7*/ "","","","","","","","", + /*N0-N7*/ "","","","","","","","", + /*O0-O7*/ "","","","","","","nmi-button","", + /*P0-P7*/ "reset-button","reset-out","power-button","power-out","",= "","", + "led-hartbeat-n", + /*Q0-Q7*/ "","","","","","","","", + /*R0-R7*/ "","","","","","","","", + /*S0-S7*/ "","","","","","","","", + /*T0-T7*/ "","","","","","","","", + /*U0-U7*/ "","","","","","","","", + /*V0-V7*/ "regulator-vcc-sdhci0","regulator-vccq-sdhci0","regulator= -vcc-sdhci1", + "regulator-vccq-sdhci1","sio-power-good", + "led-bmc-fw-config-done-n","","", + /*W0-W7*/ "","","","","","","","", + /*X0-X7*/ "cpu-err2","","","","","","","", + /*Y0-Y7*/ "led-power-amber","","","","","","","", + /*Z0-Z7*/ "cpu-err0","cpu-err1","","","","","",""; + }; + +&gpio1 { + status =3D "okay"; +}; + +&kcs3 { + aspeed,lpc-io-reg =3D <0xCA2>; + status =3D "okay"; +}; + +&kcs4 { + aspeed,lpc-io-reg =3D <0xCA4>; + status =3D "okay"; +}; + +&lpc_snoop { + snoop-ports =3D <0x80>; + status =3D "okay"; +}; + --=20 2.30.2