Skip to contentSkip to conversation

ARM: dts: Aspeed: Add Facebook Harma DTS

PATCH Superseded Peter Yin 2 participants 2 messages Jun 5, 2024 – Jun 6, 2024 Arm (32-bit)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Peter Yin

author
#0 lore raw

PATCH v2 1/1 ARM: dts: Aspeed: Add Facebook Harma DTS

Initial introduction of Facebook Harma
equipped with Aspeed 2600 BMC SoC.

---
Change log:
v1 -> v2
- Revise common to harma

v1
- Create facebook common dts

---
 arch/arm/dts/Makefile          |  1 +
 arch/arm/dts/ast2600-harma.dts | 66 ++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)
 create mode 100644 arch/arm/dts/ast2600-harma.dts
arch/arm/dts/Makefile +1 -0
index 6f4b4d8a17..cb96c0a673 100755
@@ -688,6 +688,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	ast2600-evb.dtb \
 	ast2600-fpga.dtb \
 	ast2600-greatlakes.dtb \
+	ast2600-harma.dtb \
 	ast2600-intel.dtb \
 	ast2600-intel.dtb \
 	ast2600-ncsi.dtb \
arch/arm/dts/ast2600-harma.dts new file +66 -0

66 lines not on this page · raw message

Signature · 1 line
2.25.1
#1 lore raw
Quoted 9 lines · Peter Yin

Initial introduction of Facebook Harma
equipped with Aspeed 2600 BMC SoC.

---
Change log:
v1 -> v2
- Revise common to harma

Quoted 5 lines

v1
- Create facebook common dts

---
 arch/arm/dts/Makefile          |  1 +
 arch/arm/dts/ast2600-harma.dts | 66 ++++++++++++++++++++++++++++++++++

The discussion I was having with Patrick was we could make this e.g. ast2600-facebook.dts ...

Quoted 21 lines
 2 files changed, 67 insertions(+)
 create mode 100644 arch/arm/dts/ast2600-harma.dts
arch/arm/dts/Makefile +1 -0
index 6f4b4d8a17..cb96c0a673 100755
@@ -688,6 +688,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	ast2600-evb.dtb \
 	ast2600-fpga.dtb \
 	ast2600-greatlakes.dtb \
+	ast2600-harma.dtb \
 	ast2600-intel.dtb \
 	ast2600-intel.dtb \
 	ast2600-ncsi.dtb \
arch/arm/dts/ast2600-harma.dts new file +0 -0
new file mode 100644
index 0000000000..11d6d5d60c

arch/arm/dts/ast2600-harma.dts line 9

Quoted 9 lines
arch/arm/dts/ast2600-harma.dts new file +9 -0
@@ -0,0 +1,66 @@
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright (c) 2024 Meta Platforms Inc.
+/dts-v1/;
+
+#include "ast2600-u-boot.dtsi"
+
+/ {
+	model = "Facebook Harma BMC";
+	compatible = "facebook,harma-bmc", "aspeed,ast2600";

... and then just list the compatibles for the concrete platforms here, like IBM does for P10.

That way your patch for Minerva becomes a 1-line change here.

Can you please send a series doing as much?

Cheers,

Andrew