summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6qdl-tx6.dtsi
diff options
context:
space:
mode:
authorLothar Waßmann <LW@KARO-electronics.de>2016-03-31 14:33:42 +0200
committerShawn Guo <shawnguo@kernel.org>2016-04-13 11:47:53 +0200
commit96de03677f57fa1455d94fa289cfafff58727d0a (patch)
treecf0bdc30dd9e3fded559c082923c7818db591ec5 /arch/arm/boot/dts/imx6qdl-tx6.dtsi
parentARM: dts: imx6-tx6: remove regulator bus (diff)
downloadlinux-96de03677f57fa1455d94fa289cfafff58727d0a.tar.xz
linux-96de03677f57fa1455d94fa289cfafff58727d0a.zip
ARM: dts: imx6-tx6: remove LED pinctrl setting from hoggrp
Move the pinctrl setting for the board LED from the hoggrp node to a separate node referenced by the LED driver, so that the pin is free to be used for different purpose when the LED driver is disabled. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-tx6.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6qdl-tx6.dtsi9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-tx6.dtsi b/arch/arm/boot/dts/imx6qdl-tx6.dtsi
index c0612662db61..ddf58b80d81c 100644
--- a/arch/arm/boot/dts/imx6qdl-tx6.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-tx6.dtsi
@@ -92,6 +92,8 @@
user_led: user {
label = "Heartbeat";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_user_led>;
gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
@@ -332,7 +334,6 @@
pinctrl_hog: hoggrp {
fsl,pins = <
- MX6QDL_PAD_EIM_A18__GPIO2_IO20 0x1b0b1 /* LED */
MX6QDL_PAD_SD3_DAT2__GPIO7_IO06 0x1b0b1 /* ETN PHY RESET */
MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1b0b1 /* ETN PHY INT */
MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x1b0b1 /* PWR BTN */
@@ -638,6 +639,12 @@
MX6QDL_PAD_SD3_CLK__GPIO7_IO03 0x170b0 /* SD2 CD */
>;
};
+
+ pinctrl_user_led: user-ledgrp {
+ fsl,pins = <
+ MX6QDL_PAD_EIM_A18__GPIO2_IO20 0x1b0b1 /* LED */
+ >;
+ };
};
&kpp {