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 5f91f45..9bfa067 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";
                        };
                };