From 2750b3b8cf62f2df4bb3f21435b772d0677a9ad8 Mon Sep 17 00:00:00 2001 From: Josep Orga Date: Thu, 23 Apr 2020 19:02:00 +0200 Subject: [PATCH] ARM: dts: Add imx6ull-somdevices-C0P1.dts add LEDs. Signed-off-by: Josep Orga --- arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) 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"; + }; + }; +}; -- 2.17.1