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

Commit 2402850f authored by Patrice Chotard's avatar Patrice Chotard
Browse files

ARM: dts: STiHxxx-b2120: 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 973b9324
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -18,14 +18,12 @@
		leds {
			compatible = "gpio-leds";
			red {
				#gpio-cells = <2>;
				label = "Front Panel LED";
				gpios = <&pio4 1 0>;
				gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
				linux,default-trigger = "heartbeat";
			};
			green {
				#gpio-cells = <2>;
				gpios = <&pio1 3 0>;
				gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
				default-state = "off";
			};
		};