diff options
author | Edward Cragg <edward.cragg@codethink.co.uk> | 2015-11-27 11:45:28 +0300 |
---|---|---|
committer | Carlo Caione <carlo@endlessm.com> | 2016-01-04 12:54:38 +0300 |
commit | c16d1fdb4ee4142351bdbd57222cdd5d5e25df94 (patch) | |
tree | 39c4cae2b1b07190549558e03fde1f684a789af7 /arch/arm/boot/dts/meson8b-odroidc1.dts | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) | |
download | linux-c16d1fdb4ee4142351bdbd57222cdd5d5e25df94.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/dts/meson8b-odroidc1.dts')
-rw-r--r-- | arch/arm/boot/dts/meson8b-odroidc1.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index a8e2911b2cbe..e50f1a1fdbc7 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -46,6 +46,7 @@ /dts-v1/; #include "meson8b.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "Hardkernel ODROID-C1"; @@ -58,6 +59,16 @@ 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 { |