Skip to contentSkip to conversation

ARM: dts: aspeed: Add ASRock Rack B650D4U support

PATCH Superseded Prasanth Kumar Padarthi 2 participants 4 messages May 12

Subsystems (2)

v1 of 10 Superseded Latest is v10 →

lore
Share & tools
lore
#0 lore raw

cover ARM: dts: aspeed: Add ASRock Rack B650D4U support

This series adds initial device tree support for the ASRock Rack B650D4U BMC, which is based on the ASPEED AST2600 SoC.

The B650D4U is a server motherboard for AMD Ryzen processors. Hardware details were extracted via reverse engineering of vendor firmware.

Hardware features included:
- UART5 Console
- MAC0 (RGMII) for dedicated management LAN
- I2C7 for FRU EEPROM
- FMC/SPI 64MB Flash layout

Validation:
Logic has been verified against the AST2600 v1.5 datasheet. The DTS successfully compiles and was tested using QEMU (ast2600-evb) to verify serial console output and board identification.

QEMU Boot Log Snippet:
---

[    0.000000] OF: fdt: Machine model: ASRock Rack B650D4U BMC
[    1.085143] 1e784000.serial: ttyS4 at MMIO 0x1e784000 (irq = 31) is a 16550A
[    1.090566] printk: legacy console [ttyS4] enabled

---

Full logs and reverse-engineering data are maintained at:
https://github.com/prasanthp20/asrock-b650d4u-bmc-support/blob/main/qemu-boot.log

Prasanth Kumar Padarthi (2):
dt-bindings: arm: aspeed: Add ASRock Rack B650D4U
ARM: dts: aspeed: Add ASRock Rack B650D4U BMC

 .../bindings/arm/aspeed/aspeed.yaml           |  1 +
 arch/arm/boot/dts/aspeed/Makefile             |  1 +
 .../dts/aspeed/aspeed-bmc-asrock-b650d4u.dts  | 61 +++++++++++++++++++
 3 files changed, 63 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-b650d4u.dts
Signature · 1 line
2.47.3
#1 lore raw

PATCH 1/2 dt-bindings: arm: aspeed: Add ASRock Rack B650D4U

Add the compatible string for the ASRock Rack B650D4U BMC, which is an AST2600-based server motherboard.

---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
index 2f92b8ab0..656397850 100644
@@ -77,6 +77,7 @@ properties:
               - ampere,mtmitchell-bmc
               - aspeed,ast2600-evb
               - aspeed,ast2600-evb-a1
+              - asrock,b650d4u-bmc
               - asus,x4tf-bmc
               - facebook,bletchley-bmc
               - facebook,catalina-bmc
Signature · 1 line
2.47.3
#2 lore raw

PATCH 2/2 ARM: dts: aspeed: Add ASRock Rack B650D4U BMC

In reply to Prasanth Kumar Padarthi

Add initial device tree support for the ASRock Rack B650D4U BMC. The B650D4U is a server motherboard utilizing the ASPEED AST2600 SoC for management.

---
 arch/arm/boot/dts/aspeed/Makefile             |  1 +
 .../dts/aspeed/aspeed-bmc-asrock-b650d4u.dts  | 61 +++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-b650d4u.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
index c4f064e4b..124d4f8f8 100644
@@ -13,6 +13,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	aspeed-bmc-asrock-romed8hm3.dtb \
 	aspeed-bmc-asrock-spc621d8hm3.dtb \
 	aspeed-bmc-asrock-x570d4u.dtb \
+	aspeed-bmc-asrock-b650d4u.dtb \
 	aspeed-bmc-asus-x4tf.dtb \
 	aspeed-bmc-bytedance-g220a.dtb \
 	aspeed-bmc-delta-ahe50dc.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-b650d4u.dts new file +61 -0

61 lines not on this page · raw message

Signature · 1 line
2.47.3
#3 lore raw

Re: [PATCH 2/2] ARM: dts: aspeed: Add ASRock Rack B650D4U BMC

arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-b650d4u.dts line 44

Quoted 5 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-b650d4u.dts new file +5 -0
+/* Dedicated Management LAN */
+&mac0 {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;

What does this connect to? A PHY? NCSI?

Andrew