Skip to contentSkip to conversation

ARM: dts: aspeed: Add Device Tree for Facebook Anacapa BMC

PATCH Superseded Peter Shen 2 participants 4 messages Nov 24, 2025 – Nov 26, 2025

Subsystems (2)

v8 of 9 Superseded Latest is v9 →

lore
Share & tools
lore

Peter Shen

author
#0 lore raw

v8 cover ARM: dts: aspeed: Add Device Tree for Facebook Anacapa BMC

This patch series introduces the initial Device Tree support for the Facebook Anacapa BMC platform, which is based on the Aspeed AST2600 SoC. It configures the platform-specific peripherals and aliases for OpenBMC usage.

The series is comprised of two patches:
1. Adds the compatible string for the board to the binding documentation.
2. Adds the main Device Tree Source file for the Anacapa BMC.

Changes in v8:
* Dropped the unused 'pcc_memory' reserved memory region as suggested by Andrew Jeffery.
* Reordered the 'spi-gpio' properties to group all '-gpios' properties together for better readability (Andrew Jeffery).
* Moved the 'pinctrl_ncsi3_default' pinctrl group from the board DTS file to 'arch/arm/boot/dts/aspeed-g6.dtsi' (assuming this dtsi change is applied separately or already in the base) to make it available for other platforms (Andrew Jeffery).
* Revised the 'gpio-line-names' for better clarity and alignment with schematic signal names, avoiding confusion with pin-muxed functions (Andrew Jeffery).
* Improved the formatting and readability of 'sgpio-line-names' list.
* Removed the unused 'led-2' definition from the 'leds' node.
* Added support for the ADC128D818 sensor to the I2C bus.
* No functional changes in the binding patch (1/2).
* Added clarification for mixed-case signal names (Andrew Jeffery):
The mixed-case names (e.g., FM_CPU0_SYS_RESET_N) in gpio-line-names are chosen to directly match the signal names used in the hardware schematics.
This convention is used to maintain strict adherence and clarity when cross-referencing between the Device Tree and the board design documents.

Peter Shen (2):
dt-bindings: arm: aspeed: Add compatible for Facebook Anacapa BMC
ARM: dts: aspeed: Add Device Tree for Facebook Anacapa BMC

 .../bindings/arm/aspeed/aspeed.yaml           |    1 +
 arch/arm/boot/dts/aspeed/Makefile             |    1 +
 .../aspeed/aspeed-bmc-facebook-anacapa.dts    | 1044 +++++++++++++++++
 3 files changed, 1046 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH v8 1/2 dt-bindings: arm: aspeed: Add compatible for Facebook Anacapa BMC

This patch adds the compatible string for the Facebook Anacapa BMC which uses an Aspeed AST2600 SoC. This is required before adding the board's device tree source file.

---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
index aedefca7cf4a..bcb874ebd9d2 100644
@@ -80,6 +80,7 @@ properties:
               - aspeed,ast2600-evb
               - aspeed,ast2600-evb-a1
               - asus,x4tf-bmc
+              - facebook,anacapa-bmc
               - facebook,bletchley-bmc
               - facebook,catalina-bmc
               - facebook,clemente-bmc
Signature · 1 line
2.34.1
author
#2 lore raw

PATCH v8 2/2 ARM: dts: aspeed: Add Device Tree for Facebook Anacapa BMC

In reply to Peter Shen

Add the initial device tree source file for the Facebook Anacapa BMC platform, based on the Aspeed AST2600 SoC.

This device tree configures the platform-specific peripherals and aliases for OpenBMC usage.

---
 arch/arm/boot/dts/aspeed/Makefile             |    1 +
 .../aspeed/aspeed-bmc-facebook-anacapa.dts    | 1044 +++++++++++++++++
 2 files changed, 1045 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
index 0f0b5b707654..e1b2fc7b8c08 100644
@@ -17,6 +17,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	aspeed-bmc-asus-x4tf.dtb \
 	aspeed-bmc-bytedance-g220a.dtb \
 	aspeed-bmc-delta-ahe50dc.dtb \
+	aspeed-bmc-facebook-anacapa.dtb \
 	aspeed-bmc-facebook-bletchley.dtb \
 	aspeed-bmc-facebook-catalina.dtb \
 	aspeed-bmc-facebook-clemente.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts new file +1044 -0

1,044 lines not on this page · raw message

Signature · 1 line
2.34.1
maintainer
#3 lore raw

Hi Peter,

A few follow-ups below on further inspection. Apologies for not addressing more of these in your earlier submissions.

As a bit of a nit I'd prefer we use "devicetree" instead of "Device Tree" in the subject. That said, it's also implied by the "dts:" part of the prefix, so even better would be to drop it altogether:

ARM: dts: aspeed: Add Facebook Anacapa platform

Quoted 5 lines · Peter Shen

Add the initial device tree source file for the Facebook Anacapa BMC platform, based on the Aspeed AST2600 SoC.

This device tree configures the platform-specific peripherals and aliases for OpenBMC usage.

This describes what we can see in the commit itself. Can you please rather describe the purpose of the platform? Why does the design exist?

Quoted 30 lines

---
 arch/arm/boot/dts/aspeed/Makefile             |    1 + .../aspeed/aspeed-bmc-facebook-anacapa.dts    | 1044 +++++++++++++++++

 2 files changed, 1045 insertions(+)

 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts

arch/arm/boot/dts/aspeed/Makefile +1 -0
index 0f0b5b707654..e1b2fc7b8c08 100644
@@ -17,6 +17,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
  	aspeed-bmc-asus-x4tf.dtb \
  	aspeed-bmc-bytedance-g220a.dtb \
  	aspeed-bmc-delta-ahe50dc.dtb \
+	aspeed-bmc-facebook-anacapa.dtb \
  	aspeed-bmc-facebook-bletchley.dtb \
  	aspeed-bmc-facebook-catalina.dtb \
  	aspeed-bmc-facebook-clemente.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts new file +4 -0
new file mode 100644
index 000000000000..a9bed728339b
@@ -0,0 +1,1044 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+/dts-v1/;
+#include "aspeed-g6.dtsi"

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts line 14

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts new file +10 -0
+#include <dt-bindings/gpio/aspeed-gpio.h>
+#include <dt-bindings/i2c/i2c.h>
+
+/ {
+	model = "Facebook Anacapa BMC";
+	compatible = "facebook,anacapa-bmc", "aspeed,ast2600";
+
+	aliases {
+		serial0 = &uart1;
+		serial2 = &uart3;

Aliases should be defined sequentially. Is there a strong reason to skip serial1 here?

Quoted 4 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts new file +4 -0
+		serial3 = &uart4;
+		serial4 = &uart5;
+		i2c16 = &i2c0mux0ch0;
+		i2c17 = &i2c0mux0ch1;

...

Quoted 17 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts new file +17 -0
+
+&adc0 {
+	aspeed,int-vref-microvolt = <2500000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
+		&pinctrl_adc2_default &pinctrl_adc3_default
+		&pinctrl_adc4_default &pinctrl_adc5_default
+		&pinctrl_adc6_default &pinctrl_adc7_default>;
+	status = "okay";
+};
+
+&adc1 {
+	aspeed,int-vref-microvolt = <2500000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_adc10_default>;
+	status = "okay";
+};

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts line 168

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts new file +10 -0
+
+&ehci1 {
+	status = "okay";
+};
+
+&uhci {
+	status = "okay";
+};
+
+&fmc {

Can you please order all label references alphabetically? There are other options in the DTS style guide, but alphabetical order is the easiest to enforce by simple inspection.

Andrew

Quoted 18 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts new file +18 -0
+	status = "okay";
+
+	flash@0 {
+		status = "okay";
+		m25p,fast-read;
+		label = "bmc";
+		spi-max-frequency = <50000000>;
+#include "openbmc-flash-layout-128.dtsi"
+	};
+
+	flash@1 {
+		status = "okay";
+		m25p,fast-read;
+		label = "alt-bmc";
+		spi-max-frequency = <50000000>;
+	};
+};
+

...