Skip to contentSkip to conversation

ARM: dts: aspeed: asrock: Add ASRock X570D4U BMC

PATCH In review Renze Nicolai 2 participants 5 messages Dec 2, 2023 – Dec 6, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v3 cover ARM: dts: aspeed: asrock: Add ASRock X570D4U BMC

Hello,

These patches add a device-tree (and a bindings update) for the Aspeed BMC on the ASRock X570D4U, so that it can be added as a supported OpenBMC platform.

Changes since v2:
- Renamed leds to led-0 and led-1 to match Documentation/devicetree/bindings/leds/leds-gpio.yaml
- Added aliasses and labels for the i2c-mux on i2c bus 4
- Added the missing blank line between the ehci1 and uhci nodes

Greetings,
Renze Nicolai

Renze Nicolai (2):
dt-bindings: arm: aspeed: add Asrock X570D4U board
ARM: dts: aspeed: asrock: Add ASRock X570D4U BMC

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

PATCH v3 1/2 dt-bindings: arm: aspeed: add Asrock X570D4U board

Document Asrock X570D4U compatible.

---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
index 749ee54a3ff8..81ed678905fa 100644
@@ -36,6 +36,7 @@ properties:
               - aspeed,ast2500-evb
               - asrock,e3c246d4i-bmc
               - asrock,romed8hm3-bmc
+              - asrock,x570d4u-bmc
               - bytedance,g220a-bmc
               - facebook,cmm-bmc
               - facebook,minipack-bmc
Signature · 1 line
2.43.0
#2 lore raw

PATCH v3 2/2 ARM: dts: aspeed: asrock: Add ASRock X570D4U BMC

In reply to Renze Nicolai

This is a relatively low-cost AST2500-based Amd Ryzen 5000 Series micro-ATX board that we hope can provide a decent platform for OpenBMC development.

This initial device-tree provides the necessary configuration for basic BMC functionality such as serial console, KVM support and POST code snooping.

---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../dts/aspeed/aspeed-bmc-asrock-x570d4u.dts  | 377 ++++++++++++++++++
 2 files changed, 378 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-x570d4u.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
index d3ac20e316d0..2205bd079d0c 100644
@@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	aspeed-bmc-arm-stardragon4800-rep2.dtb \
 	aspeed-bmc-asrock-e3c246d4i.dtb \
 	aspeed-bmc-asrock-romed8hm3.dtb \
+	aspeed-bmc-asrock-x570d4u.dtb \
 	aspeed-bmc-bytedance-g220a.dtb \
 	aspeed-bmc-delta-ahe50dc.dtb \
 	aspeed-bmc-facebook-bletchley.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-x570d4u.dts new file +377 -0

377 lines not on this page · raw message

Signature · 1 line
2.43.0
#3 lore raw
In reply to Renze Nicolai

Hello again,

A small addition to my cover letter for v3 of the patch:

I forgot to mention in the changelog from v2 to v3 that I also modified the tachometer configuration to correctly map the tachometer inputs to the fan headers on the board.

Greetings,
Renze Nicolai

Quoted 24 lines · CET you

Hello,

These patches add a device-tree (and a bindings update) for the Aspeed BMC on the ASRock X570D4U, so that it can be added as a supported OpenBMC platform.

Changes since v2:
- Renamed leds to led-0 and led-1 to match
Documentation/devicetree/bindings/leds/leds-gpio.yaml - Added aliasses and labels for the i2c-mux on i2c bus 4
- Added the missing blank line between the ehci1 and uhci nodes

Greetings,
Renze Nicolai

Renze Nicolai (2):
dt-bindings: arm: aspeed: add Asrock X570D4U board
ARM: dts: aspeed: asrock: Add ASRock X570D4U BMC

 .../bindings/arm/aspeed/aspeed.yaml           |   1 +
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../dts/aspeed/aspeed-bmc-asrock-x570d4u.dts  | 377 ++++++++++++++++++
 3 files changed, 379 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-x570d4u.dts
maintainer Reviewed-by on the v3 series
#4 lore raw
In reply to Renze Nicolai
Quoted 6 lines · Renze Nicolai

Hello,

These patches add a device-tree (and a bindings update) for the Aspeed BMC on the ASRock X570D4U, so that it can be added as a supported OpenBMC platform.

Looks great!

I've also added this to the openbmc tree, so no need to send the patches there..

Quoted 22 lines

Changes since v2:
- Renamed leds to led-0 and led-1 to match Documentation/devicetree/bindings/leds/leds-gpio.yaml
- Added aliasses and labels for the i2c-mux on i2c bus 4
- Added the missing blank line between the ehci1 and uhci nodes

Greetings,
Renze Nicolai

Renze Nicolai (2):
dt-bindings: arm: aspeed: add Asrock X570D4U board
ARM: dts: aspeed: asrock: Add ASRock X570D4U BMC

 .../bindings/arm/aspeed/aspeed.yaml           |   1 +
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../dts/aspeed/aspeed-bmc-asrock-x570d4u.dts  | 377 ++++++++++++++++++
 3 files changed, 379 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-x570d4u.dts

--
2.43.0