summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2016-08-04 11:50:21 +0200
committerPatrice Chotard <patrice.chotard@st.com>2016-09-06 09:21:21 +0200
commit5984d65342965466594670693a40cc2edc834ba4 (patch)
treec430452c5bbbc2209cfe9cbae5b15b7f029d5c40 /arch/arm
parent2402850faca9cf56209cb9eff73c6203c90cf0c5 (diff)
downloadlinux-5984d65342965466594670693a40cc2edc834ba4.tar.bz2
ARM: dts: STiH41x-b2000: 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')
-rw-r--r--arch/arm/boot/dts/stih41x-b2000.dtsi5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/stih41x-b2000.dtsi b/arch/arm/boot/dts/stih41x-b2000.dtsi
index 5f91f455f05b..9bfa0674b452 100644
--- a/arch/arm/boot/dts/stih41x-b2000.dtsi
+++ b/arch/arm/boot/dts/stih41x-b2000.dtsi
@@ -7,6 +7,8 @@
* publishhed by the Free Software Foundation.
*/
#include <dt-bindings/input/input.h>
+#include <dt-bindings/gpio/gpio.h>
+
/ {
memory{
@@ -33,9 +35,8 @@
leds {
compatible = "gpio-leds";
fp_led {
- #gpio-cells = <1>;
label = "Front Panel LED";
- gpios = <&pio105 7>;
+ gpios = <&pio105 7 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
};