Skip to content

Commit

Permalink
ARM: meson: Add status LED for Odroid-C1
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Edward Cragg authored and Carlo Caione committed Jan 4, 2016
1 parent 8005c49 commit c16d1fd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arch/arm/boot/dts/meson8b-odroidc1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@

/dts-v1/;
#include "meson8b.dtsi"
#include <dt-bindings/gpio/gpio.h>

/ {
model = "Hardkernel ODROID-C1";
Expand All @@ -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 {
Expand Down

0 comments on commit c16d1fd

Please sign in to comment.