summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2014-04-14 19:37:25 +0400
committerShawn Guo <shawn.guo@freescale.com>2014-05-16 19:01:53 +0400
commit94a1bbf85ac6d49d1e1452c8f8fe4db20e48d139 (patch)
treeb8412849950db2cddcc4f3f42db9f975dcee3585 /arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi
parent7ed47ef1c98ca7f846b75f45cb927b8ee27f78e5 (diff)
downloadlinux-94a1bbf85ac6d49d1e1452c8f8fe4db20e48d139.tar.xz
ARM: dts: pfla02: Add GPIO LEDs
This patch enables the red and green GPIO LEDs on Phytec phyFLEX i.MX6 modules. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi
index 8ab2c448b56c..713893702122 100644
--- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi
@@ -40,6 +40,20 @@
gpio = <&gpio1 0 0>;
};
};
+
+ gpio_leds: leds {
+ compatible = "gpio-leds";
+
+ green {
+ label = "phyflex:green";
+ gpios = <&gpio1 30 0>;
+ };
+
+ red {
+ label = "phyflex:red";
+ gpios = <&gpio2 31 0>;
+ };
+ };
};
&ecspi3 {
@@ -156,6 +170,8 @@
MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000
MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x80000000 /* SPI NOR chipselect */
MX6QDL_PAD_DI0_PIN15__GPIO4_IO17 0x80000000 /* PMIC interrupt */
+ MX6QDL_PAD_ENET_TXD0__GPIO1_IO30 0x80000000 /* Green LED */
+ MX6QDL_PAD_EIM_EB3__GPIO2_IO31 0x80000000 /* Red LED */
>;
};