Skip to content

Commit 2f5b33f

Browse files
Quanta-YangChenamboar
authored andcommitted
ARM: dts: aspeed: minerva: add i/o expanders on bus 0
Add three I/O expanders on i2c bus 0, assign the GPIO line name to each GPIO in use, and specify the interrupt GPIO that has been used on it and give the interrupt gpio number. Signed-off-by: Yang Chen <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Andrew Jeffery <[email protected]>
1 parent b3092f4 commit 2f5b33f

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,63 @@
208208
gpio-controller;
209209
#gpio-cells = <2>;
210210
};
211+
212+
gpio@11 {
213+
compatible = "nxp,pca9555";
214+
reg = <0x11>;
215+
gpio-controller;
216+
#gpio-cells = <2>;
217+
interrupt-parent = <&sgpiom0>;
218+
interrupts = <238 IRQ_TYPE_LEVEL_LOW>;
219+
220+
gpio-line-names =
221+
"PWRGD_P24V_SMPWROK", "P1V5_PWROK",
222+
"P3V3_PWROK", "P5V_PWROK",
223+
"P12V_SCM_PWROK", "P12V_PWROK",
224+
"P24V_PWROK", "P48V_HSC_PWROK",
225+
"ERR_GPIO_IRQ", "TMP75_ALERT_N",
226+
"BMC_PWROK", "P12V_INA230_ALERT_N",
227+
"P24V_INA230_ALERT_N","",
228+
"P48V_HSC_ALERT_N", "P1V05_PWROK";
229+
};
230+
231+
gpio@12 {
232+
compatible = "nxp,pca9555";
233+
reg = <0x12>;
234+
gpio-controller;
235+
#gpio-cells = <2>;
236+
interrupt-parent = <&sgpiom0>;
237+
interrupts = <240 IRQ_TYPE_LEVEL_LOW>;
238+
239+
gpio-line-names =
240+
"P1V05_PWR_FAIL", "P1V5_PWR_FAIL",
241+
"P24V_PWR_FAIL", "P24V_SM_PWR_FAIL",
242+
"IRQ_NW0/1/2_N", "IRQ_NW3/4/5_N",
243+
"RTC_INT_N_R", "ERR_GPIO_IRQ",
244+
"", "",
245+
"", "",
246+
"", "",
247+
"", "";
248+
};
249+
250+
gpio@13 {
251+
compatible = "nxp,pca9555";
252+
reg = <0x13>;
253+
gpio-controller;
254+
#gpio-cells = <2>;
255+
interrupt-parent = <&sgpiom0>;
256+
interrupts = <242 IRQ_TYPE_LEVEL_LOW>;
257+
258+
gpio-line-names =
259+
"", "",
260+
"", "",
261+
"", "",
262+
"", "",
263+
"RACKMON_A_1", "RACKMON_A_2",
264+
"RACKMON_B_1", "RACKMON_B_2",
265+
"", "",
266+
"", "";
267+
};
211268
};
212269

213270
&i2c1 {

0 commit comments

Comments
 (0)