Browse Source

ARM: at91: usb_a9g20/dt: add leds support

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Jean-Christophe PLAGNIOL-VILLARD 13 years ago
parent
commit
4ea2565399
1 changed files with 10 additions and 0 deletions
  1. 10 0
      arch/arm/boot/dts/usb_a9g20.dts

+ 10 - 0
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";
+		};
+	};
 };