diff options
author | Markus Reichl <m.reichl@fivetechno.de> | 2015-05-08 22:02:41 +0300 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-05-08 22:03:15 +0300 |
commit | 88792555125ce7043769c22f83166cca5e1255bd (patch) | |
tree | 81ff81b05b4cc4ccd024e527ee0f942f5cd621b9 /arch/arm/boot/dts/exynos5422-odroidxu3.dts | |
parent | fb1aeedb61adcb7651eada9eb79ddfa11f21f085 (diff) | |
download | linux-88792555125ce7043769c22f83166cca5e1255bd.tar.xz |
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.dts | 24 |
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 { |