aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2016-08-04 05:52:01 -0400
committerPatrice Chotard <patrice.chotard@st.com>2016-09-06 03:21:22 -0400
commite9dacbf2bd7f4d05fec80311fa47920d9243b46c (patch)
tree8a0c1bfa52a19dd21e1930c77d17cca01d6897b5 /arch/arm/boot
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>
Diffstat (limited to 'arch/arm/boot')
-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 @@
9/dts-v1/; 9/dts-v1/;
10#include "stih416.dtsi" 10#include "stih416.dtsi"
11#include "stih41x-b2020.dtsi" 11#include "stih41x-b2020.dtsi"
12#include <dt-bindings/gpio/gpio.h>
12/ { 13/ {
13 model = "STiH416 B2020 REV-E"; 14 model = "STiH416 B2020 REV-E";
14 compatible = "st,stih416-b2020", "st,stih416"; 15 compatible = "st,stih416-b2020", "st,stih416";
@@ -17,13 +18,12 @@
17 leds { 18 leds {
18 compatible = "gpio-leds"; 19 compatible = "gpio-leds";
19 red { 20 red {
20 #gpio-cells = <1>;
21 label = "Front Panel LED"; 21 label = "Front Panel LED";
22 gpios = <&pio4 1>; 22 gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
23 linux,default-trigger = "heartbeat"; 23 linux,default-trigger = "heartbeat";
24 }; 24 };
25 green { 25 green {
26 gpios = <&pio1 3>; 26 gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
27 default-state = "off"; 27 default-state = "off";
28 }; 28 };
29 }; 29 };