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>
This commit is contained in:
Patrice Chotard 2016-08-04 11:50:21 +02:00
parent 2402850fac
commit 5984d65342
1 changed files with 3 additions and 2 deletions

View 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";
};
};