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-Url: http://drtracing.org/?a=commitdiff_plain;h=4ea256539907f2998a1a361786917bc4fa423f7a;p=deliverable%2Flinux.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"; + }; + }; };