From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 3 Feb 2012 17:24:22 +0000 (+0800) Subject: ARM: at91: usb_a9g20/dt: add leds support X-Git-Tag: firefly_0821_release~3680^2~3232^2~10^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4ea256539907f2998a1a361786917bc4fa423f7a;p=firefly-linux-kernel-4.4.55.git ARM: at91: usb_a9g20/dt: add leds support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Nicolas Ferre --- diff --git a/arch/arm/boot/dts/usb_a9g20.dts b/arch/arm/boot/dts/usb_a9g20.dts index f04b535477f5..6ad4d84f903a 100644 --- a/arch/arm/boot/dts/usb_a9g20.dts +++ b/arch/arm/boot/dts/usb_a9g20.dts @@ -32,4 +32,14 @@ }; }; }; + + leds { + compatible = "gpio-leds"; + + user_led { + label = "user_led"; + gpios = <&pioB 21 1>; + linux,default-trigger = "heartbeat"; + }; + }; };