diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2016-08-04 05:50:21 -0400 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@st.com> | 2016-09-06 03:21:21 -0400 |
commit | 5984d65342965466594670693a40cc2edc834ba4 (patch) | |
tree | c430452c5bbbc2209cfe9cbae5b15b7f029d5c40 | |
parent | 2402850faca9cf56209cb9eff73c6203c90cf0c5 (diff) |
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>
-rw-r--r-- | arch/arm/boot/dts/stih41x-b2000.dtsi | 5 |
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 @@ | |||
7 | * publishhed by the Free Software Foundation. | 7 | * publishhed by the Free Software Foundation. |
8 | */ | 8 | */ |
9 | #include <dt-bindings/input/input.h> | 9 | #include <dt-bindings/input/input.h> |
10 | #include <dt-bindings/gpio/gpio.h> | ||
11 | |||
10 | / { | 12 | / { |
11 | 13 | ||
12 | memory{ | 14 | memory{ |
@@ -33,9 +35,8 @@ | |||
33 | leds { | 35 | leds { |
34 | compatible = "gpio-leds"; | 36 | compatible = "gpio-leds"; |
35 | fp_led { | 37 | fp_led { |
36 | #gpio-cells = <1>; | ||
37 | label = "Front Panel LED"; | 38 | label = "Front Panel LED"; |
38 | gpios = <&pio105 7>; | 39 | gpios = <&pio105 7 GPIO_ACTIVE_HIGH>; |
39 | linux,default-trigger = "heartbeat"; | 40 | linux,default-trigger = "heartbeat"; |
40 | }; | 41 | }; |
41 | }; | 42 | }; |