From: Josep Orga Date: Thu, 23 Apr 2020 17:02:00 +0000 (+0200) Subject: ARM: dts: Add imx6ull-somdevices-C0P1.dts add LEDs. X-Git-Tag: rel_imx_4.19.35_1.1.0-somdevices.0~1 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=2750b3b8cf62f2df4bb3f21435b772d0677a9ad8;p=linux.git ARM: dts: Add imx6ull-somdevices-C0P1.dts add LEDs. Signed-off-by: Josep Orga --- diff --git a/arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts b/arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts index 7024142619b6..a665773994f2 100644 --- a/arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts +++ b/arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts @@ -2,3 +2,23 @@ #define BIG_LCD #include "imx6ull-somdevices.dtsi" + +/ { + leds { + led1 { + label = "red"; + gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + led2 { + label = "green"; + gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + led3 { + label = "yellow"; + gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + }; +};