diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2016-08-04 05:44:32 -0400 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@st.com> | 2016-09-06 03:21:20 -0400 |
commit | 2402850faca9cf56209cb9eff73c6203c90cf0c5 (patch) | |
tree | 8d5d7c99040e7857e47007e3cde297e0267b184e | |
parent | 973b932450b7a7e14de654bf32ceae37a5943ca1 (diff) |
ARM: dts: STiHxxx-b2120: 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/stihxxx-b2120.dtsi | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index 0b0dd024f72d..80ec40d3d987 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi | |||
@@ -18,14 +18,12 @@ | |||
18 | leds { | 18 | leds { |
19 | compatible = "gpio-leds"; | 19 | compatible = "gpio-leds"; |
20 | red { | 20 | red { |
21 | #gpio-cells = <2>; | ||
22 | label = "Front Panel LED"; | 21 | label = "Front Panel LED"; |
23 | gpios = <&pio4 1 0>; | 22 | gpios = <&pio4 1 GPIO_ACTIVE_HIGH>; |
24 | linux,default-trigger = "heartbeat"; | 23 | linux,default-trigger = "heartbeat"; |
25 | }; | 24 | }; |
26 | green { | 25 | green { |
27 | #gpio-cells = <2>; | 26 | gpios = <&pio1 3 GPIO_ACTIVE_HIGH>; |
28 | gpios = <&pio1 3 0>; | ||
29 | default-state = "off"; | 27 | default-state = "off"; |
30 | }; | 28 | }; |
31 | }; | 29 | }; |