summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2016-08-04 11:52:01 +0200
committerPatrice Chotard <patrice.chotard@st.com>2016-09-06 09:21:22 +0200
commite9dacbf2bd7f4d05fec80311fa47920d9243b46c (patch)
tree8a0c1bfa52a19dd21e1930c77d17cca01d6897b5
parent5984d65342965466594670693a40cc2edc834ba4 (diff)
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>
-rw-r--r--arch/arm/boot/dts/stih416-b2020e.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/stih416-b2020e.dts b/arch/arm/boot/dts/stih416-b2020e.dts
index f1ceee192a0e..de320cd067de 100644
--- a/arch/arm/boot/dts/stih416-b2020e.dts
+++ b/arch/arm/boot/dts/stih416-b2020e.dts
@@ -9,6 +9,7 @@
/dts-v1/;
#include "stih416.dtsi"
#include "stih41x-b2020.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
model = "STiH416 B2020 REV-E";
compatible = "st,stih416-b2020", "st,stih416";
@@ -17,13 +18,12 @@
leds {
compatible = "gpio-leds";
red {
- #gpio-cells = <1>;
label = "Front Panel LED";
- gpios = <&pio4 1>;
+ gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
green {
- gpios = <&pio1 3>;
+ gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};