From cd58454dc2780fbaeae1054158330252c0168b1d Mon Sep 17 00:00:00 2001 From: Josep Orga Date: Sat, 18 Apr 2020 19:18:23 +0200 Subject: [PATCH] ARM: dts: Add Heartbeat LED support imx6ull-somdevices.dtsi. Signed-off-by: Josep Orga --- arch/arm/boot/dts/imx6ull-somdevices.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-somdevices.dtsi b/arch/arm/boot/dts/imx6ull-somdevices.dtsi index ca96862f0276..8a034c65f715 100644 --- a/arch/arm/boot/dts/imx6ull-somdevices.dtsi +++ b/arch/arm/boot/dts/imx6ull-somdevices.dtsi @@ -11,6 +11,7 @@ #include #include "imx6ull.dtsi" +#include / { model = "Freescale i.MX6 ULL µSMARC SOMDEVICES Board"; @@ -69,6 +70,18 @@ }; #endif }; + + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_led>; + + led0 { + label = "Heartbeat"; + gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + }; + }; }; &cpu0 { @@ -583,6 +596,12 @@ >; }; + pinctrl_led: ledgrp { + fsl,pins = < + MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x1b0b0 //LED + >; + }; + pinctrl_pf1550: pf1550 { fsl,pins = < MX6ULL_PAD_SNVS_TAMPER8__GPIO5_IO08 0x1b0b0 //PMIC_INT -- 2.17.1