ARM: dts: STiH41x-b2000: update gpio specifier
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 4 Aug 2016 09:50:21 +0000 (11:50 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Tue, 6 Sep 2016 07:21:21 +0000 (09:21 +0200)
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>
arch/arm/boot/dts/stih41x-b2000.dtsi

index 5f91f455f05b7084927f0c05da530e1271de59c7..9bfa0674b452fdc1c3d86a64e9c591ee06ca5271 100644 (file)
@@ -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";
                        };
                };