mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
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 <yangchen.openbmc@gmail.com> Link: https://patch.msgid.link/20241212133226.342937-2-yangchen.openbmc@gmail.com Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
This commit is contained in:
parent
b3092f4a8e
commit
2f5b33ff11
|
|
@ -208,6 +208,63 @@ leds_gpio: gpio@19 {
|
|||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
gpio@11 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x11>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-parent = <&sgpiom0>;
|
||||
interrupts = <238 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
gpio-line-names =
|
||||
"PWRGD_P24V_SMPWROK", "P1V5_PWROK",
|
||||
"P3V3_PWROK", "P5V_PWROK",
|
||||
"P12V_SCM_PWROK", "P12V_PWROK",
|
||||
"P24V_PWROK", "P48V_HSC_PWROK",
|
||||
"ERR_GPIO_IRQ", "TMP75_ALERT_N",
|
||||
"BMC_PWROK", "P12V_INA230_ALERT_N",
|
||||
"P24V_INA230_ALERT_N","",
|
||||
"P48V_HSC_ALERT_N", "P1V05_PWROK";
|
||||
};
|
||||
|
||||
gpio@12 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x12>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-parent = <&sgpiom0>;
|
||||
interrupts = <240 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
gpio-line-names =
|
||||
"P1V05_PWR_FAIL", "P1V5_PWR_FAIL",
|
||||
"P24V_PWR_FAIL", "P24V_SM_PWR_FAIL",
|
||||
"IRQ_NW0/1/2_N", "IRQ_NW3/4/5_N",
|
||||
"RTC_INT_N_R", "ERR_GPIO_IRQ",
|
||||
"", "",
|
||||
"", "",
|
||||
"", "",
|
||||
"", "";
|
||||
};
|
||||
|
||||
gpio@13 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x13>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-parent = <&sgpiom0>;
|
||||
interrupts = <242 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
gpio-line-names =
|
||||
"", "",
|
||||
"", "",
|
||||
"", "",
|
||||
"", "",
|
||||
"RACKMON_A_1", "RACKMON_A_2",
|
||||
"RACKMON_B_1", "RACKMON_B_2",
|
||||
"", "",
|
||||
"", "";
|
||||
};
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user