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:
Patrice Chotard 2016-08-04 11:44:32 +02:00
parent 973b932450
commit 2402850fac
1 changed files with 2 additions and 4 deletions

View File

@ -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";
};
};