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: Patrice Chotard <patrice.chotard@st.com>
This commit is contained in:
parent
5984d65342
commit
e9dacbf2bd
|
@ -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 @@
|
||||||
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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue