Skip to contentSkip to conversation

Add device trees for ASrock E3C256D4I & SPC621D8HM3

PATCH In review Zev Weiss 2 participants 6 messages Dec 6, 2023

Subsystems (2)
lore
Share & tools
lore

Zev Weiss

author
#0 lore raw

cover Add device trees for ASrock E3C256D4I & SPC621D8HM3

Hello,

These patches add support for the BMCs on the ASRock e3c256d4i and spc621d8hm3 boards. All four patches are currently in the 'for-next' branch of Joel's bmc.git tree. I used the '-x' flag when cherry-picking them onto the dev-6.5 branch, but since they're not yet actually merged into the mainline kernel I suppose it's possible the upstream commit hashes might still change, so feel free to drop those tags as preferred.

[Mistakenly didn't CC the list on first send, apologies for the duplication Joel & Andrew.]

Thanks,
Zev

Zev Weiss (4):
dt-bindings: arm: aspeed: document ASRock SPC621D8HM3
ARM: dts: aspeed: Add ASRock SPC621D8HM3 BMC
dt-bindings: arm: aspeed: document ASRock E3C256D4I
ARM: dts: aspeed: Add ASRock E3C256D4I BMC

 .../bindings/arm/aspeed/aspeed.yaml           |   2 +
 arch/arm/boot/dts/aspeed/Makefile             |   2 +
 .../aspeed/aspeed-bmc-asrock-e3c256d4i.dts    | 316 +++++++++++++++++
 .../aspeed/aspeed-bmc-asrock-spc621d8hm3.dts  | 318 ++++++++++++++++++
 4 files changed, 638 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-e3c256d4i.dts
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts
Signature · 1 line
2.43.0
author
#1 lore raw

PATCH 1/4 dt-bindings: arm: aspeed: document ASRock SPC621D8HM3

Document ASRock SPC621D8HM3 board compatible.

(cherry picked from commit 974277c7fc94443244d1e3d95cdbc54ebaf49fd5)
---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
index e17b3d66d6e5..00a673c7bd9e 100644
@@ -36,6 +36,7 @@ properties:
               - aspeed,ast2500-evb
               - asrock,e3c246d4i-bmc
               - asrock,romed8hm3-bmc
+              - asrock,spc621d8hm3-bmc
               - bytedance,g220a-bmc
               - facebook,cmm-bmc
               - facebook,minipack-bmc
Signature · 1 line
2.43.0
author
#2 lore raw

PATCH 2/4 ARM: dts: aspeed: Add ASRock SPC621D8HM3 BMC

In reply to Zev Weiss

This is a Xeon board broadly similar (aside from CPU vendor) to the already-support romed8hm3 (half-width, single-socket, ast2500). It doesn't require anything terribly special for OpenBMC support, so this device-tree should provide everything necessary for basic functionality with it.

(cherry picked from commit 0d7c840545b4757b4e2d66d690b657561d250a35)
---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../aspeed/aspeed-bmc-asrock-spc621d8hm3.dts  | 318 ++++++++++++++++++
 2 files changed, 319 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
index 23cbc7203a8e..61dbb908c74e 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-spc621d8hm3.dtb \
 	aspeed-bmc-bytedance-g220a.dtb \
 	aspeed-bmc-delta-ahe50dc.dtb \
 	aspeed-bmc-facebook-bletchley.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts new file +318 -0

318 lines not on this page · raw message

Signature · 1 line
2.43.0
author
#3 lore raw

PATCH 3/4 dt-bindings: arm: aspeed: document ASRock E3C256D4I

In reply to Zev Weiss

Document ASRock E3C256D4I board compatible.

(cherry picked from commit 87ac7669fbb307682cca553bb78c28ff942fddb4)
---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
index 00a673c7bd9e..1f65e8a245b2 100644
@@ -35,6 +35,7 @@ properties:
               - ampere,mtjade-bmc
               - aspeed,ast2500-evb
               - asrock,e3c246d4i-bmc
+              - asrock,e3c256d4i-bmc
               - asrock,romed8hm3-bmc
               - asrock,spc621d8hm3-bmc
               - bytedance,g220a-bmc
Signature · 1 line
2.43.0
author
#4 lore raw

PATCH 4/4 ARM: dts: aspeed: Add ASRock E3C256D4I BMC

In reply to Zev Weiss

Like the E3C246D4I, this is a reasonably affordable off-the-shelf mini-ITX AST2500/Xeon motherboard with good potential as an OpenBMC development platform. Booting the host requires a modicum of eSPI support that's not yet in the mainline kernel, but most other basic BMC functionality is available with this device-tree.

(cherry picked from commit e9be9b34b841d2b1691c285ef0e85232734e28b2)
---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../aspeed/aspeed-bmc-asrock-e3c256d4i.dts    | 316 ++++++++++++++++++
 2 files changed, 317 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-e3c256d4i.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
index 61dbb908c74e..450d28641496 100644
@@ -9,6 +9,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	aspeed-bmc-ampere-mtmitchell.dtb \
 	aspeed-bmc-arm-stardragon4800-rep2.dtb \
 	aspeed-bmc-asrock-e3c246d4i.dtb \
+	aspeed-bmc-asrock-e3c256d4i.dtb \
 	aspeed-bmc-asrock-romed8hm3.dtb \
 	aspeed-bmc-asrock-spc621d8hm3.dtb \
 	aspeed-bmc-bytedance-g220a.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-e3c256d4i.dts new file +316 -0

316 lines not on this page · raw message

Signature · 1 line
2.43.0
maintainer
#5 lore raw
In reply to Zev Weiss
Quoted 11 lines · Zev Weiss

Hello,

These patches add support for the BMCs on the ASRock e3c256d4i and spc621d8hm3 boards. All four patches are currently in the 'for-next' branch of Joel's bmc.git tree. I used the '-x' flag when cherry-picking them onto the dev-6.5 branch, but since they're not yet actually merged into the mainline kernel I suppose it's possible the upstream commit hashes might still change, so feel free to drop those tags as preferred.

Quoted 2 lines

[Mistakenly didn't CC the list on first send, apologies for the duplication Joel & Andrew.]

I've merged these on top of the shiny new 6.6 tree.

Cheers,

Joel