ARM: at91: at91sam9x5cm/dt: add leds support
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 23 Feb 2012 15:09:41 +0000 (23:09 +0800)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 1 Mar 2012 14:34:22 +0000 (22:34 +0800)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/boot/dts/at91sam9x5cm.dtsi

index 4ab5a77f4afca0518e846e37c22d86128c96d318..64ae3e890259e56ed7ab626b8e402620ab2990bb 100644 (file)
        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>;
+               };
+       };
 };