mirror of https://gitee.com/openkylin/linux.git
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: Carlo Caione <carlo@endlessm.com>
This commit is contained in:
parent
8005c49d9a
commit
c16d1fdb4e
|
@ -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 {
|
||||||
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 {
|
||||||
|
|
Loading…
Reference in New Issue