Skip to contentSkip to conversation

Add NVIDIA VR144NVL board

PATCH Superseded Donald Shannon 3 participants 8 messages Aug 22, 2025 – Sep 15, 2025

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Add NVIDIA VR144NVL board

Patch 1 adds the device tree binding for the NVIDIA VR144NVL board. Patch 2 adds the device tree for the NVIDIA VR144NVL board.

This is an Aspeed AST2600 based BMC board for the NVIDIA VR144NVL platform BMC.

Reference to Ast2600 SOC [1].
Reference to DC-SCM Spec [2].

Donald Shannon (2):
dt-bindings: arm: aspeed: Add NVIDIA VR144NVL board
ARM: dts: aspeed: Add NVIDIA VR144NVL board

 .../bindings/arm/aspeed/aspeed.yaml           |   1 +
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts | 779 ++++++++++++++++++
 3 files changed, 781 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts
Signature · 1 line
2.43.0
#1 lore raw

PATCH v2 1/2 dt-bindings: arm: aspeed: Add NVIDIA VR144NVL board

This is an Aspeed AST2600 based BMC board for the NVIDIA VR144NVL platform.

Reference to Ast2600 SOC [1].
Reference to DC-SCM Spec [2].

---
Changes v1 -> v2:
- Received Acked-by from Conor Dooley

---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
index b3c9d3310d57..11e17e9ef15f 100644
@@ -103,6 +103,7 @@ properties:
               - inventec,transformer-bmc
               - jabil,rbp-bmc
               - nvidia,gb200nvl-bmc
+              - nvidia,vr144nvl-bmc
               - qcom,dc-scm-v1-bmc
               - quanta,s6q-bmc
               - ufispace,ncplite-bmc
Signature · 1 line
2.43.0
#2 lore raw

PATCH v2 2/2 ARM: dts: aspeed: Add NVIDIA VR144NVL board

In reply to Donald Shannon

This is an Aspeed AST2600 based BMC board for the NVIDIA VR144NVL Platform.

Reference to Ast2600 SOC [1].
Reference to DC-SCM Spec [2].

---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts | 779 ++++++++++++++++++
 2 files changed, 780 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
index 8062c685f7e8..b479824c434b 100644
@@ -55,6 +55,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	aspeed-bmc-lenovo-hr855xg2.dtb \
 	aspeed-bmc-microsoft-olympus.dtb \
 	aspeed-bmc-nvidia-gb200nvl-bmc.dtb \
+	aspeed-bmc-nvidia-vr144nvl.dtb \
 	aspeed-bmc-opp-lanyang.dtb \
 	aspeed-bmc-opp-mowgli.dtb \
 	aspeed-bmc-opp-nicole.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +779 -0

779 lines not on this page · raw message

Signature · 1 line
2.43.0
maintainer
#3 lore raw

Re: [PATCH v2 2/2] ARM: dts: aspeed: Add NVIDIA VR144NVL board

Hi Donald,

Quoted 117 lines · Donald Shannon

This is an Aspeed AST2600 based BMC board for the NVIDIA VR144NVL Platform.

Reference to Ast2600 SOC [1].
Reference to DC-SCM Spec [2].

---
 arch/arm/boot/dts/aspeed/Makefile             |   1 + .../dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts | 779 ++++++++++++++++++

 2 files changed, 780 insertions(+)

 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts

arch/arm/boot/dts/aspeed/Makefile +1 -0
index 8062c685f7e8..b479824c434b 100644
@@ -55,6 +55,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
         aspeed-bmc-lenovo-hr855xg2.dtb \
         aspeed-bmc-microsoft-olympus.dtb \
         aspeed-bmc-nvidia-gb200nvl-bmc.dtb \
+       aspeed-bmc-nvidia-vr144nvl.dtb \
         aspeed-bmc-opp-lanyang.dtb \
         aspeed-bmc-opp-mowgli.dtb \
         aspeed-bmc-opp-nicole.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +83 -0
new file mode 100644
index 000000000000..5984984b5109
@@ -0,0 +1,779 @@
+// SPDX-License-Identifier: GPL-2.0+
+/dts-v1/;
+
+#include "aspeed-g6.dtsi"
+#include <dt-bindings/gpio/aspeed-gpio.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
+
+/ {
+       model = "AST2600 VR144NVL BMC";
+       compatible = "nvidia,vr144nvl-bmc", "aspeed,ast2600";
+
+       aliases {
+               serial2 = &uart3;
+               serial4 = &uart5;
+               i2c16 = &c0uphy0;
+               i2c17 = &c0uphy2;
+               i2c24 = &c1uphy0;
+               i2c25 = &c1uphy2;
+               i2c32 = &i2c_usb_hub;
+               i2c33 = &i2c_tpm;
+               i2c34 = &i2c_dp;
+               i2c35 = &i2c_rtc;
+       };
+
+       buttons {
+               compatible = "gpio-keys";
+               button-power {
+                       label = "power_btn";
+                       linux,code = <KEY_POWER>;
+                       gpios = <&exp7 9 GPIO_ACTIVE_LOW>;
+               };
+               button-uid {
+                       label = "uid_btn";
+                       linux,code = <KEY_FN_1>;
+                       gpios = <&exp7 11 GPIO_ACTIVE_LOW>;
+               };
+       };
+
+       chosen {
+               stdout-path = &uart5;
+       };
+
+       leds {
+               compatible = "gpio-leds";
+               hb-led {
+                       gpios = <&gpio0 127 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_HEARTBEAT;
+                       color = <LED_COLOR_ID_GREEN>;
+                       label = "bmc-hbled";
+                       linux,default-trigger = "heartbeat";
+                       default-state = "on";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+               };
+               pwr-led {
+                       gpios = <&exp7 8 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_WHITE>;
+                       label = "pwr-led";
+                       linux,default-trigger = "default-on";
+                       default-state = "on";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+               };
+               uid-led {
+                       gpios = <&exp7 10 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_INDICATOR;
+                       color = <LED_COLOR_ID_BLUE>;
+                       label = "uid-led";
+                       default-state = "off";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+               };
+               fault-led {
+                       gpios = <&exp7 12 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_PANIC;
+                       color = <LED_COLOR_ID_WHITE>;
+                       label = "fault-led";
+                       default-state = "off";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+                       panic-indicator;

arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts line 93

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +10 -0
+               };
+               warn-led {
+                       gpios = <&exp7 15 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_PANIC;
+                       color = <LED_COLOR_ID_RED>;
+                       label = "warn-led";
+                       default-state = "off";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+               };

To be consistent with my request on your other devicetree series, can you please order nodes that either have no unit address or reference a label alphabetically, in line with the DTS style guide?

Quoted 71 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +71 -0
+       };
+
+       memory@80000000 {
+               device_type = "memory";
+               reg = <0x80000000 0x80000000>;
+       };
+
+       reg_3v3_stby: regulator-3v3-standby {
+               compatible = "regulator-fixed";
+               regulator-name = "3v3-standby";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               gpio = <&gpio0 ASPEED_GPIO(M, 3) GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               regulator-always-on;
+       };
+
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               vga_memory: framebuffer@9f000000 {
+                       no-map;
+                       reg = <0x9f000000 0x01000000>; /* 16M */
+               };
+
+               ramoops@a0000000 {
+                       compatible = "ramoops";
+                       reg = <0xa0000000 0x100000>; /* 1MB */
+                       record-size = <0x10000>; /* 64KB */
+                       max-reason = <2>; /* KMSG_DUMP_OOPS */
+               };
+
+               gfx_memory: framebuffer {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x01000000>;
+                       alignment = <0x01000000>;
+               };
+
+               video_engine_memory: jpegbuffer {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x02000000>;    /* 32M */
+                       alignment = <0x01000000>;
+               };
+       };
+};
+
+// Enable Primary flash on FMC for bring up activity
+&fmc {
+       status = "okay";
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               label = "bmc";
+               spi-max-frequency = <50000000>;
+               status = "okay";
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       u-boot@0 {
+                               // 896KB
+                               reg = <0x0 0xe0000>;
+                               label = "u-boot";
+                       };
+
+                       kernel@100000 {
+                               // 9MB

arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts line 174

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +10 -0
+                               reg = <0x100000 0x900000>;
+                               label = "kernel";
+                       };
+
+                       rofs@a00000 {
+                               // 55292KB (extends to end of 64MB SPI - 4KB)
+                               reg = <0xa00000 0x35FF000>;
+                               label = "rofs";
+                       };
+               };

This isn't using one of the usual OpenBMC flash layouts? Can you add a comment as to why?

Quoted 40 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +40 -0
+       };
+};
+
+&spi2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_spi2_default>;
+       status = "okay";
+       // Data SPI is 64MB in size
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               label = "config";
+               spi-max-frequency = <50000000>;
+               status = "okay";
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       u-boot-env@0 {
+                               // 256KB
+                               reg = <0x0 0x40000>;
+                               label = "u-boot-env";
+                       };
+
+                       rwfs@40000 {
+                               // 16MB
+                               reg = <0x40000 0x1000000>;
+                               label = "rwfs";
+                       };
+
+                       log@1040000 {
+                               // 40MB
+                               reg = <0x1040000 0x2800000>;
+                               label = "log";
+                       };
+               };
+       };
+};
+
+&mdio0 {

arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts line 224

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +10 -0
+       status = "okay";
+       ethphy0: ethernet-phy@0 {
+               compatible = "ethernet-phy-ieee802.3-c22";
+               reg = <0>;
+       };
+};
+
+&mac0 {
+       pinctrl-names = "default";
+       phy-mode = "rgmii-id";

Is this correct, in the context of the query here?

https://lore.kernel.org/all/[email protected]/

If not, please drop the node from the patch until the MAC driver is fixed with respect to the RGMII delays.

Andrew

#4 lore raw

Re: [PATCH v2 2/2] ARM: dts: aspeed: Add NVIDIA VR144NVL board

Quoted 270 lines · Andrew Jeffery

Hi Donald,

Quoted 117 lines · Donald Shannon

This is an Aspeed AST2600 based BMC board for the NVIDIA VR144NVL Platform.

Reference to Ast2600 SOC [1].
Reference to DC-SCM Spec [2].

---
  arch/arm/boot/dts/aspeed/Makefile             |   1 +
  .../dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts | 779 ++++++++++++++++++
  2 files changed, 780 insertions(+)

create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts

arch/arm/boot/dts/aspeed/Makefile +1 -0
index 8062c685f7e8..b479824c434b 100644
@@ -55,6 +55,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
         aspeed-bmc-lenovo-hr855xg2.dtb \
         aspeed-bmc-microsoft-olympus.dtb \
         aspeed-bmc-nvidia-gb200nvl-bmc.dtb \
+       aspeed-bmc-nvidia-vr144nvl.dtb \
         aspeed-bmc-opp-lanyang.dtb \
         aspeed-bmc-opp-mowgli.dtb \
         aspeed-bmc-opp-nicole.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +83 -0
new file mode 100644
index 000000000000..5984984b5109
@@ -0,0 +1,779 @@
+// SPDX-License-Identifier: GPL-2.0+
+/dts-v1/;
+
+#include "aspeed-g6.dtsi"
+#include <dt-bindings/gpio/aspeed-gpio.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
+
+/ {
+       model = "AST2600 VR144NVL BMC";
+       compatible = "nvidia,vr144nvl-bmc", "aspeed,ast2600";
+
+       aliases {
+               serial2 = &uart3;
+               serial4 = &uart5;
+               i2c16 = &c0uphy0;
+               i2c17 = &c0uphy2;
+               i2c24 = &c1uphy0;
+               i2c25 = &c1uphy2;
+               i2c32 = &i2c_usb_hub;
+               i2c33 = &i2c_tpm;
+               i2c34 = &i2c_dp;
+               i2c35 = &i2c_rtc;
+       };
+
+       buttons {
+               compatible = "gpio-keys";
+               button-power {
+                       label = "power_btn";
+                       linux,code = <KEY_POWER>;
+                       gpios = <&exp7 9 GPIO_ACTIVE_LOW>;
+               };
+               button-uid {
+                       label = "uid_btn";
+                       linux,code = <KEY_FN_1>;
+                       gpios = <&exp7 11 GPIO_ACTIVE_LOW>;
+               };
+       };
+
+       chosen {
+               stdout-path = &uart5;
+       };
+
+       leds {
+               compatible = "gpio-leds";
+               hb-led {
+                       gpios = <&gpio0 127 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_HEARTBEAT;
+                       color = <LED_COLOR_ID_GREEN>;
+                       label = "bmc-hbled";
+                       linux,default-trigger = "heartbeat";
+                       default-state = "on";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+               };
+               pwr-led {
+                       gpios = <&exp7 8 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_WHITE>;
+                       label = "pwr-led";
+                       linux,default-trigger = "default-on";
+                       default-state = "on";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+               };
+               uid-led {
+                       gpios = <&exp7 10 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_INDICATOR;
+                       color = <LED_COLOR_ID_BLUE>;
+                       label = "uid-led";
+                       default-state = "off";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+               };
+               fault-led {
+                       gpios = <&exp7 12 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_PANIC;
+                       color = <LED_COLOR_ID_WHITE>;
+                       label = "fault-led";
+                       default-state = "off";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+                       panic-indicator;

arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts line 93

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +10 -0
+               };
+               warn-led {
+                       gpios = <&exp7 15 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_PANIC;
+                       color = <LED_COLOR_ID_RED>;
+                       label = "warn-led";
+                       default-state = "off";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+               };

To be consistent with my request on your other devicetree series, can you please order nodes that either have no unit address or reference a label alphabetically, in line with the DTS style guide?

Quoted 71 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +71 -0
+       };
+
+       memory@80000000 {
+               device_type = "memory";
+               reg = <0x80000000 0x80000000>;
+       };
+
+       reg_3v3_stby: regulator-3v3-standby {
+               compatible = "regulator-fixed";
+               regulator-name = "3v3-standby";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               gpio = <&gpio0 ASPEED_GPIO(M, 3) GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               regulator-always-on;
+       };
+
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               vga_memory: framebuffer@9f000000 {
+                       no-map;
+                       reg = <0x9f000000 0x01000000>; /* 16M */
+               };
+
+               ramoops@a0000000 {
+                       compatible = "ramoops";
+                       reg = <0xa0000000 0x100000>; /* 1MB */
+                       record-size = <0x10000>; /* 64KB */
+                       max-reason = <2>; /* KMSG_DUMP_OOPS */
+               };
+
+               gfx_memory: framebuffer {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x01000000>;
+                       alignment = <0x01000000>;
+               };
+
+               video_engine_memory: jpegbuffer {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x02000000>;    /* 32M */
+                       alignment = <0x01000000>;
+               };
+       };
+};
+
+// Enable Primary flash on FMC for bring up activity
+&fmc {
+       status = "okay";
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               label = "bmc";
+               spi-max-frequency = <50000000>;
+               status = "okay";
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       u-boot@0 {
+                               // 896KB
+                               reg = <0x0 0xe0000>;
+                               label = "u-boot";
+                       };
+
+                       kernel@100000 {
+                               // 9MB

arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts line 174

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +10 -0
+                               reg = <0x100000 0x900000>;
+                               label = "kernel";
+                       };
+
+                       rofs@a00000 {
+                               // 55292KB (extends to end of 64MB SPI - 4KB)
+                               reg = <0xa00000 0x35FF000>;
+                               label = "rofs";
+                       };
+               };

This isn't using one of the usual OpenBMC flash layouts? Can you add a comment as to why?

Quoted 40 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +40 -0
+       };
+};
+
+&spi2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_spi2_default>;
+       status = "okay";
+       // Data SPI is 64MB in size
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               label = "config";
+               spi-max-frequency = <50000000>;
+               status = "okay";
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       u-boot-env@0 {
+                               // 256KB
+                               reg = <0x0 0x40000>;
+                               label = "u-boot-env";
+                       };
+
+                       rwfs@40000 {
+                               // 16MB
+                               reg = <0x40000 0x1000000>;
+                               label = "rwfs";
+                       };
+
+                       log@1040000 {
+                               // 40MB
+                               reg = <0x1040000 0x2800000>;
+                               label = "log";
+                       };
+               };
+       };
+};
+
+&mdio0 {

arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts line 224

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +10 -0
+       status = "okay";
+       ethphy0: ethernet-phy@0 {
+               compatible = "ethernet-phy-ieee802.3-c22";
+               reg = <0>;
+       };
+};
+
+&mac0 {
+       pinctrl-names = "default";
+       phy-mode = "rgmii-id";

Is this correct, in the context of the query here?

Quoted 6 lines

https://lore.kernel.org/all/[email protected]/

If not, please drop the node from the patch until the MAC driver is fixed with respect to the RGMII delays.

Andrew

Hi Andrew,

I will change this to alphabetical order.

The extra space in our flash is for root of trust application. I will note this in the next patch.

I see that the ftgmac100 drivers do not use the phy-mode parameter so I will leave it out.

Thanks,
Don

#5 lore raw

Re: [PATCH v2 2/2] ARM: dts: aspeed: Add NVIDIA VR144NVL board

Quoted 281 lines · Donald Shannon
Quoted 270 lines · Andrew Jeffery

Hi Donald,

Quoted 117 lines · Donald Shannon

This is an Aspeed AST2600 based BMC board for the NVIDIA VR144NVL Platform.

Reference to Ast2600 SOC [1].
Reference to DC-SCM Spec [2].

---
  arch/arm/boot/dts/aspeed/Makefile             |   1 +
  .../dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts | 779 ++++++++++++++++++
  2 files changed, 780 insertions(+)

create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts

arch/arm/boot/dts/aspeed/Makefile +1 -0
index 8062c685f7e8..b479824c434b 100644
@@ -55,6 +55,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
         aspeed-bmc-lenovo-hr855xg2.dtb \
         aspeed-bmc-microsoft-olympus.dtb \
         aspeed-bmc-nvidia-gb200nvl-bmc.dtb \
+       aspeed-bmc-nvidia-vr144nvl.dtb \
         aspeed-bmc-opp-lanyang.dtb \
         aspeed-bmc-opp-mowgli.dtb \
         aspeed-bmc-opp-nicole.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +83 -0
new file mode 100644
index 000000000000..5984984b5109
@@ -0,0 +1,779 @@
+// SPDX-License-Identifier: GPL-2.0+
+/dts-v1/;
+
+#include "aspeed-g6.dtsi"
+#include <dt-bindings/gpio/aspeed-gpio.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
+
+/ {
+       model = "AST2600 VR144NVL BMC";
+       compatible = "nvidia,vr144nvl-bmc", "aspeed,ast2600";
+
+       aliases {
+               serial2 = &uart3;
+               serial4 = &uart5;
+               i2c16 = &c0uphy0;
+               i2c17 = &c0uphy2;
+               i2c24 = &c1uphy0;
+               i2c25 = &c1uphy2;
+               i2c32 = &i2c_usb_hub;
+               i2c33 = &i2c_tpm;
+               i2c34 = &i2c_dp;
+               i2c35 = &i2c_rtc;
+       };
+
+       buttons {
+               compatible = "gpio-keys";
+               button-power {
+                       label = "power_btn";
+                       linux,code = <KEY_POWER>;
+                       gpios = <&exp7 9 GPIO_ACTIVE_LOW>;
+               };
+               button-uid {
+                       label = "uid_btn";
+                       linux,code = <KEY_FN_1>;
+                       gpios = <&exp7 11 GPIO_ACTIVE_LOW>;
+               };
+       };
+
+       chosen {
+               stdout-path = &uart5;
+       };
+
+       leds {
+               compatible = "gpio-leds";
+               hb-led {
+                       gpios = <&gpio0 127 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_HEARTBEAT;
+                       color = <LED_COLOR_ID_GREEN>;
+                       label = "bmc-hbled";
+                       linux,default-trigger = "heartbeat";
+                       default-state = "on";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+               };
+               pwr-led {
+                       gpios = <&exp7 8 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_WHITE>;
+                       label = "pwr-led";
+                       linux,default-trigger = "default-on";
+                       default-state = "on";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+               };
+               uid-led {
+                       gpios = <&exp7 10 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_INDICATOR;
+                       color = <LED_COLOR_ID_BLUE>;
+                       label = "uid-led";
+                       default-state = "off";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+               };
+               fault-led {
+                       gpios = <&exp7 12 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_PANIC;
+                       color = <LED_COLOR_ID_WHITE>;
+                       label = "fault-led";
+                       default-state = "off";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+                       panic-indicator;

arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts line 93

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +10 -0
+               };
+               warn-led {
+                       gpios = <&exp7 15 GPIO_ACTIVE_LOW>;
+                       function = LED_FUNCTION_PANIC;
+                       color = <LED_COLOR_ID_RED>;
+                       label = "warn-led";
+                       default-state = "off";
+                       retain-state-suspended;
+                       retain-state-shutdown;
+               }; 

To be consistent with my request on your other devicetree series, can you please order nodes that either have no unit address or reference a label alphabetically, in line with the DTS style guide?

Quoted 71 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +71 -0
+       };
+
+       memory@80000000 {
+               device_type = "memory";
+               reg = <0x80000000 0x80000000>;
+       };
+
+       reg_3v3_stby: regulator-3v3-standby {
+               compatible = "regulator-fixed";
+               regulator-name = "3v3-standby";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               gpio = <&gpio0 ASPEED_GPIO(M, 3) GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               regulator-always-on;
+       };
+
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               vga_memory: framebuffer@9f000000 {
+                       no-map;
+                       reg = <0x9f000000 0x01000000>; /* 16M */
+               };
+
+               ramoops@a0000000 {
+                       compatible = "ramoops";
+                       reg = <0xa0000000 0x100000>; /* 1MB */
+                       record-size = <0x10000>; /* 64KB */
+                       max-reason = <2>; /* KMSG_DUMP_OOPS */
+               };
+
+               gfx_memory: framebuffer {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x01000000>;
+                       alignment = <0x01000000>;
+               };
+
+               video_engine_memory: jpegbuffer {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x02000000>;    /* 32M */
+                       alignment = <0x01000000>;
+               };
+       };
+};
+
+// Enable Primary flash on FMC for bring up activity
+&fmc {
+       status = "okay";
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               label = "bmc";
+               spi-max-frequency = <50000000>;
+               status = "okay";
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       u-boot@0 {
+                               // 896KB
+                               reg = <0x0 0xe0000>;
+                               label = "u-boot";
+                       };
+
+                       kernel@100000 {
+                               // 9MB

arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts line 174

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +10 -0
+                               reg = <0x100000 0x900000>;
+                               label = "kernel";
+                       };
+
+                       rofs@a00000 {
+                               // 55292KB (extends to end of 64MB SPI - 4KB)
+                               reg = <0xa00000 0x35FF000>;
+                               label = "rofs";
+                       };
+               }; 

This isn't using one of the usual OpenBMC flash layouts? Can you add a comment as to why?

Quoted 40 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +40 -0
+       };
+};
+
+&spi2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_spi2_default>;
+       status = "okay";
+       // Data SPI is 64MB in size
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               label = "config";
+               spi-max-frequency = <50000000>;
+               status = "okay";
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       u-boot-env@0 {
+                               // 256KB
+                               reg = <0x0 0x40000>;
+                               label = "u-boot-env";
+                       };
+
+                       rwfs@40000 {
+                               // 16MB
+                               reg = <0x40000 0x1000000>;
+                               label = "rwfs";
+                       };
+
+                       log@1040000 {
+                               // 40MB
+                               reg = <0x1040000 0x2800000>;
+                               label = "log";
+                       };
+               };
+       };
+};
+
+&mdio0 {

arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts line 224

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +10 -0
+       status = "okay";
+       ethphy0: ethernet-phy@0 {
+               compatible = "ethernet-phy-ieee802.3-c22";
+               reg = <0>;
+       };
+};
+
+&mac0 {
+       pinctrl-names = "default";
+       phy-mode = "rgmii-id"; 

Is this correct, in the context of the query here?

Quoted 6 lines

https://lore.kernel.org/all/[email protected]/

If not, please drop the node from the patch until the MAC driver is fixed with respect to the RGMII delays.

Andrew

Hi Andrew,

Quoted 9 lines

I will change this to alphabetical order.

The extra space in our flash is for root of trust application. I will note this in the next patch.

I see that the ftgmac100 drivers do not use the phy-mode parameter so I will leave it out.

Thanks,
Don

Hi Andrew,

I am getting conflicting messages in my v3 patch series and want to confirm what the consensus is for removing or keeping the unused phy-mode parameter. There is some inconsistency in the existing dts-es as well.

Our board phy implements tx and rx delay, so -id would be the appropriate one to use if we decide to use it.

Should I keep it or remove it?

Thanks,
Don

maintainer
#6 lore raw

Re: [PATCH v2 2/2] ARM: dts: aspeed: Add NVIDIA VR144NVL board

Hi Donald,

Quoted 9 lines · Donald Shannon
Quoted 8 lines · Donald Shannon
Quoted 6 lines · Andrew Jeffery

Hi Donald,

Quoted 3 lines · Donald Shannon

This is an Aspeed AST2600 based BMC board for the NVIDIA VR144NVL Platform.

*snip*

Quoted 29 lines
Quoted 29 lines
Quoted 14 lines

arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts line 224

Quoted 12 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr144nvl.dts new file +12 -0
+
+&mdio0 {
+       status = "okay";
+       ethphy0: ethernet-phy@0 {
+               compatible = "ethernet-phy-ieee802.3-c22";
+               reg = <0>;
+       };
+};
+
+&mac0 {
+       pinctrl-names = "default";
+       phy-mode = "rgmii-id"; 

Is this correct, in the context of the query here?

Quoted 6 lines

https://lore.kernel.org/all/[email protected]/

If not, please drop the node from the patch until the MAC driver is fixed with respect to the RGMII delays.

Andrew

Hi Andrew,

I will change this to alphabetical order.

The extra space in our flash is for root of trust application. I will note this in the next patch.

I see that the ftgmac100 drivers do not use the phy-mode parameter so I will leave it out.

Quoted 9 lines
Quoted 3 lines

Thanks,
Don

Hi Andrew,

I am getting conflicting messages in my v3 patch series and want to confirm what the consensus is for removing or keeping the unused phy-mode parameter.

The background is that there's been some concerns over phy-mode wrt to where the RGMII delays are inserted, and the impact on the phy configuration. My intent was that if you were unsure that you would remove the entire mac node rather than just the phy-mode property. That way there's no networking that can break when ASPEED sort out issues with the ftgmac100 driver. You would have to carry a downstream patch to add the node back for networking, but I feel that's an improvement on carrying the entire devicetree downstream.

However:

Quoted 2 lines

There is some inconsistency in
the existing dts-es as well.

Yes, this is part of the problem.

Quoted 3 lines

Our board phy implements tx and rx delay, so -id would be the appropriate one to use if we decide to use it.

Right, so long as there's no delay configured for the MAC in the SCU (see SCU340-35C) and networking functions for your board then I think it's fine to keep the node and specify phy-mode = "rgmii-id";. Any fixes to the driver shouldn't break that arrangement (as in this configuration it should deconfigure any delays for the MAC in the SCU).

There's some good documentation here:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/ethernet-controller.yaml?h=v6.16#n264

and relevant discussion here:

https://lore.kernel.org/all/[email protected]/

Sorry for the confusion.

Andrew

#7 lore raw

Re: [PATCH v2 2/2] ARM: dts: aspeed: Add NVIDIA VR144NVL board

Quoted 3 lines
Quoted 3 lines

Our board phy implements tx and rx delay, so -id would be the appropriate one to use if we decide to use it.

I'm curious. How do you achieve this? Have you hacked the bootloader?

Quoted 3 lines

Right, so long as there's no delay configured for the MAC in the SCU (see SCU340-35C) and networking functions for your board then I think it's fine to keep the node and specify phy-mode = "rgmii-id";.

Yes, this is how it is supposed to work. But please add a comment to the commit message about how this actually works, e.g. if you have a hacked bootloader, please make that clear, in case somebody wants to run the mainline version on this hardware.

Andrew