* [PATCH v2] ARM: meson: Add status LED for Odroid-C1
@ 2015-11-04 12:17 Edward Cragg
0 siblings, 0 replies; only message in thread
From: Edward Cragg @ 2015-11-04 12:17 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, Carlo Caione, devicetree, linux-kernel,
ct173-kernel-internal
Add the blue status LED to the Hardkernel Odroid C1 board DTS.
Signed-off-by: <edward.cragg@codethink.co.uk>
---
Changes in v2:
- Remove additional copyright
arch/arm/boot/dts/meson8b-odroidc1.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts
index 88669a7..1f03406 100644
--- a/arch/arm/boot/dts/meson8b-odroidc1.dts
+++ b/arch/arm/boot/dts/meson8b-odroidc1.dts
@@ -1,6 +1,7 @@
/*
* Copyright 2015 Endless Mobile, Inc.
* Author: Carlo Caione <carlo@endlessm.com>
+ * Author: Edward Cragg <edward.cragg@codethink.co.uk>
*
* This file is dual-licensed: you can use it either under the terms
* of the GPL or the X11 license, at your option. Note that this dual
@@ -46,6 +47,7 @@
/dts-v1/;
#include "meson8b.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
model = "Hardkernel ODROID-C1";
@@ -58,6 +60,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";
+ };
+ };
};
&mmc0 {
--
2.6.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-04 12:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-04 12:17 [PATCH v2] ARM: meson: Add status LED for Odroid-C1 Edward Cragg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®