ARM: dts: exynos5422-odroidxu3: add leds dt nodes
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 23 Mar 2015 05:18:52 +0000 (14:18 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 13 Apr 2015 10:44:48 +0000 (12:44 +0200)
This patch adds leds dt nodes to support rgb led devices. The dt
nodes are ported from https://github.com/hardkernel/linux.git
+refs/heads/odroidxu3-3.10.y.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
arch/arm/boot/dts/exynos5422-odroidxu3.dts

index b92040b..f08eec1 100644 (file)
                };
        };
 
+       leds {
+               compatible = "gpio-leds";
+
+               blue-led {
+                       label = "blue:heartbeart";
+                       gpios = <&gpb2 2 0>;
+                       default-state = "off";
+                       linux,default-trigger = "heartbeat";
+               };
+
+               gree-led {
+                       label = "green:activity";
+                       gpios = <&gpb2 1 0>;
+                       default-state = "off";
+                       linux,default-trigger = "mmc0";
+               };
+
+               red-led {
+                       label = "red:activity";
+                       gpios = <&gpx2 3 0>;
+                       default-state = "off";
+                       linux,default-trigger = "mmc1";
+               };
+       };
+
        rtc@101E0000 {
                status = "okay";
        };