Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Edward Cragg and committed by
Carlo Caione
c16d1fdb 8005c49d

+11
+11
arch/arm/boot/dts/meson8b-odroidc1.dts
··· 46 46 47 47 /dts-v1/; 48 48 #include "meson8b.dtsi" 49 + #include <dt-bindings/gpio/gpio.h> 49 50 50 51 / { 51 52 model = "Hardkernel ODROID-C1"; ··· 58 57 59 58 memory { 60 59 reg = <0x40000000 0x40000000>; 60 + }; 61 + 62 + leds { 63 + compatible = "gpio-leds"; 64 + blue { 65 + label = "c1:blue:alive"; 66 + gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>; 67 + linux,default-trigger = "heartbeat"; 68 + default-state = "off"; 69 + }; 61 70 }; 62 71 }; 63 72