Adding device tree and binding for NVIDIA GB200-UT3.0b
Subsystems (2)
v8 cover Adding device tree and binding for NVIDIA GB200-UT3.0b
Patch 1 adds the binding for the NVIDIA GB200-UT3.0b platform. Patch 2 adds the device tree for the NVIDIA GB200-UT3.0b platform.
This is an Aspeed AST2600 based unit testing platform for GB200. UT3.0b is different than nvidia-gb200nvl-bmc due to networking topology differences, additional gpio expanders, and voltage regulator gating some devices.
Reference to Ast2600 SOC [1].
Reference to Blackwell GB200NVL Platform [2].
---
Changes v1 -> v2:
- Changed phy-mode to rgmii-id [Lunn]
- Removed redundant max-speed for mac0 [Lunn]
- Fixed typo from gb200nvl to gb200 in Makefile
Changes v2 -> v3:
- Fixed whitespace issues [Krzysztof]
- Fixed schema validation issues from my end ( there are still issues with the aspeed dtsi file that are not related to this new dts) [Herring]
- Reordered to follow style guide [Krzysztof]
- Removed redundant status okays
- Changed vcc to vdd for the power gating on the gpio expanders
Changes v3 -> v4:
- Added changelog [Krzysztof]
- Added nvidia,gb200-ut30b board binding [Krzysztof]
- Removed unused imports
- Reordered a couple other style guide violations
- Added back in a couple needed "status okay"s
Changes v4 -> v5:
- Resumed my patch after a pause
- Don't plan to make this include of nvidia-gb200nvl-bmc due to some platform differences
- Fixed io expanders that weren't gated by the 3.3V standby regulator
- Fixed incorrect interrupt pin for one IO expander
- Removed some IO expanders and I2C busses
Changes v5 -> v6:
- Fixed subject line
- Added missing gpio-key compatible type to buttons
- Added Acked-by for Krzysztof
Changes v6 -> v7:
- Removed Acked-by Krzysztof
Changes v7 -> v8:
- Added missing linux,code for identify and uid button
- Added Acked-by for Krzysztof
---
Donald Shannon (2):
dt-bindings: arm: aspeed: Add NVIDIA GB200-UT3.0b board
ARM: dts: aspeed: Add NVIDIA GB200 UT3.0b board
.../bindings/arm/aspeed/aspeed.yaml | 1 + arch/arm/boot/dts/aspeed/Makefile | 1 + .../aspeed/aspeed-bmc-nvidia-gb200-ut30b.dts | 1030 +++++++++++++++++ 3 files changed, 1032 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-gb200-ut30b.dts
base-commit: 05adbee3ad528100ab0285c15c91100e19e10138
Signature · 1 line
2.43.0
PATCH v8 1/2 dt-bindings: arm: aspeed: Add NVIDIA GB200-UT3.0b board
This is an Aspeed AST2600 based unit testing platform for GB200. UT3.0b is different than nvidia-gb200nvl-bmc due to networking topology differences, additional gpio expanders, and voltage regulator gating some devices.
Reference to Ast2600 SOC [1].
Reference to Blackwell GB200NVL Platform [2].
--- Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
@@ -99,6 +99,7 @@ properties: - inventec,starscream-bmc - inventec,transformer-bmc - jabil,rbp-bmc + - nvidia,gb200-ut30b - nvidia,gb200nvl-bmc - qcom,dc-scm-v1-bmc - quanta,s6q-bmc
Signature · 1 line
2.43.0
PATCH v8 2/2 ARM: dts: aspeed: Add NVIDIA GB200 UT3.0b board
In reply to Donald ShannonThis is an Aspeed AST2600 based unit testing platform for GB200. UT3.0b is different than nvidia-gb200nvl-bmc due to networking topology differences, additional gpio expanders, and voltage regulator gating some devices.
Reference to Ast2600 SOC [1].
Reference to Blackwell GB200NVL Platform [2].
--- arch/arm/boot/dts/aspeed/Makefile | 1 + .../aspeed/aspeed-bmc-nvidia-gb200-ut30b.dts | 1030 +++++++++++++++++ 2 files changed, 1031 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-gb200-ut30b.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
@@ -51,6 +51,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-lenovo-hr630.dtb \ aspeed-bmc-lenovo-hr855xg2.dtb \ aspeed-bmc-microsoft-olympus.dtb \ + aspeed-bmc-nvidia-gb200-ut30b.dtb \ aspeed-bmc-nvidia-gb200nvl-bmc.dtb \ aspeed-bmc-opp-lanyang.dtb \ aspeed-bmc-opp-mowgli.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-gb200-ut30b.dts new file +1030 -0
1,030 lines not on this page · raw message
Signature · 1 line
2.43.0
Andrew Jeffery
maintainerRe: [PATCH v8 2/2] ARM: dts: aspeed: Add NVIDIA GB200 UT3.0b board
Hi Donald,
Sorry for the delay.
arch/arm/boot/dts/aspeed/Makefile
Quoted 22 lines · Donald Shannon
This is an Aspeed AST2600 based unit testing platform for GB200. UT3.0b is different than nvidia-gb200nvl-bmc due to networking topology differences, additional gpio expanders, and voltage regulator gating some devices.
Reference to Ast2600 SOC [1].
Reference to Blackwell GB200NVL Platform [2].Signed-off-by Donald Shannon <[email protected]>---
arch/arm/boot/dts/aspeed/Makefile | 1 + .../aspeed/aspeed-bmc-nvidia-gb200-ut30b.dts | 1030 +++++++++++++++++2 files changed, 1031 insertions(+)create mode 100644
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-gb200-ut30b.dtsarch/arm/boot/dts/aspeed/Makefile +0
-0
*snip*
Quoted 33 lines
+&gpio0 {
+ gpio-line-names =
+ /*A0-A7*/ "", "", "", "", "", "", "", "",
+ /*B0-B7*/ "", "", "", "", "", "", "", "",
+ /*C0-C7*/ "SGPIO_I2C_MUX_SEL-O", "", "", "", "", "", "", "",
+ /*D0-D7*/ "", "", "", "UART1_MUX_SEL-O", "", "FPGA_PEX_RST_L-O", "", "", + /*E0-E7*/ "RTL8221_PHY_RST_L-O", "RTL8211_PHY_INT_L-I", "", "UART3_MUX_SEL-O", + "", "", "", "SGPIO_BMC_EN-O",
+ /*F0-F7*/ "", "", "", "", "", "", "", "",
+ /*G0-G7*/ "", "", "", "", "", "", "", "",
+ /*H0-H7*/ "", "", "", "", "", "", "", "",
+ /*I0-I7*/ "", "", "", "", "", "QSPI2_RST_L-O", "GLOBAL_WP_BMC-O", "BMC_DDR4_TEN-O", + /*J0-J7*/ "", "", "", "", "", "", "", "",
+ /*K0-K7*/ "", "", "", "", "", "", "", "",
+ /*L0-L7*/ "", "", "", "", "", "", "", "",
+ /*M0-M7*/ "PCIE_EP_RST_EN-O", "BMC_FRU_WP-O", "FPGA_RST_L-O", "STBY_POWER_EN-O", + "STBY_POWER_PG-I", "PCIE_EP_RST_L-O", "", "", + /*N0-N7*/ "", "", "", "", "", "", "", "",
+ /*O0-O7*/ "", "", "", "", "", "", "", "",
+ /*P0-P7*/ "", "", "", "", "", "", "", "",
+ /*Q0-Q7*/ "", "", "", "", "", "", "", "",
+ /*R0-R7*/ "", "", "", "", "", "", "", "",
+ /*S0-S7*/ "", "", "", "", "", "", "", "",
+ /*T0-T7*/ "", "", "", "", "", "", "", "",
+ /*U0-U7*/ "", "", "", "", "", "", "", "",
+ /*V0-V7*/ "AP_EROT_REQ-O", "EROT_AP_GNT-I", "", "","PCB_TEMP_ALERT-I", "","", "", + /*W0-W7*/ "", "", "", "", "", "", "", "",
+ /*X0-X7*/ "", "", "TPM_MUX_SEL-O", "", "", "", "", "",
+ /*Y0-Y7*/ "", "", "", "EMMC_RST-O", "","", "", "",
+ /*Z0-Z7*/ "BMC_READY-O","", "", "", "", "", "", "";arch/arm/boot/dts/aspeed/Makefile +3
-0+}; + +&gpio1 {
arch/arm/boot/dts/aspeed/Makefile
Quoted 10 lines
arch/arm/boot/dts/aspeed/Makefile +10
-0+ /* 36 1.8V GPIOs */ + gpio-line-names = + /*A0-A7*/ "", "", "", "", "", "", "", "", + /*B0-B7*/ "", "", "", "", "", "", "IO_EXPANDER_INT_L-I","", + /*C0-C7*/ "", "", "", "", "", "", "", "", + /*D0-D7*/ "", "", "", "", "", "", "SPI_HOST_TPM_RST_L-O", "SPI_BMC_FPGA_INT_L-I", + /*E0-E7*/ "", "", "", "", "", "", "", ""; +}; + +&sgpiom0 {
So the style guide asks the referenced nodes to be ordered either alphabetically, or in DTSI order[1] (which should be unit-address order).
[1]: https://docs.kernel.org/devicetree/bindings/dts-coding-style.html#order-of-nodes
What we have to the quoted section above isn't in alphabetical order. To this point it was DTSI order, but that breaks here too.
My preference is that nodes in the DTS referencing the DTSI are alphabetical (as we can't see the unit address for ordering). Can you please fix it?
You mention in your cover letter that ordering was addressed in v3 - did we lose that along the way?
*snip*
Quoted 2 lines
+
+&uart_routing { };
Drop this?
Cheers,
Andrew
Re: [PATCH v8 2/2] ARM: dts: aspeed: Add NVIDIA GB200 UT3.0b board
Quoted 93 lines · Andrew Jeffery
External email: Use caution opening links or attachments
Hi Donald,
Sorry for the delay.
arch/arm/boot/dts/aspeed/Makefile
Quoted 22 lines · Donald Shannon
This is an Aspeed AST2600 based unit testing platform for GB200. UT3.0b is different than nvidia-gb200nvl-bmc due to networking topology differences, additional gpio expanders, and voltage regulator gating some devices.
Reference to Ast2600 SOC [1].
Reference to Blackwell GB200NVL Platform [2].Signed-off-by Donald Shannon <[email protected]>--- arch/arm/boot/dts/aspeed/Makefile | 1 + .../aspeed/aspeed-bmc-nvidia-gb200-ut30b.dts | 1030 +++++++++++++++++ 2 files changed, 1031 insertions(+)create mode 100644
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-gb200-ut30b.dtsarch/arm/boot/dts/aspeed/Makefile +0
-0*snip*
Quoted 33 lines
+&gpio0 {
arch/arm/boot/dts/aspeed/Makefile +32
-0+ gpio-line-names = + /*A0-A7*/ "", "", "", "", "", "", "", "", + /*B0-B7*/ "", "", "", "", "", "", "", "", + /*C0-C7*/ "SGPIO_I2C_MUX_SEL-O", "", "", "", "", "", "", "", + /*D0-D7*/ "", "", "", "UART1_MUX_SEL-O", "", "FPGA_PEX_RST_L-O", "", "", + /*E0-E7*/ "RTL8221_PHY_RST_L-O", "RTL8211_PHY_INT_L-I", "", "UART3_MUX_SEL-O", + "", "", "", "SGPIO_BMC_EN-O", + /*F0-F7*/ "", "", "", "", "", "", "", "", + /*G0-G7*/ "", "", "", "", "", "", "", "", + /*H0-H7*/ "", "", "", "", "", "", "", "", + /*I0-I7*/ "", "", "", "", "", "QSPI2_RST_L-O", "GLOBAL_WP_BMC-O", "BMC_DDR4_TEN-O", + /*J0-J7*/ "", "", "", "", "", "", "", "", + /*K0-K7*/ "", "", "", "", "", "", "", "", + /*L0-L7*/ "", "", "", "", "", "", "", "", + /*M0-M7*/ "PCIE_EP_RST_EN-O", "BMC_FRU_WP-O", "FPGA_RST_L-O", "STBY_POWER_EN-O", + "STBY_POWER_PG-I", "PCIE_EP_RST_L-O", "", "", + /*N0-N7*/ "", "", "", "", "", "", "", "", + /*O0-O7*/ "", "", "", "", "", "", "", "", + /*P0-P7*/ "", "", "", "", "", "", "", "", + /*Q0-Q7*/ "", "", "", "", "", "", "", "", + /*R0-R7*/ "", "", "", "", "", "", "", "", + /*S0-S7*/ "", "", "", "", "", "", "", "", + /*T0-T7*/ "", "", "", "", "", "", "", "", + /*U0-U7*/ "", "", "", "", "", "", "", "", + /*V0-V7*/ "AP_EROT_REQ-O", "EROT_AP_GNT-I", "", "","PCB_TEMP_ALERT-I", "","", "", + /*W0-W7*/ "", "", "", "", "", "", "", "", + /*X0-X7*/ "", "", "TPM_MUX_SEL-O", "", "", "", "", "", + /*Y0-Y7*/ "", "", "", "EMMC_RST-O", "","", "", "", + /*Z0-Z7*/ "BMC_READY-O","", "", "", "", "", "", ""; +}; + +&gpio1 {arch/arm/boot/dts/aspeed/Makefile
Quoted 10 lines
arch/arm/boot/dts/aspeed/Makefile +10
-0+ /* 36 1.8V GPIOs */ + gpio-line-names = + /*A0-A7*/ "", "", "", "", "", "", "", "", + /*B0-B7*/ "", "", "", "", "", "", "IO_EXPANDER_INT_L-I","", + /*C0-C7*/ "", "", "", "", "", "", "", "", + /*D0-D7*/ "", "", "", "", "", "", "SPI_HOST_TPM_RST_L-O", "SPI_BMC_FPGA_INT_L-I", + /*E0-E7*/ "", "", "", "", "", "", "", ""; +}; + +&sgpiom0 {So the style guide asks the referenced nodes to be ordered either alphabetically, or in DTSI order[1] (which should be unit-address order).
[1]: https://docs.kernel.org/devicetree/bindings/dts-coding-style.html#order-of-nodes
What we have to the quoted section above isn't in alphabetical order. To this point it was DTSI order, but that breaks here too.
My preference is that nodes in the DTS referencing the DTSI are alphabetical (as we can't see the unit address for ordering). Can you please fix it?
You mention in your cover letter that ordering was addressed in v3 - did we lose that along the way?
*snip*
Quoted 7 lines
Quoted 2 lines
+
+&uart_routing { };Drop this?
Cheers,
Andrew
Hi Andrew,
Thank you. I will switch to alphabetical order and remove uart_routing.
Thanks,
Don