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: v3.4-rc1~85^2~4^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ea256539907f2998a1a361786917bc4fa423f7a;p=thirdparty%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 f04b535477f54..6ad4d84f903a0 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"; + }; + }; };