Commit c16d1fdb authored by Edward Cragg's avatar Edward Cragg Committed by Carlo Caione

ARM: meson: Add status LED for Odroid-C1

Add the blue status LED to the Hardkernel Odroid C1 board DTS.

Signed-off-by: <edward.cragg@codethink.co.uk>
Signed-off-by: default avatarCarlo Caione <carlo@endlessm.com>
parent 8005c49d
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
/dts-v1/; /dts-v1/;
#include "meson8b.dtsi" #include "meson8b.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ { / {
model = "Hardkernel ODROID-C1"; model = "Hardkernel ODROID-C1";
...@@ -58,6 +59,16 @@ aliases { ...@@ -58,6 +59,16 @@ aliases {
memory { memory {
reg = <0x40000000 0x40000000>; 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 { &uart_AO {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment