Browse Source

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>
Markus Reichl 10 years ago
parent
commit
8879255512
1 changed files with 24 additions and 0 deletions
  1. 24 0
      arch/arm/boot/dts/exynos5422-odroidxu3.dts

+ 24 - 0
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 {