summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2015-11-12 19:47:27 +0100
committerStefan Agner <stefan@agner.ch>2017-11-20 14:37:30 +0100
commita3e275c490da04e98af43bbb60c4d33ac1329d29 (patch)
treef3eb97d508633f0e2b8ebead60a1291a0344e643 /arch/arm
parent23ed0c25201c49ab8cf12efa182a6210bbffb1b7 (diff)
ARM: imx: enet1: output reference clock
Enable output driver of Ethernet reference clock. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit dab46121a94916a253d7283c8b85ea6dcfb6e628) (cherry picked from commit 0adde3fe0129ae91e71e079c495b5c28974663c8)
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-imx/mach-imx7d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-imx7d.c b/arch/arm/mach-imx/mach-imx7d.c
index 3f335974723f..cfdef8a09aee 100644
--- a/arch/arm/mach-imx/mach-imx7d.c
+++ b/arch/arm/mach-imx/mach-imx7d.c
@@ -98,7 +98,7 @@ static void __init imx7d_enet_clk_sel(void)
gpr = syscon_regmap_lookup_by_compatible("fsl,imx7d-iomuxc-gpr");
if (!IS_ERR(gpr)) {
regmap_update_bits(gpr, IOMUXC_GPR1, IMX7D_GPR1_ENET_TX_CLK_SEL_MASK, 0);
- regmap_update_bits(gpr, IOMUXC_GPR1, IMX7D_GPR1_ENET_CLK_DIR_MASK, 0);
+ regmap_update_bits(gpr, IOMUXC_GPR1, IMX7D_GPR1_ENET_CLK_DIR_MASK, IMX7D_GPR1_ENET1_CLK_DIR_MASK);
} else {
pr_err("failed to find fsl,imx7d-iomux-gpr regmap\n");
}