summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/at91-sama5d4ek.dts
diff options
context:
space:
mode:
authorJosh Wu <josh.wu@atmel.com>2015-02-09 12:40:20 +0300
committerNicolas Ferre <nicolas.ferre@atmel.com>2015-03-04 20:36:12 +0300
commit1bc54652767637d1be3515129777b83abc997fcc (patch)
treeedc5d33c614ed8fa327c7bbdfde96e7a3f1a9af4 /arch/arm/boot/dts/at91-sama5d4ek.dts
parent4cc7cdf35c5f8022fde2d5046a79b52967e390f5 (diff)
downloadlinux-1bc54652767637d1be3515129777b83abc997fcc.tar.xz
ARM: at91/dt: sama5d4ek: add leds in DT node
Add the leds DT node in the dts file. In the leds, d10 is set as heartbeat led. Signed-off-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/at91-sama5d4ek.dts')
-rw-r--r--arch/arm/boot/dts/at91-sama5d4ek.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts
index 61f537a68ee8..fbd1ed22bb3e 100644
--- a/arch/arm/boot/dts/at91-sama5d4ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d4ek.dts
@@ -255,4 +255,26 @@
gpio-key,wakeup;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+ status = "okay";
+
+ d8 {
+ label = "d8";
+ /* PE28, conflicts with usart4 rts pin */
+ gpios = <&pioE 28 GPIO_ACTIVE_LOW>;
+ };
+
+ d9 {
+ label = "d9";
+ gpios = <&pioE 9 GPIO_ACTIVE_HIGH>;
+ };
+
+ d10 {
+ label = "d10";
+ gpios = <&pioE 8 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "heartbeat";
+ };
+ };
};