ARM: meson: Add status LED for Odroid-C1
authorEdward Cragg <edward.cragg@codethink.co.uk>
Fri, 27 Nov 2015 08:45:28 +0000 (09:45 +0100)
committerCarlo Caione <carlo@endlessm.com>
Mon, 4 Jan 2016 09:54:38 +0000 (10:54 +0100)
Add the blue status LED to the Hardkernel Odroid C1 board DTS.

Signed-off-by: <edward.cragg@codethink.co.uk>
Signed-off-by: Carlo Caione <carlo@endlessm.com>
arch/arm/boot/dts/meson8b-odroidc1.dts

index a8e2911b2cbed26e0182133f1382ecba262b9112..e50f1a1fdbc79a57116b499a8a227369083b387e 100644 (file)
@@ -46,6 +46,7 @@
 
 /dts-v1/;
 #include "meson8b.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
        model = "Hardkernel ODROID-C1";
        memory {
                reg = <0x40000000 0x40000000>;
        };
+
+       leds {
+               compatible = "gpio-leds";
+               blue {
+                       label = "c1:blue:alive";
+                       gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "heartbeat";
+                       default-state = "off";
+               };
+       };
 };
 
 &uart_AO {