ARM: dts: Add LEDs on odroid XU3 board.
Subsystems (2)
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.
Signed-off-by Markus Reichl <[email protected]>
--- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
arch/arm/boot/dts/exynos5422-odroidxu3.dts +24 -0
@@ -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 {
Signature · 1 line
1.9.1