Skip to content

Commit bb4d303

Browse files
Quanta-YangChenamboar
authored andcommitted
ARM: dts: aspeed: minerva: Add led-fan-fault gpio
Add led-fan-fault gpio pin on the PCA9555 on the i2c bus 0. Signed-off-by: Yang Chen <yangchen.openbmc@gmail.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20231212075200.983536-10-yangchen.openbmc@gmail.com Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
1 parent 2dcb5ca commit bb4d303

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@
3939
<&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
4040
<&adc1 2>;
4141
};
42+
43+
leds {
44+
compatible = "gpio-leds";
45+
46+
led-fan-fault {
47+
label = "led-fan-fault";
48+
gpios = <&leds_gpio 9 GPIO_ACTIVE_HIGH>;
49+
default-state = "off";
50+
};
51+
};
4252
};
4353

4454
&uart6 {
@@ -118,6 +128,13 @@
118128
compatible = "adi,ltc2945";
119129
reg = <0x68>;
120130
};
131+
132+
leds_gpio: gpio@19 {
133+
compatible = "nxp,pca9555";
134+
reg = <0x19>;
135+
gpio-controller;
136+
#gpio-cells = <2>;
137+
};
121138
};
122139

123140
&i2c1 {

0 commit comments

Comments
 (0)