summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stih41x-b2020.dtsi
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2016-08-10 16:13:00 +0300
committerPatrice Chotard <patrice.chotard@st.com>2016-09-02 16:15:14 +0300
commitba5ba11906d5462993f5fd4e3da4d234505427a0 (patch)
treec36e4408034d743ca9a0144cd523162d5ed267fc /arch/arm/boot/dts/stih41x-b2020.dtsi
parentc3ee7e9d136d789bf33aa1e6c07b40d7a9721ec0 (diff)
downloadlinux-ba5ba11906d5462993f5fd4e3da4d234505427a0.tar.xz
ARM: dts: STiH41x-b2020: Update gpio specifier
- Remove useless gpio-cells - Update second parameter by using GPIO_ACTIVE_HIGH/LOW instead of hardcoded value Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/stih41x-b2020.dtsi')
-rw-r--r--arch/arm/boot/dts/stih41x-b2020.dtsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/stih41x-b2020.dtsi b/arch/arm/boot/dts/stih41x-b2020.dtsi
index 487d7d87dbef..322e0e95176c 100644
--- a/arch/arm/boot/dts/stih41x-b2020.dtsi
+++ b/arch/arm/boot/dts/stih41x-b2020.dtsi
@@ -7,6 +7,7 @@
* publishhed by the Free Software Foundation.
*/
#include "stih41x-b2020x.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
memory{
device_type = "memory";
@@ -30,13 +31,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 = <&pio4 7>;
+ gpios = <&pio4 7 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};