From: Fugang Duan Date: Wed, 14 Aug 2013 08:08:29 +0000 (+0800) Subject: ENGR00275246-01: ARM: dts: add fec phy reset for imx6sl evk board X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c8c0bb7ed87d4edbd22887b2af7d21bfb16b9f69;p=karo-tx-linux.git ENGR00275246-01: ARM: dts: add fec phy reset for imx6sl evk board Add fec phy reset for imx6sl evk board. Add iomux gpr device node, which used for fec to clear gpr1[14], gpr1[18-17] bit to select the fec clock sourcr from internal anatop PLL. Signed-off-by: Fugang Duan --- diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts index c51f09a6e523..e9ffa7bc18e9 100644 --- a/arch/arm/boot/dts/imx6sl-evk.dts +++ b/arch/arm/boot/dts/imx6sl-evk.dts @@ -23,6 +23,8 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec_1>; phy-mode = "rmii"; + phy-reset-gpios = <&gpio4 21 0>; /* GPIO4_21 */ + phy-reset-duration = <1>; status = "okay"; }; @@ -38,6 +40,7 @@ MX6SL_PAD_SD2_DAT7__GPIO5_IO00 0x17059 MX6SL_PAD_SD2_DAT6__GPIO4_IO29 0x17059 MX6SL_PAD_REF_CLK_32K__GPIO3_IO22 0x17059 + MX6SL_PAD_FEC_TX_CLK__GPIO4_IO21 0x80000000 >; }; }; diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi index bf7870a25757..b2b702e0f85f 100644 --- a/arch/arm/boot/dts/imx6sl.dtsi +++ b/arch/arm/boot/dts/imx6sl.dtsi @@ -525,6 +525,11 @@ interrupts = <0 89 0x04>; }; + gpr: iomuxc-gpr@020e0000 { + compatible = "fsl,imx6sl-iomuxc-gpr", "syscon"; + reg = <0x020e0000 0x38>; + }; + iomuxc: iomuxc@020e0000 { compatible = "fsl,imx6sl-iomuxc"; reg = <0x020e0000 0x4000>;