summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2016-08-04 11:44:32 +0200
committerPatrice Chotard <patrice.chotard@st.com>2016-09-06 09:21:20 +0200
commit2402850faca9cf56209cb9eff73c6203c90cf0c5 (patch)
tree8d5d7c99040e7857e47007e3cde297e0267b184e
parentARM: dts: STiH416-pinctrl: update gpio-cells to 2 (diff)
downloadlinux-2402850faca9cf56209cb9eff73c6203c90cf0c5.tar.xz
linux-2402850faca9cf56209cb9eff73c6203c90cf0c5.zip
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.dtsi6
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 @@
leds {
compatible = "gpio-leds";
red {
- #gpio-cells = <2>;
label = "Front Panel LED";
- gpios = <&pio4 1 0>;
+ gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
green {
- #gpio-cells = <2>;
- gpios = <&pio1 3 0>;
+ gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};