lkml.org 
[lkml]   [2015]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RESEND] [PATCH 1/1] ARM: dts: Add LEDs on odroid XU3 board
This patch adds the RGB-LED on XU3 as 3 gpio-leds.
It is derived from hardkernel's 3.10 tree.

Tested-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
---
arch/arm/boot/dts/exynos5422-odroidxu3.dts | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
index a519c86..0a32302 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
@@ -278,6 +278,30 @@
rtc@101E0000 {
status = "okay";
};
+
+ leds {
+ compatible = "gpio-leds";
+ heartbeat {
+ label = "blue:heartbeart";
+ gpios = <&gpb2 2 0>;
+ default-state = "off";
+ linux,default-trigger = "heartbeat";
+ };
+
+ eMMC {
+ label = "green:eMMC";
+ gpios = <&gpb2 1 0>;
+ default-state = "off";
+ linux,default-trigger = "mmc0";
+ };
+
+ microSD {
+ label = "red:microSD";
+ gpios = <&gpx2 3 0>;
+ default-state = "off";
+ linux,default-trigger = "mmc1";
+ };
+ };
};

&hdmi {
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html




\
 
 \ /
  Last update: 2015-04-13 11:21    [W:0.025 / U:1.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site