mirror of https://gitee.com/openkylin/linux.git
ARM: dts: STiHxxx-b2120: update gpio specifier
Remove useless gpio-cells Add second parameter to indicate if gpio is active high or low. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
This commit is contained in:
parent
973b932450
commit
2402850fac
|
@ -18,14 +18,12 @@ sbc_serial0: serial@9530000 {
|
|||
leds {
|
||||
compatible = "gpio-leds";
|
||||
red {
|
||||
#gpio-cells = <2>;
|
||||
label = "Front Panel LED";
|
||||
gpios = <&pio4 1 0>;
|
||||
gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
green {
|
||||
#gpio-cells = <2>;
|
||||
gpios = <&pio1 3 0>;
|
||||
gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue