Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9dacbf2 authored by Patrice Chotard's avatar Patrice Chotard
Browse files

ARM: dts: STiH416-b2020e: 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 5984d653
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
/dts-v1/;
#include "stih416.dtsi"
#include "stih41x-b2020.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ {
	model = "STiH416 B2020 REV-E";
	compatible = "st,stih416-b2020", "st,stih416";
@@ -17,13 +18,12 @@
		leds {
			compatible = "gpio-leds";
			red {
				#gpio-cells		= <1>;
				label			= "Front Panel LED";
				gpios			= <&pio4 1>;
				gpios			= <&pio4 1 GPIO_ACTIVE_HIGH>;
				linux,default-trigger	= "heartbeat";
			};
			green {
				gpios			= <&pio1 3>;
				gpios			= <&pio1 3 GPIO_ACTIVE_HIGH>;
				default-state 		= "off";
			};
		};