From c16d1fdb4ee4142351bdbd57222cdd5d5e25df94 Mon Sep 17 00:00:00 2001 From: Edward Cragg Date: Fri, 27 Nov 2015 09:45:28 +0100 Subject: [PATCH] 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 --- arch/arm/boot/dts/meson8b-odroidc1.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 { -- 2.20.1