summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos5422-odroidxu3.dts
diff options
context:
space:
mode:
authorMarkus Reichl <m.reichl@fivetechno.de>2015-05-08 21:02:41 +0200
committerKukjin Kim <kgene@kernel.org>2015-05-08 21:03:15 +0200
commit88792555125ce7043769c22f83166cca5e1255bd (patch)
tree81ff81b05b4cc4ccd024e527ee0f942f5cd621b9 /arch/arm/boot/dts/exynos5422-odroidxu3.dts
parentARM: dts: add mmc detect gpio for exynos5422-odroidxu3 (diff)
downloadlinux-88792555125ce7043769c22f83166cca5e1255bd.tar.xz
linux-88792555125ce7043769c22f83166cca5e1255bd.zip
ARM: dts: Add LEDs for exynos5422-odroidxu3
This patch adds the RGB-LED on XU3 as 3 gpio-leds. Signed-off-by: Markus Reichl <m.reichl@fivetechno.de> Tested-by: Anand Moon <linux.amoon@gmail.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos5422-odroidxu3.dts')
-rw-r--r--arch/arm/boot/dts/exynos5422-odroidxu3.dts24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
index cb649b1a3f55..026f83e4e363 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
@@ -286,6 +286,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 {