From: Seung-Woo Kim Date: Mon, 23 Mar 2015 05:18:52 +0000 (+0900) Subject: ARM: dts: exynos5422-odroidxu3: add leds dt nodes X-Git-Tag: submit/tizen/20150416.081342~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b74026cb4d5c697cf7826f6ad6f703f4a8bd93c;p=platform%2Fkernel%2Flinux-exynos.git 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 --- 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"; };