ARM: dts: STiH418-B2199: Update gpio specifier
- Remove useless gpio-cells - Update second parameter by using GPIO_ACTIVE_HIGH/LOW instead of hardcoded value Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
4e6ee33684
commit
c3ee7e9d13
|
@ -8,6 +8,7 @@
|
||||||
*/
|
*/
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
#include "stih418.dtsi"
|
#include "stih418.dtsi"
|
||||||
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
/ {
|
/ {
|
||||||
model = "STiH418 B2199";
|
model = "STiH418 B2199";
|
||||||
compatible = "st,stih418-b2199", "st,stih418";
|
compatible = "st,stih418-b2199", "st,stih418";
|
||||||
|
@ -35,14 +36,12 @@
|
||||||
leds {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
red {
|
red {
|
||||||
#gpio-cells = <2>;
|
|
||||||
label = "Front Panel LED";
|
label = "Front Panel LED";
|
||||||
gpios = <&pio4 1 0>;
|
gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
|
||||||
linux,default-trigger = "heartbeat";
|
linux,default-trigger = "heartbeat";
|
||||||
};
|
};
|
||||||
green {
|
green {
|
||||||
#gpio-cells = <2>;
|
gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
|
||||||
gpios = <&pio1 3 0>;
|
|
||||||
default-state = "off";
|
default-state = "off";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue