]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/am33xx/clock_am43xx.c
clock_am43xx:Set the MAC clock to /5 for OPP100
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / am33xx / clock_am43xx.c
index 31188c85bccb7fcd69644c185494752993551ea8..529a11951401764696bfb3d5006573c95509f329 100644 (file)
@@ -118,4 +118,7 @@ void enable_basic_clocks(void)
 
        /* Select the Master osc clk as Timer2 clock source */
        writel(0x1, &cmdpll->clktimer2clk);
+
+       /* For OPP100 the mac clock should be /5. */
+       writel(0x4, &cmdpll->clkselmacclk);
 }