xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-asrock-paul-ipmi-card.dts (revision e65f4718a577fcc84d40431f022985898b6dbf2e)
1// SPDX-License-Identifier: GPL-2.0-or-later
2// Copyright 2025 Anirudh Srinivasan
3
4/dts-v1/;
5
6#include "aspeed-g5.dtsi"
7#include <dt-bindings/gpio/aspeed-gpio.h>
8
9/{
10	model = "ASRock Paul IPMI Card";
11	compatible = "asrock,ast2500-paul-ipmi-card", "aspeed,ast2500";
12
13	aliases {
14		serial4 = &uart5;
15	};
16
17	chosen {
18		stdout-path = &uart5;
19	};
20
21	leds {
22		compatible = "gpio-leds";
23
24		led-fan-1 {
25			gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_LOW>;
26			label = "fan1_red";
27			default-state = "off";
28		};
29
30		led-fan-2 {
31			gpios = <&gpio ASPEED_GPIO(AA, 1) GPIO_ACTIVE_LOW>;
32			label = "fan2_red";
33			default-state = "off";
34		};
35
36		led-fault {
37			gpios = <&gpio ASPEED_GPIO(Y, 3) GPIO_ACTIVE_LOW>;
38			label = "panic_red";
39			panic-indicator;
40			default-state = "off";
41		};
42
43		led-heartbeat {
44			gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>;
45			label = "heartbeat_green";
46			linux,default-trigger = "timer";
47		};
48	};
49
50	memory@80000000 {
51		reg = <0x80000000 0x20000000>;
52	};
53
54	reserved-memory {
55		#address-cells = <1>;
56		#size-cells = <1>;
57		ranges;
58
59		video_engine_memory: video {
60			size = <0x02000000>;
61			alignment = <0x01000000>;
62			compatible = "shared-dma-pool";
63			reusable;
64		};
65	};
66};
67
68&fmc {
69	status = "okay";
70	flash@0 {
71		status = "okay";
72		m25p,fast-read;
73		label = "bmc";
74		spi-max-frequency = <50000000>; /* 50 MHz */
75#include "openbmc-flash-layout.dtsi"
76	};
77};
78
79&gpio {
80	status = "okay";
81	gpio-line-names =
82		/*  A */ "", "", "", "", "", "", "", "",
83		/*  B */ "", "", "", "", "", "", "", "",
84		/*  C */ "", "", "", "", "", "", "", "",
85		/*  D */ "", "BMC_PWRBTN", "", "BMC_RESETCON", "", "", "", "",
86		/*  E */ "", "", "", "", "", "", "", "",
87		/*  F */ "", "", "", "", "", "", "", "",
88		/*  G */ "", "", "", "", "", "", "", "",
89		/*  H */ "", "", "", "", "", "", "BMC_LED1", "",
90		/*  I */ "", "", "", "", "", "", "", "",
91		/*  J */ "", "", "", "", "", "", "", "",
92		/*  K */ "", "", "", "", "", "", "", "",
93		/*  L */ "", "", "", "", "", "", "", "",
94		/*  M */ "", "", "", "", "", "", "", "",
95		/*  N */ "", "", "", "", "", "", "", "",
96		/*  O */ "", "", "", "", "", "", "", "",
97		/*  P */ "", "", "", "", "", "", "", "",
98		/*  Q */ "", "", "", "", "", "", "", "",
99		/*  R */ "", "", "", "", "", "", "", "",
100		/*  S */ "", "", "", "", "", "", "", "",
101		/*  T */ "", "", "", "", "", "", "", "",
102		/*  U */ "", "", "", "", "", "", "", "",
103		/*  V */ "", "", "", "", "", "", "", "",
104		/*  W */ "", "", "", "", "", "", "", "",
105		/*  X */ "", "", "", "", "", "PCIE_STNDBY", "", "",
106		/*  Y */ "", "", "", "SYSTEM_ERR_LED", "", "", "", "",
107		/*  Z */ "", "", "", "", "", "", "", "",
108		/* AA */ "FAN_1_LED", "FAN_2_LED", "", "", "", "", "", "",
109		/* AB */ "", "", "", "", "", "", "", "",
110		/* AC */ "", "", "", "", "", "", "", "";
111};
112
113&mac0 {
114	status = "okay";
115
116	pinctrl-names = "default";
117	pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
118};
119
120&uart5 {
121	status = "okay";
122};
123
124&vhub {
125	status = "okay";
126};
127
128&video {
129	status = "okay";
130	memory-region = <&video_engine_memory>;
131};
132