Skip to contentSkip to conversation

arm: dts: aspeed: add Intel AVCRP and JNCRP BMC platforms

PATCH Superseded Dawid Glazik 3 participants 7 messages Oct 12 – Oct 16

Subsystems (2)

v2 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

v2 cover arm: dts: aspeed: add Intel AVCRP and JNCRP BMC platforms

This series adds initial upstream support for the Intel AVCRP and JNCRP BMC platforms based on the ASPEED AST2600.

The first two patches extend the ASPEED board binding to describe the new Intel platform compatibles. The remaining patches add the corresponding board DTS files and register them in the ASPEED DTB build list.

Dawid Glazik (3):
dt-bindings: arm: aspeed: Add Intel AVCRP and JNCRP boards
ARM: dts: aspeed: add Intel AVCRP BMC
ARM: dts: aspeed: add Intel JNCRP BMC

 .../bindings/arm/aspeed/aspeed.yaml           |   2 +
 arch/arm/boot/dts/aspeed/Makefile             |   2 +
 .../dts/aspeed/aspeed-bmc-intel-avcrp.dts     | 315 ++++++++++++++++++
 .../dts/aspeed/aspeed-bmc-intel-jncrp.dts     | 258 ++++++++++++++
 4 files changed, 577 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-intel-jncrp.dts

base-commit: e7ae89a0c97ce2b68b0983cd01eda67cf373517d
prerequisite-patch-id: 3af4bd880f896c97741b54ee18845b305a4bd061
prerequisite-patch-id: 23091b539ec7723a865d82da7703bf70c6ed0222
prerequisite-patch-id: ac42a7a373fdc407f6377d0b1c74d728af50ba42

Signature · 1 line
2.43.0
#1 lore raw

PATCH v2 1/3 dt-bindings: arm: aspeed: Add Intel AVCRP and JNCRP boards

Add compatible strings for the Intel AVCRP and JNCRP BMC boards.

---
v2:
- Squash the separate AVCRP and JNCRP commits from v1 into a single commit, since the changes are small and closely related
- Fix compatible string ordering so the new entries stay in alphabetical order within the enum

---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +2 -0
index 8ec7a3e74a21..60e8e73da3f5 100644
@@ -107,6 +107,8 @@ properties:
               - ibm,sbp1-bmc
               - ibm,system1-bmc
               - ibm,tacoma-bmc
+              - intel,avcrp-bmc
+              - intel,jncrp-bmc
               - inventec,starscream-bmc
               - inventec,transformer-bmc
               - jabil,rbp-bmc
Signature · 1 line
2.43.0
#3 lore raw

PATCH v2 2/3 ARM: dts: aspeed: add Intel AVCRP BMC

In reply to Dawid Glazik

Add the initial AST2600 device tree for the Intel AVCRP BMC platform.

---
v2:
- Replace bootargs console=ttyS4,115200n8 with stdout-path = &uart5
- Remove the unreferenced video_memory reserved-memory node

---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../dts/aspeed/aspeed-bmc-intel-avcrp.dts     | 315 ++++++++++++++++++
 2 files changed, 316 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
index 767f7c7652d5..ea4645ef9872 100644
@@ -54,6 +54,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	aspeed-bmc-ibm-rainier-4u.dtb \
 	aspeed-bmc-ibm-sbp1.dtb \
 	aspeed-bmc-ibm-system1.dtb \
+	aspeed-bmc-intel-avcrp.dtb \
 	aspeed-bmc-intel-s2600wf.dtb \
 	aspeed-bmc-inspur-fp5280g2.dtb \
 	aspeed-bmc-inspur-nf5280m6.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +315 -0

315 lines not on this page · raw message

Signature · 1 line
2.43.0
#6 lore raw

PATCH v2 3/3 ARM: dts: aspeed: add Intel JNCRP BMC

In reply to Dawid Glazik

Add the initial AST2600 device tree for the Intel JNCRP BMC platform.

---
v2:
- Replace bootargs console=ttyS4,115200n8 with stdout-path = &uart5

---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../dts/aspeed/aspeed-bmc-intel-jncrp.dts     | 258 ++++++++++++++++++
 2 files changed, 259 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-intel-jncrp.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
index ea4645ef9872..f0d665b3dcee 100644
@@ -55,6 +55,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	aspeed-bmc-ibm-sbp1.dtb \
 	aspeed-bmc-ibm-system1.dtb \
 	aspeed-bmc-intel-avcrp.dtb \
+	aspeed-bmc-intel-jncrp.dtb \
 	aspeed-bmc-intel-s2600wf.dtb \
 	aspeed-bmc-inspur-fp5280g2.dtb \
 	aspeed-bmc-inspur-nf5280m6.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-jncrp.dts new file +258 -0

258 lines not on this page · raw message

Signature · 1 line
2.43.0
#4 lore raw

Re: [PATCH v2 2/3] ARM: dts: aspeed: add Intel AVCRP BMC

In reply to Dawid Glazik
Quoted 3 lines · Dawid Glazik

Add the initial AST2600 device tree for the Intel AVCRP BMC platform.

You got Review trailers from Andrew Lunn in v1. Unless you think Andrew has to re-review it (which should be then reasoned), please keep them in new revisions.

From the kernel docs [0]:

"Both Tested-by and Reviewed-by tags, once received on mailing list from tester or reviewer, should be added by author to the applicable patches when sending next versions. However if the patch has changed substantially in following version, these tags might not be applicable anymore and thus should be removed. Usually removal of someone’s Acked-by, Tested-by or Reviewed-by tags should be mentioned in the patch changelog with an explanation (after the ‘---’ separator)."

Quoted 62 lines

---
v2:
- Replace bootargs console=ttyS4,115200n8 with stdout-path = &uart5
- Remove the unreferenced video_memory reserved-memory node

---
  arch/arm/boot/dts/aspeed/Makefile             |   1 +
  .../dts/aspeed/aspeed-bmc-intel-avcrp.dts     | 315 ++++++++++++++++++
  2 files changed, 316 insertions(+)

create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts

arch/arm/boot/dts/aspeed/Makefile +1 -0
index 767f7c7652d5..ea4645ef9872 100644
@@ -54,6 +54,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
  	aspeed-bmc-ibm-rainier-4u.dtb \
  	aspeed-bmc-ibm-sbp1.dtb \
  	aspeed-bmc-ibm-system1.dtb \
+	aspeed-bmc-intel-avcrp.dtb \
  	aspeed-bmc-intel-s2600wf.dtb \
  	aspeed-bmc-inspur-fp5280g2.dtb \
  	aspeed-bmc-inspur-nf5280m6.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +34 -0
new file mode 100644
index 000000000000..7c088c89d417
@@ -0,0 +1,315 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+// Copyright 2026 Intel Corporation
+
+/dts-v1/;
+
+#include "aspeed-g6.dtsi"
+#include <dt-bindings/gpio/aspeed-gpio.h>
+
+/ {
+	model = "Intel AVCRP BMC";
+	compatible = "intel,avcrp-bmc", "aspeed,ast2600";
+
+	aliases {
+		serial4 = &uart5;
+	};
+
+	chosen {
+		stdout-path = &uart5;
+		bootargs = "earlycon";
+	};
+
+	memory@80000000 {
+		device_type = "memory";
+		reg = <0x80000000 0x40000000>;
+	};
+
+	reserved-memory {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		video_engine_memory: jpegbuffer {
+			size = <0x02000000>; /* 32M */
+			alignment = <0x01000000>;

arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts line 44

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +10 -0
+			compatible = "shared-dma-pool";
+			reusable;
+		};
+	};
+
+};
+
+&rtc {
+	status = "okay";
+};

Please sort your nodes, as described in the device tree design guideline [1]. There's also a tool called scripts/dtc/dt-check-style that can help with this. Note on that: we usually run --mode strict but it is known to report false-positives, so please check any reported errors twice ^^

Quoted 51 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +51 -0
+
+&fmc {
+	status = "okay";
+	flash@0 {
+		status = "okay";
+		m25p,fast-read;
+		label = "bmc";
+		spi-rx-bus-width = <4>;
+		spi-max-frequency = <50000000>;
+#include "openbmc-flash-layout-64.dtsi"
+	};
+};
+
+&uart1 {
+	status = "okay";
+};
+
+&uart3 {
+	status = "okay";
+};
+
+&uart4 {
+	status = "okay";
+};
+
+&uart5 {
+	status = "okay";
+};
+
+&uart_routing {
+	status = "okay";
+};
+
+&mdio1 {
+	status = "okay";
+
+	ethphy1: ethernet-phy@0 {
+		compatible = "ethernet-phy-id001c.c916";
+		reg = <0>;
+		reset-gpios = <&gpio0 ASPEED_GPIO(C, 1) GPIO_ACTIVE_LOW>;
+		reset-assert-us = <10000>;
+		reset-deassert-us = <50000>;
+	};
+};
+
+&mac1 {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_rgmii2_default>;
+	clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>,
+		 <&syscon ASPEED_CLK_MAC2RCLK>;

arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts line 105

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +10 -0
+	clock-names = "MACCLK", "RCLK";
+	phy-mode = "rgmii-id";
+	phy-handle = <&ethphy1>;
+};
+
+&lpc {
+	lpc_snoop: lpc-snoop@80 {
+		snoop-ports = <0x80>;
+		status = "okay";
+	};

Why's this named if you don't use it as reference anywhere.

arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts line 110

Quoted 5 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +5 -0
+};
+
+&i3c_global {
+	status = "okay";
+};

That's enabled by default.

Quoted 6 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +6 -0
+
+&vhub {
+	status = "okay";
+};
+
+&video {

arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts line 126

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +10 -0
+	status = "okay";
+	memory-region = <&video_engine_memory>;
+};
+
+&gpio0 {
+	gpio-line-names =
+		/*A0-A7*/ "", "", "", "", "SMB_CPU_PIROM_SCL", "SMB_CPU_PIROM_SDA",
+				"SMB_IPMB_STBY_LVC3_SCL", "SMB_IPMB_STBY_LVC3_SDA",
+		/*B0-B7*/ "", "", "", "FM_CPU1_ERR2_LVT3_N",
+				"RGMII_BMC_RMM4_LVC3_R_MDC", "RGMII_BMC_RMM4_LVC3_R_MDIO",

Why do you name reserved GPIO lines (in this case the RGMII lines)? They're used by the kernel anyways.

Tan

[0] https://docs.kernel.org/process/submitting-patches.html#using-reported-by-tested-by-reviewed-by-suggested-by-and-fixes
[1] https://docs.kernel.org/devicetree/bindings/dts-coding-style.html

Acked-by on v2 1/3
#2 lore raw

Re: [PATCH v2 1/3] dt-bindings: arm: aspeed: Add Intel AVCRP and JNCRP boards

In reply to Dawid Glazik
Quoted 9 lines · Dawid Glazik

Add compatible strings for the Intel AVCRP and JNCRP BMC boards.

---
v2:
- Squash the separate AVCRP and JNCRP commits from v1 into a single commit, since the changes are small and closely related
- Fix compatible string ordering so the new entries stay in alphabetical order within the enum

Quoted 3 lines
---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 2 ++
 1 file changed, 2 insertions(+)

Best regards,
Krzysztof

#5 lore raw

Re: [PATCH v2 2/3] ARM: dts: aspeed: add Intel AVCRP BMC

In reply to Tan Siewert
Quoted 180 lines · Tan Siewert
Quoted 3 lines · Dawid Glazik

Add the initial AST2600 device tree for the Intel AVCRP BMC platform.

You got Review trailers from Andrew Lunn in v1. Unless you think Andrew has to re-review it (which should be then reasoned), please keep them in new revisions.

From the kernel docs [0]:

"Both Tested-by and Reviewed-by tags, once received on mailing list from tester or reviewer, should be added by author to the applicable patches when sending next versions. However if the patch has changed substantially in following version, these tags might not be applicable anymore and thus should be removed. Usually removal of someone’s Acked- by, Tested-by or Reviewed-by tags should be mentioned in the patch changelog with an explanation (after the ‘---’ separator)."

Quoted 62 lines

---
v2:
  - Replace bootargs console=ttyS4,115200n8 with stdout-path = &uart5
  - Remove the unreferenced video_memory reserved-memory node
---
  arch/arm/boot/dts/aspeed/Makefile             |   1 + .../dts/aspeed/aspeed-bmc-intel-avcrp.dts     | 315 ++++++++++++++++++

  2 files changed, 316 insertions(+)

  create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts

arch/arm/boot/dts/aspeed/Makefile +1 -0
index 767f7c7652d5..ea4645ef9872 100644
@@ -54,6 +54,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
       aspeed-bmc-ibm-rainier-4u.dtb \
       aspeed-bmc-ibm-sbp1.dtb \
       aspeed-bmc-ibm-system1.dtb \
+    aspeed-bmc-intel-avcrp.dtb \
       aspeed-bmc-intel-s2600wf.dtb \
       aspeed-bmc-inspur-fp5280g2.dtb \
       aspeed-bmc-inspur-nf5280m6.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +34 -0
new file mode 100644
index 000000000000..7c088c89d417
@@ -0,0 +1,315 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+// Copyright 2026 Intel Corporation
+
+/dts-v1/;
+
+#include "aspeed-g6.dtsi"
+#include <dt-bindings/gpio/aspeed-gpio.h>
+
+/ {
+    model = "Intel AVCRP BMC";
+    compatible = "intel,avcrp-bmc", "aspeed,ast2600";
+
+    aliases {
+        serial4 = &uart5;
+    };
+
+    chosen {
+        stdout-path = &uart5;
+        bootargs = "earlycon";
+    };
+
+    memory@80000000 {
+        device_type = "memory";
+        reg = <0x80000000 0x40000000>;
+    };
+
+    reserved-memory {
+        #address-cells = <1>;
+        #size-cells = <1>;
+        ranges;
+
+        video_engine_memory: jpegbuffer {
+            size = <0x02000000>; /* 32M */
+            alignment = <0x01000000>;

arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts line 44

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +10 -0
+            compatible = "shared-dma-pool";
+            reusable;
+        };
+    };
+
+};
+
+&rtc {
+    status = "okay";
+};

Please sort your nodes, as described in the device tree design guideline [1]. There's also a tool called scripts/dtc/dt-check-style that can help with this. Note on that: we usually run --mode strict but it is known to report false-positives, so please check any reported errors twice ^^

Quoted 51 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +51 -0
+
+&fmc {
+    status = "okay";
+    flash@0 {
+        status = "okay";
+        m25p,fast-read;
+        label = "bmc";
+        spi-rx-bus-width = <4>;
+        spi-max-frequency = <50000000>;
+#include "openbmc-flash-layout-64.dtsi"
+    };
+};
+
+&uart1 {
+    status = "okay";
+};
+
+&uart3 {
+    status = "okay";
+};
+
+&uart4 {
+    status = "okay";
+};
+
+&uart5 {
+    status = "okay";
+};
+
+&uart_routing {
+    status = "okay";
+};
+
+&mdio1 {
+    status = "okay";
+
+    ethphy1: ethernet-phy@0 {
+        compatible = "ethernet-phy-id001c.c916";
+        reg = <0>;
+        reset-gpios = <&gpio0 ASPEED_GPIO(C, 1) GPIO_ACTIVE_LOW>;
+        reset-assert-us = <10000>;
+        reset-deassert-us = <50000>;
+    };
+};
+
+&mac1 {
+    status = "okay";
+    pinctrl-names = "default";
+    pinctrl-0 = <&pinctrl_rgmii2_default>;
+    clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>,
+         <&syscon ASPEED_CLK_MAC2RCLK>;

arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts line 105

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +10 -0
+    clock-names = "MACCLK", "RCLK";
+    phy-mode = "rgmii-id";
+    phy-handle = <&ethphy1>;
+};
+
+&lpc {
+    lpc_snoop: lpc-snoop@80 {
+        snoop-ports = <0x80>;
+        status = "okay";
+    };

Why's this named if you don't use it as reference anywhere.

arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts line 110

Quoted 5 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +5 -0
+};
+
+&i3c_global {
+    status = "okay";
+};

That's enabled by default.

Quoted 13 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +13 -0
+
+&vhub {
+    status = "okay";
+};
+
+&video {
+    status = "okay";
+    memory-region = <&video_engine_memory>;
+};
+
+&gpio0 {
+    gpio-line-names =
+        /*A0-A7*/ "", "", "", "", "SMB_CPU_PIROM_SCL", 
Quoted 5 lines

"SMB_CPU_PIROM_SDA",
+                "SMB_IPMB_STBY_LVC3_SCL", "SMB_IPMB_STBY_LVC3_SDA", +        /*B0-B7*/ "", "", "", "FM_CPU1_ERR2_LVT3_N",
+                "RGMII_BMC_RMM4_LVC3_R_MDC", "RGMII_BMC_RMM4_LVC3_R_MDIO",

Why do you name reserved GPIO lines (in this case the RGMII lines)? They're used by the kernel anyways.

Quoted 4 lines

Tan

[0] https://docs.kernel.org/process/submitting-patches.html#using- reported-by-tested-by-reviewed-by-suggested-by-and-fixes
[1] https://docs.kernel.org/devicetree/bindings/dts-coding-style.html

Hi Tan,

Thanks for the instructions. I'll implement them in the new revision

Dawid