Commit 5984d653 authored by Patrice Chotard's avatar Patrice Chotard

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: default avatarPatrice Chotard <patrice.chotard@st.com>
parent 2402850f
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
* publishhed by the Free Software Foundation. * publishhed by the Free Software Foundation.
*/ */
#include <dt-bindings/input/input.h> #include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>
/ { / {
memory{ memory{
...@@ -33,9 +35,8 @@ serial2: serial@fed32000 { ...@@ -33,9 +35,8 @@ serial2: serial@fed32000 {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
fp_led { fp_led {
#gpio-cells = <1>;
label = "Front Panel LED"; label = "Front Panel LED";
gpios = <&pio105 7>; gpios = <&pio105 7 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment