summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2015-03-23 14:18:52 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:49:59 +0900
commit11d99055b4b59435213cd27dea45748df7087857 (patch)
tree1fd538dc13e07fdc808b7f7af28be1640d616024 /arch/arm/boot/dts
parent630f2f670b58d0ddf1721fe4999135f5958276ca (diff)
ARM: dts: exynos5422-odroidxu3: add leds dt nodes
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>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/exynos5422-odroidxu3.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
index b92040b6f767..f08eec1e897e 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
@@ -284,6 +284,31 @@
};
};
+ 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";
};