ARM: dts: aspeed: Add NVIDIA MGX Vera C2 BMC support
Subsystems (2)
v4 cover ARM: dts: aspeed: Add NVIDIA MGX Vera C2 BMC support
NVIDIA MGX Vera C2 is a dual-socket, air-cooled 2U server reference platform based on NVIDIA Vera CPUs. It provides a reference design for partners to build and customize Vera-based servers using the MGX modular architecture.
This series adds the board compatible and device tree for the platform's AST2600 BMC.
Changes in v4:
- Remove line names for GPIOs unused on the production board.
Changes in v3:
- Describe the platform's purpose and link to the MGX and Vera CPU pages.
- Drop the misleading RGMII delay comment.
- Update the write-protect GPIO name.
Changes in v2:
- Add Krzysztof Kozlowski's Acked-by to the board compatible patch.
- Use stdout-path for the console and baud rate.
- Use generic node names and fix gpio-line-names indentation.
v3: https://lore.kernel.org/all/[email protected]/
v2: https://lore.kernel.org/all/[email protected]/
v1: https://lore.kernel.org/all/[email protected]/
Jacky Huang (2):
dt-bindings: arm: aspeed: Add NVIDIA MGX Vera C2 BMC
ARM: dts: aspeed: Add NVIDIA MGX Vera C2 BMC
.../bindings/arm/aspeed/aspeed.yaml | 1 + arch/arm/boot/dts/aspeed/Makefile | 1 + .../aspeed/aspeed-bmc-nvidia-vr-c2-bmc.dts | 1266 +++++++++++++++++ 3 files changed, 1268 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr-c2-bmc.dts
base-commit: ba3f2c447203166c640e40dc8e9b4b91fc613aa5
Signature · 1 line
2.43.0
PATCH v4 1/2 dt-bindings: arm: aspeed: Add NVIDIA MGX Vera C2 BMC
Add the board compatible for the NVIDIA MGX Vera C2 BMC, which is based on the ASPEED AST2600 SoC.
---
Changes in v4: None.
Changes in v3: None.
Changes in v2:
- Add Krzysztof Kozlowski's Acked-by.
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
@@ -115,6 +115,7 @@ properties: - jabil,rbp-bmc - nvidia,gb200nvl-bmc - nvidia,msx4-bmc + - nvidia,vr-c2-bmc - qcom,dc-scm-v1-bmc - quanta,s6q-bmc - ufispace,ncplite-bmc
Signature · 1 line
2.43.0
PATCH v4 2/2 ARM: dts: aspeed: Add NVIDIA MGX Vera C2 BMC
In reply to Jacky HuangNVIDIA MGX Vera C2 is a dual-socket, air-cooled 2U server reference platform based on NVIDIA Vera CPUs. It provides a reference design for partners to build and customize Vera-based servers using the MGX modular architecture.
Add the device tree for the platform's ASPEED AST2600 BMC.
---
Changes in v4:
- Remove line names for GPIOs unused on the production board.
Changes in v3:
- Describe the platform's purpose and link to the MGX and Vera CPU pages.
- Drop the misleading RGMII delay comment.
- Update the write-protect GPIO name.
Changes in v2:
- Specify the console and baud rate in stdout-path and drop bootargs.
- Use generic GPIO expander, fan controller and regulator node names.
- Fix gpio-line-names indentation and GPIO bank comment formatting.
arch/arm/boot/dts/aspeed/Makefile | 1 + .../aspeed/aspeed-bmc-nvidia-vr-c2-bmc.dts | 1266 +++++++++++++++++ 2 files changed, 1267 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr-c2-bmc.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
@@ -66,6 +66,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-microsoft-olympus.dtb \ aspeed-bmc-nvidia-gb200nvl-bmc.dtb \ aspeed-bmc-nvidia-msx4-bmc.dtb \ + aspeed-bmc-nvidia-vr-c2-bmc.dtb \ aspeed-bmc-opp-lanyang.dtb \ aspeed-bmc-opp-mowgli.dtb \ aspeed-bmc-opp-nicole.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr-c2-bmc.dts new file +1266 -0
1,266 lines not on this page · raw message
Signature · 1 line
2.43.0
[email protected]
AI reviewRe: [PATCH v4 2/2] ARM: dts: aspeed: Add NVIDIA MGX Vera C2 BMC
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [High] ARM: dts: aspeed: address 0x20 collision across i2c4 sibling pca9548 muxes --
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [High] ARM: dts: aspeed: address 0x20 collision across i2c4 sibling pca9548 muxes
--
commit 6911a14b6d0cba62b8d23c81ced73b37efb2136f
Author: Jacky Huang <[email protected]>
ARM: dts: aspeed: Add NVIDIA MGX Vera C2 BMC
This commit adds the device tree for the ASPEED AST2600 BMC on the NVIDIA MGX Vera C2 server reference platform.
Quoted 5 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr-c2-bmc.dts new file +0
-0
[ ... ]
Quoted 17 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr-c2-bmc.dts new file +17
-0+/* MCIO expansion muxes */ +&i2c4 { + multi-master; + + status = "okay"; + + mctp@18 { + compatible = "mctp-i2c-controller"; + reg = <(0x18 | I2C_OWN_SLAVE_ADDRESS)>; + }; + + i2c-mux@70 { + compatible = "nxp,pca9548"; + reg = <0x70>; + #address-cells = <1>; + #size-cells = <0>; + vdd-supply = <&standby_power_regulator>;
[ ... ]
Quoted 6 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr-c2-bmc.dts new file +6
-0+ i2c-mux@71 { + compatible = "nxp,pca9548"; + reg = <0x71>; + #address-cells = <1>; + #size-cells = <0>; + vdd-supply = <&standby_power_regulator>;
[ ... ]
Quoted 6 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr-c2-bmc.dts new file +6
-0+ i2c-mux@75 { + compatible = "nxp,pca9548"; + reg = <0x75>; + #address-cells = <1>; + #size-cells = <0>; + vdd-supply = <&standby_power_regulator>;
[ ... ]
Quoted 38 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr-c2-bmc.dts new file +38
-0+/* GPU0 GPIO expander */ +&i2c_mcio_c0_south2 { + /* GPU 0, Expander @0x20 */ + gpio@20 { + compatible = "nxp,pca6408"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + vcc-supply = <&standby_power_regulator>; + gpio-line-names = + "GPU0_GLOBAL_WP-O", + "GPU0_OOB_RST_N-O", + "GPU0_OOB_RECOVERY-O", + "GPU0_MCU_RECOVERY_N-O", + "GPU0_MCU_RST_N-O", + "GPU0_MCU_BYPASS_N-O", + "GPU0_SMBUS_FRU_EEPROM_WP-O", + ""; + }; +}; + +/* E1.S backplane GPIO expander (C2) */ +&i2c_mcio_c0c1_north6 { + /* E1S Backplane, Expander @0x20 */ + gpio@20 { + compatible = "nxp,pca6408"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + vcc-supply = <&standby_power_regulator>; + gpio-line-names = + "E1S_MCU_RESET_L-O", + "E1S_MCU_RECOVERY_L-O", + "", + "", + "", + "", + "E1S_LOWER_PERST-O",
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr-c2-bmc.dts line 1192
Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-vr-c2-bmc.dts new file +10
-0+ "E1S_UPPER_PERST-O"; + }; +}; + +/* GPU1 GPIO expander (C2) */ +&i2c_mcio_c1_south0 { + /* GPU 1, Expander @0x20 */ + gpio@20 { + compatible = "nxp,pca6408"; + reg = <0x20>;
[Severity: High]
Will the three pca6408 expanders at 0x20 collide on i2c4 because i2c-mux@70, i2c-mux@71 and i2c-mux@75 lack i2c-mux-idle-disconnect?
Without i2c-mux-idle-disconnect, pca954x leaves each switch's last selected channel connected after a transfer, and selecting a channel on one switch does not deselect the sibling switches on i2c4. Once the three gpio@20 expanders on i2c_mcio_c0_south2, i2c_mcio_c0c1_north6 and i2c_mcio_c1_south0 have been accessed, all three remain bridged onto i2c4 at address 0x20 simultaneously, causing bus contention and making writes to one expander drive the other two as well.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
Re: [PATCH v4 2/2] ARM: dts: aspeed: Add NVIDIA MGX Vera C2 BMC
Quoted 2 lines
Will the three pca6408 expanders at
0x20collide on i2c4 because i2c-mux@70, i2c-mux@71 and i2c-mux@75 lack i2c-mux-idle-disconnect?
The muxes on i2c4 intentionally don't use i2c-mux-idle-disconnect. Each of them carries MCTP-over-I2C channels, and MCTP endpoints send their responses back to the BMC as separate transfers through the selected channel. With idle-disconnect the channel is closed right after the request, so responses can get lost. So I'd like to keep them as is.
Jacky