Commit 2402850f authored by Patrice Chotard's avatar Patrice Chotard

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: default avatarPatrice Chotard <patrice.chotard@st.com>
parent 973b9324
...@@ -18,14 +18,12 @@ sbc_serial0: serial@9530000 { ...@@ -18,14 +18,12 @@ sbc_serial0: serial@9530000 {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
red { red {
#gpio-cells = <2>;
label = "Front Panel LED"; label = "Front Panel LED";
gpios = <&pio4 1 0>; gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
green { green {
#gpio-cells = <2>; gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
gpios = <&pio1 3 0>;
default-state = "off"; default-state = "off";
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment