summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-02-15 15:35:18 +0400
committerShawn Guo <shawn.guo@linaro.org>2014-02-17 13:22:09 +0800
commit5ee49a117c88d95e7cff86a5cd956c4420988c03 (patch)
treed061c8d1454680235e95928e2d649a812da241da /arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts
parent5ac7bfb6203fb2ccc145611dfdcff7d793d65373 (diff)
downloadblackbird-obmc-linux-5ee49a117c88d95e7cff86a5cd956c4420988c03.tar.gz
blackbird-obmc-linux-5ee49a117c88d95e7cff86a5cd956c4420988c03.zip
ARM: dts: imx27-phytec-phycore: Add diagnostic PMIC LEDs
PCM-038 module have three triple LEDs connected to PMIC which can be used for diagnostic purposes. This patch adds support for these LEDs for PCM-038 SOM and adds basic LED-triggers for these LEDs for PCM-970 RDK, the remaining LEDs are available for use from userspace. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts')
-rw-r--r--arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts50
1 files changed, 50 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts b/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts
index 9f8ad51d2ed9..9a0754300685 100644
--- a/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts
+++ b/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts
@@ -96,6 +96,56 @@
status = "okay";
};
+&pmicleds {
+ ledr1: led@3 {
+ reg = <3>;
+ label = "system:red1:user";
+ };
+
+ ledg1: led@4 {
+ reg = <4>;
+ label = "system:green1:user";
+ };
+
+ ledb1: led@5 {
+ reg = <5>;
+ label = "system:blue1:user";
+ };
+
+ ledr2: led@6 {
+ reg = <6>;
+ label = "system:red2:user";
+ };
+
+ ledg2: led@7 {
+ reg = <7>;
+ label = "system:green2:user";
+ };
+
+ ledb2: led@8 {
+ reg = <8>;
+ label = "system:blue2:user";
+ };
+
+ ledr3: led@9 {
+ reg = <9>;
+ label = "system:red3:nand";
+ linux,default-trigger = "nand-disk";
+ };
+
+ ledg3: led@10 {
+ reg = <10>;
+ label = "system:green3:live";
+ linux,default-trigger = "heartbeat";
+ };
+
+ ledb3: led@11 {
+ reg = <11>;
+ label = "system:blue3:cpu";
+ linux,default-trigger = "cpu0";
+ };
+};
+
&sdhci2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sdhc2>;
OpenPOWER on IntegriCloud