]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/mach-keystone/clock.c
ARM: keystone2: Use common structure for PLLs
[karo-tx-uboot.git] / arch / arm / mach-keystone / clock.c
index aaeef79bd3969ff6fe634acf8db9bb36556da18b..de5dfe15eb9340842bc21203e2923185c8947711 100644 (file)
@@ -25,6 +25,14 @@ int __weak speeds[DEVSPEED_NUMSPDS] = {
        SPD800,
 };
 
+const struct keystone_pll_regs keystone_pll_regs[] = {
+       [CORE_PLL]      = {KS2_MAINPLLCTL0, KS2_MAINPLLCTL1},
+       [PASS_PLL]      = {KS2_PASSPLLCTL0, KS2_PASSPLLCTL1},
+       [TETRIS_PLL]    = {KS2_ARMPLLCTL0, KS2_ARMPLLCTL1},
+       [DDR3A_PLL]     = {KS2_DDR3APLLCTL0, KS2_DDR3APLLCTL1},
+       [DDR3B_PLL]     = {KS2_DDR3BPLLCTL0, KS2_DDR3BPLLCTL1},
+};
+
 static void wait_for_completion(const struct pll_init_data *data)
 {
        int i;