ARM: dts: aspeed: Add Supermicro X13DEM (AST2600) BMC
Subsystems (3)
PATCH 1/1 ARM: dts: aspeed: Add Supermicro X13DEM (AST2600) BMC
From: Ryan Sie <[email protected]>
Add initial version of device tree for Supermicro X13DEM (AST2600) BMC. X13DEM is Supermicro's next generation Hyper platform with an AST2600 BMC.
--- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/aspeed-bmc-supermicro-x13dem.dts | 398 ++++++++++++++++++ 2 files changed, 399 insertions(+) create mode 100664 arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -1623,6 +1623,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-quanta-q71l.dtb \ aspeed-bmc-quanta-s6q.dtb \ aspeed-bmc-supermicro-x11spi.dtb \ + aspeed-bmc-supermicro-x13dem.dtb \ aspeed-bmc-inventec-transformers.dtb \ aspeed-bmc-tyan-s7106.dtb \ aspeed-bmc-tyan-s8036.dtb \
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +398 -0
398 lines not on this page · raw message
Signature · 1 line
2.25.1
Joel Stanley
maintainerQuoted 7 lines · On Thu, 2 Feb 2023 at 08:55, <[email protected]> wrote:
From: Ryan Sie <[email protected]>
Add initial version of device tree for Supermicro X13DEM (AST2600) BMC. X13DEM is Supermicro's next generation Hyper platform with an AST2600 BMC.
Signed-off-by Ryan Sie <[email protected]>
A good start, thanks. Can you also cc the linux-arm-kernel list for future versions?
Quoted 25 lines
--- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/aspeed-bmc-supermicro-x13dem.dts | 398 ++++++++++++++++++ 2 files changed, 399 insertions(+) create mode 100664 arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dtsarch/arm/boot/dts/Makefile +1
-0@@ -1623,6 +1623,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-quanta-q71l.dtb \ aspeed-bmc-quanta-s6q.dtb \ aspeed-bmc-supermicro-x11spi.dtb \ + aspeed-bmc-supermicro-x13dem.dtb \ aspeed-bmc-inventec-transformers.dtb \ aspeed-bmc-tyan-s7106.dtb \ aspeed-bmc-tyan-s8036.dtb \arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +1
-0@@ -0,0 +1,398 @@ +// SPDX-License-Identifier: GPL-2.0-or-later
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts line 11
Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +10
-0+// Copyright 2023 Supermicro Corp. +/dts-v1/; + +#include "aspeed-g6.dtsi" +#include <dt-bindings/gpio/aspeed-gpio.h> +#include <dt-bindings/i2c/i2c.h> + +/ { + model = "AST2600 BMC"; + compatible = "aspeed,ast2600";
Update both of thsese to have your board name. See other boards for what to do.
Quoted 14 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +14
-0+ + chosen { + stdout-path = &uart5; + bootargs = "console=ttyS4,115200 earlyprintk"; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x40000000>; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>;
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts line 35
Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +10
-0+ ranges; + + video_engine_memory: video { + size = <0x04000000>; + alignment = <0x01000000>; + compatible = "shared-dma-pool"; + reusable; + }; + + gfx_memory: framebuffer {
are you sure you need this?
Quoted 57 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +57
-0+ size = <0x01000000>; + alignment = <0x01000000>; + compatible = "shared-dma-pool"; + reusable; + }; + + }; + + leds { + compatible = "gpio-leds"; + powerfail { + default-state = "off"; + gpios = <&gpio0 ASPEED_GPIO(G, 5) GPIO_ACTIVE_LOW>; + }; + }; + + 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 2>, <&adc1 3>, + <&adc1 4>, <&adc1 5>, <&adc1 6>, <&adc1 7>; + }; + + aliases { + mmc0 = &emmc; + }; + +}; + +&emmc_controller { + status = "okay"; +}; + +&emmc { + status = "okay"; + + non-removable; + max-frequency = <100000000>; + sdhci-drive-type = /bits/ 8 <3>; + bus-width = <4>; +}; + +&fmc { + status = "okay"; + flash@0 { + status = "okay"; + label = "bmc"; + spi-max-frequency = <25000000>; + spi-tx-bus-width = <1>; + m25p,fast-read; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + u-boot@0 {
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts line 102
Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +10
-0+ reg = <0x0 0x100000>; + label = "u-boot"; + }; + u-boot-env@3f0000 { + reg = <0x3f0000 0x10000>; + label = "u-boot-env"; + }; + u-boot-env-redund@7f0000 { + reg = <0x7f0000 0x10000>; + label = "u-boot-env-redund";
We don't normally have a separate partition here, although this is something you can do.
Are you using openbmc on this board?
Quoted 9 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +9
-0+ }; + }; + }; +}; + +&spi1 { + status = "okay"; + flash@0 { + status = "okay";
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts line 121
Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +10
-0+ label = "spi1:0"; + spi-max-frequency = <25000000>; + spi-bus-width = <1>; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + all-bios@0 { + label = "all_part_bios"; + reg = <0x000000000 0x02000000>;
These numbers look suspicious. Too many 0s?
Quoted 41 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +41
-0+ }; + }; + }; + +}; + +&spi2 { + status = "disabled"; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spi2_default &pinctrl_spi2cs1_default &pinctrl_spi2cs2_default + &pinctrl_qspi2_default>; + + flash@0 { + status = "okay"; + label = "spi2:0"; + spi-max-frequency = <100000000>; + spi-bus-width = <2>; + m25p,fast-read; + }; +}; + +&adc0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default + &pinctrl_adc2_default &pinctrl_adc3_default + &pinctrl_adc4_default &pinctrl_adc5_default + &pinctrl_adc6_default &pinctrl_adc7_default>; +}; + +&adc1 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default + &pinctrl_adc10_default &pinctrl_adc11_default + &pinctrl_adc12_default &pinctrl_adc13_default + &pinctrl_adc14_default &pinctrl_adc15_default>; +}; + +&gpio0 {
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts line 172
Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +10
-0+ status = "okay"; + gpio-line-names = + /*A0-A7*/ "","","","","","","","", + /*B0-B7*/ "","","","","","","","", + /*C0-C7*/ "","","","","","","","", + /*D0-D7*/ "","","","","","","","", + /*E0-E7*/ "","","","","","","","", + /*F0-F7*/ "","","","","","","","", + /*G0-G7*/ "","","","","","","","", + /*H0-H7*/ "","NMI_N","PWRBTN_N","RST_N","","","","",
If you're using openbmc, consider the generic names for common GPIOs.
Quoted 122 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +122
-0+ /*I0-I7*/ "","","","","","","","", + /*J0-J7*/ "","","","","","","","", + /*K0-K7*/ "","","","","","","","", + /*L0-L7*/ "","","","","","","","", + /*M0-M7*/ "","","","","","","","", + /*N0-N7*/ "","","","","","","","", + /*O0-O7*/ "","","","","","","","", + /*P0-P7*/ "","","","","","","","", + /*Q0-Q7*/ "","","","","","","","", + /*R0-R7*/ "","","","","","","","", + /*S0-S7*/ "","","","","PWROK_IN","","","", + /*T0-T7*/ "","","","","","","","", + /*U0-U7*/ "","","","","","","","", + /*V0-V7*/ "","","","","","","","", + /*W0-W7*/ "","","","","","","","", + /*X0-X7*/ "","BIOS_CMP_IN","","","","","","", + /*Y0-Y7*/ "","","","","","","","", + /*Z0-Z7*/ "","","PWRBTN_IN","","","","",""; +}; + +&gpio1 { + status = "disabled"; +}; + +&sgpiom0 { + status = "disabled"; + gpio-line-names = + /* SGPIO output lines */ + /*OA0-OA7*/ "","","","","","","","", + /*OB0-OB7*/ "","","","","","","","", + /*OC0-OC7*/ "","","","","","","","", + /*OD0-OD7*/ "","","","","","","","", + /*OE0-OE7*/ "","","","","","","","", + /*OF0-OF7*/ "","","","","","","","", + /*OG0-OG7*/ "","","","","","","","", + /*OH0-OH7*/ "","","","","","","","", + /*OI0-OI7*/ "","","","","","","","", + /*OJ0-OJ7*/ "","","","","","","","", + /*DUMMY*/ "","","","","","","","", + /*DUMMY*/ "","","","","","","","", + + /* SGPIO input lines */ + /*IA0-IA7*/ "","","","","","","","", + /*IB0-IB7*/ "","","","","","","","", + /*IC0-IC7*/ "","","","","","","","", + /*ID0-ID7*/ "","","","","","","","", + /*IE0-IE7*/ "","","","","","","","", + /*IF0-IF7*/ "","","","","","","","", + /*IG0-IG7*/ "","","","","","","","", + /*IH0-IH7*/ "","","","","","","","", + /*II0-II7*/ "","","","","","","","", + /*IJ0-IJ7*/ "","","","","","","",""; +}; + +&kcs3 { + aspeed,lpc-io-reg = <0xCA2>; + status = "okay"; +}; + +&kcs4 { + aspeed,lpc-io-reg = <0xCA4>; + status = "okay"; +}; + +&lpc_snoop { + snoop-ports = <0x80>; + status = "okay"; +}; + +&uart1 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&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 = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&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 = "okay"; +}; + +&uart4 { + status = "okay"; +}; + +&uart5 { + status = "okay"; +}; + +&uart_routing { + status = "okay"; +}; + +&mdio0 { + status = "okay"; + + ethphy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; +}; + +&mac0 { + status = "okay";
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts line 304
Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +10
-0+ + phy-mode = "rgmii"; + phy-handle = <ðphy0>; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rgmii1_default>; +}; + +&mdio1 { + status = "disabled";
You can omit this if it's disabled. But it seems you use it below?
Quoted 97 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +94
-1+ + ethphy1: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; +}; + +&mac1 { + status = "disabled"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rgmii2_default>; + phy-mode = "rgmii"; + phy-handle = <ðphy1>; +}; + +&mdio2 { + status = "disabled"; + + ethphy2: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; +}; + +&mac2 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rmii3_default>; + use-ncsi; +}; + +&mdio3 { + status = "disabled"; + + ethphy3: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; +}; + +&mac3 { + status = "disabled"; + pinctrl-names = "default"; + phy-handle = <ðphy3>; + phy-mode = "rgmii"; + +}; + +&i2c0 { + status = "okay"; +}; + +&i2c1 { + status = "disabled"; +}; + +&i2c2 { + multi-master; + status = "okay"; +}; + +&i2c3 { + status = "okay"; +}; + +&i2c4 { + status = "okay"; + bus-frequency = <400000>; +}; + +&i2c5 { + status = "okay"; +}; + +&i2c6 { + status = "okay"; +}; + +&i2c7 { + status = "okay"; +}; + +&video { + status = "okay"; + memory-region = <&video_engine_memory>; +}; + +&vhub { + status = "okay"; +}; + +&rtc { + status = "okay"; +}; --2.25.1
Hi Joel,
Thanks for your comment.
Q1: gfx_memory will remove it
A2: We don't normally have a separate partition here, although this is something you can do. Are you using openbmc on this board?
Q2: yes, smci special design, using openbmc on this board.
A3: These numbers look suspicious. Too many 0s?
Q3: will fix it.
A4: If you're using openbmc, consider the generic names for common GPIOs.
Q4: we using smci gpio definition.
A5: mdio1~3 issues, You can omit this if it's disabled. But it seems you use it below?
Q5: will remove it.
Ryan
-----Original Message-----
From: Joel Stanley <[email protected]>
Sent: Tuesday, February 7, 2023 12:15 PM
To: [email protected]
Cc: [email protected]; [email protected]; Ryan Sie - TW (HW 1) <[email protected]>
Subject: Re: [PATCH] ARM: dts: aspeed: Add Supermicro X13DEM (AST2600) BMC
[CAUTION: External Mail]
Quoted 7 lines · On Thu, 2 Feb 2023 at 08:55, <[email protected]> wrote:
From: Ryan Sie <[email protected]>
Add initial version of device tree for Supermicro X13DEM (AST2600) BMC. X13DEM is Supermicro's next generation Hyper platform with an AST2600 BMC.
Signed-off-by Ryan Sie <[email protected]>
A good start, thanks. Can you also cc the linux-arm-kernel list for future versions?
Quoted 27 lines
--- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/aspeed-bmc-supermicro-x13dem.dts | 398 ++++++++++++++++++ 2 files changed, 399 insertions(+) create mode 100664 arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dtsarch/arm/boot/dts/Makefile +1
-0@@ -1623,6 +1623,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-quanta-q71l.dtb \ aspeed-bmc-quanta-s6q.dtb \ aspeed-bmc-supermicro-x11spi.dtb \ + aspeed-bmc-supermicro-x13dem.dtb \ aspeed-bmc-inventec-transformers.dtb \ aspeed-bmc-tyan-s7106.dtb \ aspeed-bmc-tyan-s8036.dtb \arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +1
-0@@ -0,0 +1,398 @@ +// SPDX-License-Identifier: GPL-2.0-or-later // Copyright 2023
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts line 11
Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +10
-0+Supermicro Corp. +/dts-v1/; + +#include "aspeed-g6.dtsi" +#include <dt-bindings/gpio/aspeed-gpio.h> #include +<dt-bindings/i2c/i2c.h> + +/ { + model = "AST2600 BMC"; + compatible = "aspeed,ast2600";
Update both of thsese to have your board name. See other boards for what to do.
Quoted 14 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +14
-0+ + chosen { + stdout-path = &uart5; + bootargs = "console=ttyS4,115200 earlyprintk"; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x40000000>; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>;
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts line 35
Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +10
-0+ ranges; + + video_engine_memory: video { + size = <0x04000000>; + alignment = <0x01000000>; + compatible = "shared-dma-pool"; + reusable; + }; + + gfx_memory: framebuffer {
are you sure you need this?
Quoted 57 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +57
-0+ size = <0x01000000>; + alignment = <0x01000000>; + compatible = "shared-dma-pool"; + reusable; + }; + + }; + + leds { + compatible = "gpio-leds"; + powerfail { + default-state = "off"; + gpios = <&gpio0 ASPEED_GPIO(G, 5) GPIO_ACTIVE_LOW>; + }; + }; + + 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 2>, <&adc1 3>, + <&adc1 4>, <&adc1 5>, <&adc1 6>, <&adc1 7>; + }; + + aliases { + mmc0 = &emmc; + }; + +}; + +&emmc_controller { + status = "okay"; +}; + +&emmc { + status = "okay"; + + non-removable; + max-frequency = <100000000>; + sdhci-drive-type = /bits/ 8 <3>; + bus-width = <4>; +}; + +&fmc { + status = "okay"; + flash@0 { + status = "okay"; + label = "bmc"; + spi-max-frequency = <25000000>; + spi-tx-bus-width = <1>; + m25p,fast-read; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + u-boot@0 {
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts line 102
Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +10
-0+ reg = <0x0 0x100000>; + label = "u-boot"; + }; + u-boot-env@3f0000 { + reg = <0x3f0000 0x10000>; + label = "u-boot-env"; + }; + u-boot-env-redund@7f0000 { + reg = <0x7f0000 0x10000>; + label = "u-boot-env-redund";
We don't normally have a separate partition here, although this is something you can do.
Are you using openbmc on this board?
Quoted 9 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +9
-0+ }; + }; + }; +}; + +&spi1 { + status = "okay"; + flash@0 { + status = "okay";
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts line 121
Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +10
-0+ label = "spi1:0"; + spi-max-frequency = <25000000>; + spi-bus-width = <1>; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + all-bios@0 { + label = "all_part_bios"; + reg = <0x000000000 0x02000000>;
These numbers look suspicious. Too many 0s?
Quoted 39 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +39
-0+ }; + }; + }; + +}; + +&spi2 { + status = "disabled"; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spi2_default &pinctrl_spi2cs1_default &pinctrl_spi2cs2_default + &pinctrl_qspi2_default>; + + flash@0 { + status = "okay"; + label = "spi2:0"; + spi-max-frequency = <100000000>; + spi-bus-width = <2>; + m25p,fast-read; + }; +}; + +&adc0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default + &pinctrl_adc2_default &pinctrl_adc3_default + &pinctrl_adc4_default &pinctrl_adc5_default + &pinctrl_adc6_default &pinctrl_adc7_default>; }; + +&adc1 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default + &pinctrl_adc10_default &pinctrl_adc11_default + &pinctrl_adc12_default &pinctrl_adc13_default + &pinctrl_adc14_default &pinctrl_adc15_default>; }; + +&gpio0 {
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts line 172
Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +10
-0+ status = "okay"; + gpio-line-names = + /*A0-A7*/ "","","","","","","","", + /*B0-B7*/ "","","","","","","","", + /*C0-C7*/ "","","","","","","","", + /*D0-D7*/ "","","","","","","","", + /*E0-E7*/ "","","","","","","","", + /*F0-F7*/ "","","","","","","","", + /*G0-G7*/ "","","","","","","","", + /*H0-H7*/ "","NMI_N","PWRBTN_N","RST_N","","","","",
If you're using openbmc, consider the generic names for common GPIOs.
Quoted 119 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +119
-0+ /*I0-I7*/ "","","","","","","","", + /*J0-J7*/ "","","","","","","","", + /*K0-K7*/ "","","","","","","","", + /*L0-L7*/ "","","","","","","","", + /*M0-M7*/ "","","","","","","","", + /*N0-N7*/ "","","","","","","","", + /*O0-O7*/ "","","","","","","","", + /*P0-P7*/ "","","","","","","","", + /*Q0-Q7*/ "","","","","","","","", + /*R0-R7*/ "","","","","","","","", + /*S0-S7*/ "","","","","PWROK_IN","","","", + /*T0-T7*/ "","","","","","","","", + /*U0-U7*/ "","","","","","","","", + /*V0-V7*/ "","","","","","","","", + /*W0-W7*/ "","","","","","","","", + /*X0-X7*/ "","BIOS_CMP_IN","","","","","","", + /*Y0-Y7*/ "","","","","","","","", + /*Z0-Z7*/ "","","PWRBTN_IN","","","","",""; +}; + +&gpio1 { + status = "disabled"; +}; + +&sgpiom0 { + status = "disabled"; + gpio-line-names = + /* SGPIO output lines */ + /*OA0-OA7*/ "","","","","","","","", + /*OB0-OB7*/ "","","","","","","","", + /*OC0-OC7*/ "","","","","","","","", + /*OD0-OD7*/ "","","","","","","","", + /*OE0-OE7*/ "","","","","","","","", + /*OF0-OF7*/ "","","","","","","","", + /*OG0-OG7*/ "","","","","","","","", + /*OH0-OH7*/ "","","","","","","","", + /*OI0-OI7*/ "","","","","","","","", + /*OJ0-OJ7*/ "","","","","","","","", + /*DUMMY*/ "","","","","","","","", + /*DUMMY*/ "","","","","","","","", + + /* SGPIO input lines */ + /*IA0-IA7*/ "","","","","","","","", + /*IB0-IB7*/ "","","","","","","","", + /*IC0-IC7*/ "","","","","","","","", + /*ID0-ID7*/ "","","","","","","","", + /*IE0-IE7*/ "","","","","","","","", + /*IF0-IF7*/ "","","","","","","","", + /*IG0-IG7*/ "","","","","","","","", + /*IH0-IH7*/ "","","","","","","","", + /*II0-II7*/ "","","","","","","","", + /*IJ0-IJ7*/ "","","","","","","",""; +}; + +&kcs3 { + aspeed,lpc-io-reg = <0xCA2>; + status = "okay"; +}; + +&kcs4 { + aspeed,lpc-io-reg = <0xCA4>; + status = "okay"; +}; + +&lpc_snoop { + snoop-ports = <0x80>; + status = "okay"; +}; + +&uart1 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&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 = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&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 = "okay"; +}; + +&uart4 { + status = "okay"; +}; + +&uart5 { + status = "okay"; +}; + +&uart_routing { + status = "okay"; +}; + +&mdio0 { + status = "okay"; + + ethphy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; +}; + +&mac0 {
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts line 304
Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +10
-0+ status = "okay"; + + phy-mode = "rgmii"; + phy-handle = <ðphy0>; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rgmii1_default>; }; + +&mdio1 { + status = "disabled";
You can omit this if it's disabled. But it seems you use it below?
Quoted 96 lines
arch/arm/boot/dts/aspeed-bmc-supermicro-x13dem.dts new file +93
-1+ + ethphy1: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; +}; + +&mac1 { + status = "disabled"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rgmii2_default>; + phy-mode = "rgmii"; + phy-handle = <ðphy1>; +}; + +&mdio2 { + status = "disabled"; + + ethphy2: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; +}; + +&mac2 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rmii3_default>; + use-ncsi; +}; + +&mdio3 { + status = "disabled"; + + ethphy3: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; +}; + +&mac3 { + status = "disabled"; + pinctrl-names = "default"; + phy-handle = <ðphy3>; + phy-mode = "rgmii"; + +}; + +&i2c0 { + status = "okay"; +}; + +&i2c1 { + status = "disabled"; +}; + +&i2c2 { + multi-master; + status = "okay"; +}; + +&i2c3 { + status = "okay"; +}; + +&i2c4 { + status = "okay"; + bus-frequency = <400000>; +}; + +&i2c5 { + status = "okay"; +}; + +&i2c6 { + status = "okay"; +}; + +&i2c7 { + status = "okay"; +}; + +&video { + status = "okay"; + memory-region = <&video_engine_memory>; }; + +&vhub { + status = "okay"; +}; + +&rtc { + status = "okay"; +}; --2.25.1