Skip to content

Commit 3af11cb

Browse files
renzenicolaiamboar
authored andcommitted
ARM: dts: aspeed: Modify GPIO table for Asrock X570D4U BMC
Restructure GPIO table to fit maximum line length. Fix mistakes found while working on OpenBMC userland configuration and based on probing the board. Schematic for this board is not available. Because of this the choice was made to use a descriptive method for naming the GPIOs. - Push-pull outputs start with output-* - Open-drain outputs start with control-* - LED outputs start with led-* - Inputs start with input-* - Button inputs start with button-* - Active low signals end with *-n Signed-off-by: Renze Nicolai <renze@rnplus.nl> Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
1 parent e0e5ed9 commit 3af11cb

1 file changed

Lines changed: 37 additions & 58 deletions

File tree

arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-x570d4u.dts

Lines changed: 37 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -79,64 +79,43 @@
7979
&gpio {
8080
status = "okay";
8181
gpio-line-names =
82-
/*A0-A3*/ "status-locatorled-n", "", "button-nmi-n", "",
83-
/*A4-A7*/ "", "", "", "",
84-
/*B0-B3*/ "input-bios-post-cmplt-n", "", "", "",
85-
/*B4-B7*/ "", "", "", "",
86-
/*C0-C3*/ "", "", "", "",
87-
/*C4-C7*/ "", "", "control-locatorbutton", "",
88-
/*D0-D3*/ "button-power", "control-power", "button-reset", "control-reset",
89-
/*D4-D7*/ "", "", "", "",
90-
/*E0-E3*/ "", "", "", "",
91-
/*E4-E7*/ "", "", "", "",
92-
/*F0-F3*/ "", "", "", "",
93-
/*F4-F7*/ "", "", "", "",
94-
/*G0-G3*/ "output-rtc-battery-voltage-read-enable", "input-id0", "input-id1", "input-id2",
95-
/*G4-G7*/ "input-alert1-n", "input-alert2-n", "input-alert3-n", "",
96-
/*H0-H3*/ "", "", "", "",
97-
/*H4-H7*/ "input-mfg", "", "led-heartbeat-n", "input-caseopen",
98-
/*I0-I3*/ "", "", "", "",
99-
/*I4-I7*/ "", "", "", "",
100-
/*J0-J3*/ "output-bmc-ready", "", "", "",
101-
/*J4-J7*/ "", "", "", "",
102-
/*K0-K3*/ "", "", "", "",
103-
/*K4-K7*/ "", "", "", "",
104-
/*L0-L3*/ "", "", "", "",
105-
/*L4-L7*/ "", "", "", "",
106-
/*M0-M3*/ "", "", "", "",
107-
/*M4-M7*/ "", "", "", "",
108-
/*N0-N3*/ "", "", "", "",
109-
/*N4-N7*/ "", "", "", "",
110-
/*O0-O3*/ "", "", "", "",
111-
/*O4-O7*/ "", "", "", "",
112-
/*P0-P3*/ "", "", "", "",
113-
/*P4-P7*/ "", "", "", "",
114-
/*Q0-Q3*/ "", "", "", "",
115-
/*Q4-Q7*/ "", "", "", "",
116-
/*R0-R3*/ "", "", "", "",
117-
/*R4-R7*/ "", "", "", "",
118-
/*S0-S3*/ "input-bmc-pchhot-n", "", "", "",
119-
/*S4-S7*/ "", "", "", "",
120-
/*T0-T3*/ "", "", "", "",
121-
/*T4-T7*/ "", "", "", "",
122-
/*U0-U3*/ "", "", "", "",
123-
/*U4-U7*/ "", "", "", "",
124-
/*V0-V3*/ "", "", "", "",
125-
/*V4-V7*/ "", "", "", "",
126-
/*W0-W3*/ "", "", "", "",
127-
/*W4-W7*/ "", "", "", "",
128-
/*X0-X3*/ "", "", "", "",
129-
/*X4-X7*/ "", "", "", "",
130-
/*Y0-Y3*/ "", "", "", "",
131-
/*Y4-Y7*/ "", "", "", "",
132-
/*Z0-Z3*/ "", "", "led-fault-n", "output-bmc-throttle-n",
133-
/*Z4-Z7*/ "", "", "", "",
134-
/*AA0-AA3*/ "input-cpu1-thermtrip-latch-n", "", "input-cpu1-prochot-n", "",
135-
/*AA4-AC7*/ "", "", "", "",
136-
/*AB0-AB3*/ "", "", "", "",
137-
/*AB4-AC7*/ "", "", "", "",
138-
/*AC0-AC3*/ "", "", "", "",
139-
/*AC4-AC7*/ "", "", "", "";
82+
/* A */ "input-locatorled-n", "", "", "", "", "", "", "",
83+
/* B */ "input-bios-post-cmplt-n", "", "", "", "", "", "", "",
84+
/* C */ "", "", "", "", "", "", "control-locatorbutton-n", "",
85+
/* D */ "button-power-n", "control-power-n", "button-reset-n",
86+
"control-reset-n", "", "", "", "",
87+
/* E */ "", "", "", "", "", "", "", "",
88+
/* F */ "", "", "", "", "", "", "", "",
89+
/* G */ "output-hwm-vbat-enable", "input-id0-n", "input-id1-n",
90+
"input-id2-n", "input-aux-smb-alert-n", "",
91+
"input-psu-smb-alert-n", "",
92+
/* H */ "", "", "", "", "input-mfg-mode-n", "",
93+
"led-heartbeat-n", "input-case-open-n",
94+
/* I */ "", "", "", "", "", "", "", "",
95+
/* J */ "output-bmc-ready-n", "", "", "", "", "", "", "",
96+
/* K */ "", "", "", "", "", "", "", "",
97+
/* L */ "", "", "", "", "", "", "", "",
98+
/* M */ "", "", "", "", "", "", "", "",
99+
/* N */ "", "", "", "", "", "", "", "",
100+
/* O */ "", "", "", "", "", "", "", "",
101+
/* P */ "", "", "", "", "", "", "", "",
102+
/* Q */ "", "", "", "", "input-bmc-smb-present-n", "", "",
103+
"input-pcie-wake-n",
104+
/* R */ "", "", "", "", "", "", "", "",
105+
/* S */ "input-bmc-pchhot-n", "", "", "", "", "", "", "",
106+
/* T */ "", "", "", "", "", "", "", "",
107+
/* U */ "", "", "", "", "", "", "", "",
108+
/* V */ "", "", "", "", "", "", "", "",
109+
/* W */ "", "", "", "", "", "", "", "",
110+
/* X */ "", "", "", "", "", "", "", "",
111+
/* Y */ "input-sleep-s3-n", "input-sleep-s5-n", "", "", "", "",
112+
"", "",
113+
/* Z */ "", "", "led-fault-n", "output-bmc-throttle-n", "", "",
114+
"", "",
115+
/* AA */ "input-cpu1-thermtrip-latch-n", "",
116+
"input-cpu1-prochot-n", "", "", "", "", "",
117+
/* AB */ "", "input-power-good", "", "", "", "", "", "",
118+
/* AC */ "", "", "", "", "", "", "", "";
140119
};
141120

142121
&fmc {

0 commit comments

Comments
 (0)