Commit e9dacbf2 authored by Patrice Chotard's avatar Patrice Chotard

ARM: dts: STiH416-b2020e: 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 5984d653
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
/dts-v1/; /dts-v1/;
#include "stih416.dtsi" #include "stih416.dtsi"
#include "stih41x-b2020.dtsi" #include "stih41x-b2020.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ { / {
model = "STiH416 B2020 REV-E"; model = "STiH416 B2020 REV-E";
compatible = "st,stih416-b2020", "st,stih416"; compatible = "st,stih416-b2020", "st,stih416";
...@@ -17,13 +18,12 @@ soc { ...@@ -17,13 +18,12 @@ soc {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
red { red {
#gpio-cells = <1>;
label = "Front Panel LED"; label = "Front Panel LED";
gpios = <&pio4 1>; gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
green { green {
gpios = <&pio1 3>; gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
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