]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: imx6qdl-sabrelite: move phy reset to pinctrl_enet
authorTroy Kisky <troy.kisky@boundarydevices.com>
Tue, 17 Dec 2013 01:12:56 +0000 (18:12 -0700)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 17 Dec 2013 08:33:58 +0000 (16:33 +0800)
This patch moves pin EIM_D23 (phy reset) from pinctrl_hog to pinctrl_enet.
It also explicitly sets the pad to 0x000b0.

Before this patch, it has the value 0x1b0b0 if using mainline u-boot.
So this patch also removes hysteresis and a 100K pullup since the pad
is always an output.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi

index 2654ff12b5bc6bfca75b9a7dd9bbef4b3c617b3c..ee3f5c0a0b8be613ff659556f9e8d9ae9a92703a 100644 (file)
        imx6q-sabrelite {
                pinctrl_hog: hoggrp {
                        fsl,pins = <
-                               MX6QDL_PAD_EIM_D23__GPIO3_IO23  0x80000000
                                MX6QDL_PAD_GPIO_0__CCM_CLKO1    0x80000000
                        >;
                };
                };
 
                pinctrl_enet: enetgrp {
-                       fsl,pins = <MX6QDL_ENET_PINGRP1>;
+                       fsl,pins = <
+                               MX6QDL_ENET_PINGRP1
+                               /* Phy reset */
+                               MX6QDL_PAD_EIM_D23__GPIO3_IO23          0x000b0
+                       >;
                };
 
                pinctrl_i2c1: i2c1grp {