Commit 94a1bbf8 authored by Philipp Zabel's avatar Philipp Zabel Committed by Shawn Guo

ARM: dts: pfla02: Add GPIO LEDs

This patch enables the red and green GPIO LEDs on Phytec phyFLEX i.MX6 modules.
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawn.guo@freescale.com>
parent 7ed47ef1
...@@ -40,6 +40,20 @@ reg_usb_h1_vbus: regulator@1 { ...@@ -40,6 +40,20 @@ reg_usb_h1_vbus: regulator@1 {
gpio = <&gpio1 0 0>; 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 { &ecspi3 {
...@@ -156,6 +170,8 @@ pinctrl_hog: hoggrp { ...@@ -156,6 +170,8 @@ pinctrl_hog: hoggrp {
MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000 MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000
MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x80000000 /* SPI NOR chipselect */ MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x80000000 /* SPI NOR chipselect */
MX6QDL_PAD_DI0_PIN15__GPIO4_IO17 0x80000000 /* PMIC interrupt */ 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 */
>; >;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment