提交 88792555 编写于 作者: M Markus Reichl 提交者: Kukjin Kim

ARM: dts: Add LEDs for exynos5422-odroidxu3

This patch adds the RGB-LED on XU3 as 3 gpio-leds.
Signed-off-by: NMarkus Reichl <m.reichl@fivetechno.de>
Tested-by: NAnand Moon <linux.amoon@gmail.com>
Signed-off-by: NKukjin Kim <kgene@kernel.org>
上级 fb1aeedb
...@@ -286,6 +286,30 @@ ...@@ -286,6 +286,30 @@
rtc@101E0000 { rtc@101E0000 {
status = "okay"; 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 { &hdmi {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册