diff options
-rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 5536fd81379a..8ce9089d76e5 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/regmap.h> | 29 | #include <linux/regmap.h> |
30 | #include <linux/micrel_phy.h> | 30 | #include <linux/micrel_phy.h> |
31 | #include <linux/mfd/syscon.h> | 31 | #include <linux/mfd/syscon.h> |
32 | #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> | ||
32 | #include <asm/hardware/cache-l2x0.h> | 33 | #include <asm/hardware/cache-l2x0.h> |
33 | #include <asm/mach/arch.h> | 34 | #include <asm/mach/arch.h> |
34 | #include <asm/mach/map.h> | 35 | #include <asm/mach/map.h> |
@@ -151,7 +152,9 @@ static void __init imx6q_1588_init(void) | |||
151 | 152 | ||
152 | gpr = syscon_regmap_lookup_by_compatible("fsl,imx6q-iomuxc-gpr"); | 153 | gpr = syscon_regmap_lookup_by_compatible("fsl,imx6q-iomuxc-gpr"); |
153 | if (!IS_ERR(gpr)) | 154 | if (!IS_ERR(gpr)) |
154 | regmap_update_bits(gpr, 0x4, 1 << 21, 1 << 21); | 155 | regmap_update_bits(gpr, IOMUXC_GPR1, |
156 | IMX6Q_GPR1_ENET_CLK_SEL_MASK, | ||
157 | IMX6Q_GPR1_ENET_CLK_SEL_ANATOP); | ||
155 | else | 158 | else |
156 | pr_err("failed to find fsl,imx6q-iomux-gpr regmap\n"); | 159 | pr_err("failed to find fsl,imx6q-iomux-gpr regmap\n"); |
157 | 160 | ||