summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-am33xx/cpu.h
diff options
context:
space:
mode:
authorSteve Kipisz <s-kipisz2@ti.com>2015-02-11 18:54:28 -0500
committerTom Rini <trini@ti.com>2015-02-16 12:41:40 -0500
commitbba379d498b4ed408e79f7aec6dc23a3572c37e7 (patch)
tree764410f3a6a151b10f8fc7d076bc9bd3c325b54c /arch/arm/include/asm/arch-am33xx/cpu.h
parent1860d101964d6ea77e5411e62e3b42a64dc94865 (diff)
downloadtalos-obmc-uboot-bba379d498b4ed408e79f7aec6dc23a3572c37e7.tar.gz
talos-obmc-uboot-bba379d498b4ed408e79f7aec6dc23a3572c37e7.zip
clock_am43xx:Set the MAC clock to /5 for OPP100
When EMAC is in the boot order, the boot ROM sets OPP50 and the MAC clock is set to /2. SPL needs to change it to /5 for Ethernet to generate the correct txclk. This patch sets it correctly. Signed-off-by: Steve Kipisz <s-kipisz2@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-am33xx/cpu.h')
-rw-r--r--arch/arm/include/asm/arch-am33xx/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/cpu.h b/arch/arm/include/asm/arch-am33xx/cpu.h
index b94b56cba7..523d22eb87 100644
--- a/arch/arm/include/asm/arch-am33xx/cpu.h
+++ b/arch/arm/include/asm/arch-am33xx/cpu.h
@@ -400,6 +400,8 @@ struct prm_device_inst {
struct cm_dpll {
unsigned int resv1;
unsigned int clktimer2clk; /* offset 0x04 */
+ unsigned int resv2[11];
+ unsigned int clkselmacclk; /* offset 0x34 */
};
#endif /* CONFIG_AM43XX */
OpenPOWER on IntegriCloud