]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: aspeed: Add Asrock Paul IPMI card
authorAnirudh Srinivasan <anirudhsriniv@gmail.com>
Sun, 25 Jan 2026 21:00:39 +0000 (15:00 -0600)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Sun, 22 Feb 2026 23:13:06 +0000 (09:43 +1030)
Add device tree for Asrock Paul IPMI card, an AST2500 based PCIe BMC
card.

Signed-off-by: Anirudh Srinivasan <anirudhsriniv@gmail.com>
Link: https://patch.msgid.link/20260125-asrock-paul-v1-2-956085a4bd06@gmail.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/Makefile
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-paul-ipmi-card.dts [new file with mode: 0644]

index 05945e85e1dfe2b666b708a3173fe967889e9211..767f7c7652d55b0d22faed02a0bb712146c77990 100644 (file)
@@ -12,6 +12,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
        aspeed-bmc-asrock-altrad8.dtb \
        aspeed-bmc-asrock-e3c246d4i.dtb \
        aspeed-bmc-asrock-e3c256d4i.dtb \
+       aspeed-bmc-asrock-paul-ipmi-card.dtb \
        aspeed-bmc-asrock-romed8hm3.dtb \
        aspeed-bmc-asrock-spc621d8hm3.dtb \
        aspeed-bmc-asrock-x570d4u.dtb \
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-paul-ipmi-card.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-paul-ipmi-card.dts
new file mode 100644 (file)
index 0000000..f74f8fe
--- /dev/null
@@ -0,0 +1,131 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+// Copyright 2025 Anirudh Srinivasan
+
+/dts-v1/;
+
+#include "aspeed-g5.dtsi"
+#include <dt-bindings/gpio/aspeed-gpio.h>
+
+/{
+       model = "ASRock Paul IPMI Card";
+       compatible = "asrock,ast2500-paul-ipmi-card", "aspeed,ast2500";
+
+       aliases {
+               serial4 = &uart5;
+       };
+
+       chosen {
+               stdout-path = &uart5;
+       };
+
+       leds {
+               compatible = "gpio-leds";
+
+               led-fan-1 {
+                       gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_LOW>;
+                       label = "fan1_red";
+                       default-state = "off";
+               };
+
+               led-fan-2 {
+                       gpios = <&gpio ASPEED_GPIO(AA, 1) GPIO_ACTIVE_LOW>;
+                       label = "fan2_red";
+                       default-state = "off";
+               };
+
+               led-fault {
+                       gpios = <&gpio ASPEED_GPIO(Y, 3) GPIO_ACTIVE_LOW>;
+                       label = "panic_red";
+                       panic-indicator;
+                       default-state = "off";
+               };
+
+               led-heartbeat {
+                       gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>;
+                       label = "heartbeat_green";
+                       linux,default-trigger = "timer";
+               };
+       };
+
+       memory@80000000 {
+               reg = <0x80000000 0x20000000>;
+       };
+
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               video_engine_memory: video {
+                       size = <0x02000000>;
+                       alignment = <0x01000000>;
+                       compatible = "shared-dma-pool";
+                       reusable;
+               };
+       };
+};
+
+&fmc {
+       status = "okay";
+       flash@0 {
+               status = "okay";
+               m25p,fast-read;
+               label = "bmc";
+               spi-max-frequency = <50000000>; /* 50 MHz */
+#include "openbmc-flash-layout.dtsi"
+       };
+};
+
+&gpio {
+       status = "okay";
+       gpio-line-names =
+               /*  A */ "", "", "", "", "", "", "", "",
+               /*  B */ "", "", "", "", "", "", "", "",
+               /*  C */ "", "", "", "", "", "", "", "",
+               /*  D */ "", "BMC_PWRBTN", "", "BMC_RESETCON", "", "", "", "",
+               /*  E */ "", "", "", "", "", "", "", "",
+               /*  F */ "", "", "", "", "", "", "", "",
+               /*  G */ "", "", "", "", "", "", "", "",
+               /*  H */ "", "", "", "", "", "", "BMC_LED1", "",
+               /*  I */ "", "", "", "", "", "", "", "",
+               /*  J */ "", "", "", "", "", "", "", "",
+               /*  K */ "", "", "", "", "", "", "", "",
+               /*  L */ "", "", "", "", "", "", "", "",
+               /*  M */ "", "", "", "", "", "", "", "",
+               /*  N */ "", "", "", "", "", "", "", "",
+               /*  O */ "", "", "", "", "", "", "", "",
+               /*  P */ "", "", "", "", "", "", "", "",
+               /*  Q */ "", "", "", "", "", "", "", "",
+               /*  R */ "", "", "", "", "", "", "", "",
+               /*  S */ "", "", "", "", "", "", "", "",
+               /*  T */ "", "", "", "", "", "", "", "",
+               /*  U */ "", "", "", "", "", "", "", "",
+               /*  V */ "", "", "", "", "", "", "", "",
+               /*  W */ "", "", "", "", "", "", "", "",
+               /*  X */ "", "", "", "", "", "PCIE_STNDBY", "", "",
+               /*  Y */ "", "", "", "SYSTEM_ERR_LED", "", "", "", "",
+               /*  Z */ "", "", "", "", "", "", "", "",
+               /* AA */ "FAN_1_LED", "FAN_2_LED", "", "", "", "", "", "",
+               /* AB */ "", "", "", "", "", "", "", "",
+               /* AC */ "", "", "", "", "", "", "", "";
+};
+
+&mac0 {
+       status = "okay";
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
+};
+
+&uart5 {
+       status = "okay";
+};
+
+&vhub {
+       status = "okay";
+};
+
+&video {
+       status = "okay";
+       memory-region = <&video_engine_memory>;
+};