summaryrefslogtreecommitdiffstats
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
parentARM: dts: STiHxxx-b2120: update gpio specifier (diff)
downloadlinux-5984d65342965466594670693a40cc2edc834ba4.tar.xz
linux-5984d65342965466594670693a40cc2edc834ba4.zip
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.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";
};
};