From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 23 Feb 2012 15:09:41 +0000 (+0800) Subject: ARM: at91: at91sam9x5cm/dt: add leds support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f75622f4679479d352d2fa83e0d84c6c13cfcb5f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: at91: at91sam9x5cm/dt: add leds support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Nicolas Ferre --- diff --git a/arch/arm/boot/dts/at91sam9x5cm.dtsi b/arch/arm/boot/dts/at91sam9x5cm.dtsi index 4ab5a77f4afc..64ae3e890259 100644 --- a/arch/arm/boot/dts/at91sam9x5cm.dtsi +++ b/arch/arm/boot/dts/at91sam9x5cm.dtsi @@ -11,4 +11,19 @@ memory@20000000 { reg = <0x20000000 0x8000000>; }; + + leds { + compatible = "gpio-leds"; + + pb18 { + label = "pb18"; + gpios = <&pioB 18 1>; + linux,default-trigger = "heartbeat"; + }; + + pd21 { + label = "pd21"; + gpios = <&pioD 21 0>; + }; + }; };