From: Edward Cragg Date: Fri, 27 Nov 2015 08:45:28 +0000 (+0100) Subject: ARM: meson: Add status LED for Odroid-C1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c16d1fdb4ee4142351bdbd57222cdd5d5e25df94;p=linux-beck.git ARM: meson: Add status LED for Odroid-C1 Add the blue status LED to the Hardkernel Odroid C1 board DTS. Signed-off-by: Signed-off-by: Carlo Caione --- 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 / { 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 {