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>
};
};
+ 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";
};