Do not use REF clock divider higher than 2 on QCA95xx/AR934x
authorPiotr Dymacz <pepe2k@gmail.com>
Sat, 19 Nov 2016 15:51:15 +0000 (16:51 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Sat, 19 Nov 2016 15:51:15 +0000 (16:51 +0100)
As tests showed, REF clock divider is not reliable with
values higher than 2. Final clock frequency is stable
between restarts, but its value is in range +/- 20-25%
in comparison to expected/calculated frequency.

Instead of using higher REF clock divider values, make
use of fractional part of the multiplier.

This fixes #128

u-boot/include/cmd_qcaclk.h
u-boot/include/soc/qca95xx_pll_init.h

index 57f4738dcdadc5ccf831a34763860d8c8a1bd8e3..abc39874e08ef18fb44536b346fa4fb05b269d87 100644 (file)
@@ -731,11 +731,11 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_cpu_pll_dither_reg_val(0),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
-                       _qca95xx_cpu_pll_cfg_reg_val(35, 4, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(35, 4, 1, 0, 0),
+                       _qca95xx_cpu_pll_cfg_reg_val(8, 1, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(8, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1),
-                       _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_cpu_pll_dither_reg_val(48),
+                       _qca95xx_ddr_pll_dither_reg_val(768)
                },
        }, {
                /* Tested! */
@@ -1207,10 +1207,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_cpu_pll_dither_reg_val(0),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
-                       _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_ddr_pll_cfg_reg_val(10, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 4, 1, 1, 1),
-                       _qca95xx_cpu_pll_dither_reg_val(0),
+                       _qca95xx_cpu_pll_dither_reg_val(48),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                },
        }, {
@@ -1224,10 +1224,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_cpu_pll_dither_reg_val(0),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
-                       _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_ddr_pll_cfg_reg_val(15, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 3, 4, 1, 1, 1),
-                       _qca95xx_cpu_pll_dither_reg_val(0),
+                       _qca95xx_cpu_pll_dither_reg_val(48),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                },
        }, {
@@ -1241,10 +1241,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_cpu_pll_dither_reg_val(0),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
-                       _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_ddr_pll_cfg_reg_val(10, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 2, 1, 1, 1),
-                       _qca95xx_cpu_pll_dither_reg_val(0),
+                       _qca95xx_cpu_pll_dither_reg_val(48),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                },
        }, {
@@ -1258,10 +1258,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_cpu_pll_dither_reg_val(0),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
-                       _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_ddr_pll_cfg_reg_val(15, 2, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 3, 1, 1, 1),
-                       _qca95xx_cpu_pll_dither_reg_val(0),
+                       _qca95xx_cpu_pll_dither_reg_val(48),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                },
        }, {
@@ -1275,10 +1275,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_cpu_pll_dither_reg_val(0),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
-                       _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_ddr_pll_cfg_reg_val(15, 2, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1),
-                       _qca95xx_cpu_pll_dither_reg_val(0),
+                       _qca95xx_cpu_pll_dither_reg_val(48),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                },
        }, {
@@ -1292,10 +1292,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_cpu_pll_dither_reg_val(0),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
-                       _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_ddr_pll_cfg_reg_val(15, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 3, 1, 1, 1),
-                       _qca95xx_cpu_pll_dither_reg_val(0),
+                       _qca95xx_cpu_pll_dither_reg_val(48),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                },
        }, {
@@ -1309,10 +1309,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_cpu_pll_dither_reg_val(0),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
-                       _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_ddr_pll_cfg_reg_val(15, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 2, 1, 1, 0),
-                       _qca95xx_cpu_pll_dither_reg_val(0),
+                       _qca95xx_cpu_pll_dither_reg_val(48),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                },
        }, {
@@ -1326,10 +1326,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_cpu_pll_dither_reg_val(0),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
-                       _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_ddr_pll_cfg_reg_val(15, 2, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 1, 1, 1, 1),
-                       _qca95xx_cpu_pll_dither_reg_val(0),
+                       _qca95xx_cpu_pll_dither_reg_val(48),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                },
        }, {
@@ -1343,10 +1343,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_cpu_pll_dither_reg_val(0),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
-                       _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_ddr_pll_cfg_reg_val(19, 1, 0, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 3, 1, 1, 1),
-                       _qca95xx_cpu_pll_dither_reg_val(0),
+                       _qca95xx_cpu_pll_dither_reg_val(48),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                },
        }, {
@@ -1360,10 +1360,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_cpu_pll_dither_reg_val(0),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
-                       _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_ddr_pll_cfg_reg_val(10, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1),
-                       _qca95xx_cpu_pll_dither_reg_val(0),
+                       _qca95xx_cpu_pll_dither_reg_val(48),
                        _qca95xx_ddr_pll_dither_reg_val(0)
                },
        }, {
@@ -1378,10 +1378,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(14, 1, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1),
                        _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(256)
                },
        }, {
                /* Tested! */
@@ -1497,10 +1497,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(25, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(6,  1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 1, 1, 0, 1),
                        _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(256)
                },
        }, {
                /* Tested! */
@@ -1599,10 +1599,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 6, 1, 1, 0),
                        _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(256)
                },
        }, {
                /* Tested! */
@@ -1616,10 +1616,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 4, 1, 1, 0),
                        _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(256)
                },
        }, {
                /* Tested! */
@@ -1633,10 +1633,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 3, 1, 1, 0),
                        _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(256)
                },
        }, {
                /* Tested! */
@@ -1650,10 +1650,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1),
                        _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(256)
                },
        }, {
                /* Tested! */
@@ -1667,10 +1667,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 0),
                        _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(256)
                },
        }, {
                /* Tested! */
@@ -1769,10 +1769,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 6, 1, 1, 0),
                        _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(768)
                },
        }, {
                /* Tested! */
@@ -1786,10 +1786,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 4, 1, 1, 0),
                        _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(768)
                },
        }, {
                /* Tested! */
@@ -1803,10 +1803,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 3, 1, 1, 0),
                        _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(768)
                },
        }, {
                /* Tested! */
@@ -1820,10 +1820,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1),
                        _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(768)
                },
        }, {
                /* Tested! */
@@ -1837,10 +1837,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(55, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(13, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 0),
                        _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(768)
                },
        }, {
                /* Tested! */
@@ -1905,10 +1905,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(25, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(6,  1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 1, 1, 0, 1),
                        _qca95xx_cpu_pll_dither_reg_val(0),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(256)
                },
        }, {
                /* Tested! */
@@ -2245,10 +2245,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(820)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(16, 1, 0, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(42, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(10, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1),
                        _qca95xx_cpu_pll_dither_reg_val(16),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(512)
                },
        }, {
                /* Tested! */
@@ -2262,10 +2262,10 @@ static const clk_profile clk_profiles[] = {
                        _qca95xx_ddr_pll_dither_reg_val(0)
                }, {
                        _qca95xx_cpu_pll_cfg_reg_val(16, 1, 0, 0, 0),
-                       _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0),
+                       _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0),
                        _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1),
                        _qca95xx_cpu_pll_dither_reg_val(16),
-                       _qca95xx_ddr_pll_dither_reg_val(0)
+                       _qca95xx_ddr_pll_dither_reg_val(256)
                },
        },
        #endif /* SOC_TYPE & QCA_AR933X_SOC */
index 5d9197b25ec390e7bdae81edef67852d99b105c6..760a2d38855fb0c5d2efb079afd0c3b4c2262e0a 100644 (file)
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL25              _qca95xx_ddr_pll_cfg_reg_val(14, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
 
-       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(35, 4, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(35, 4, 1, 0, 0)
+       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(8, 1, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(8, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
+       #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_cpu_pll_dither_reg_val(48)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(768)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_360_360_180)   /* Tested! */
 
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL25              _qca95xx_ddr_pll_cfg_reg_val(16, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 4, 1, 1, 1)
 
-       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(10, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 4, 1, 1, 1)
+       #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_cpu_pll_dither_reg_val(48)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_550_200_150)   /* Tested! */
 
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL25              _qca95xx_ddr_pll_cfg_reg_val(24, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 3, 4, 1, 1, 1)
 
-       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(15, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 3, 4, 1, 1, 1)
+       #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_cpu_pll_dither_reg_val(48)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_550_200_200)   /* Tested! */
 
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL25              _qca95xx_ddr_pll_cfg_reg_val(16, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 2, 1, 1, 1)
 
-       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(10, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 2, 1, 1, 1)
+       #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_cpu_pll_dither_reg_val(48)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_550_300_100)   /* Tested! */
 
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL25              _qca95xx_ddr_pll_cfg_reg_val(12, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 3, 1, 1, 1)
 
-       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(15, 2, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 3, 1, 1, 1)
+       #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_cpu_pll_dither_reg_val(48)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_550_300_150)   /* Tested! */
 
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL25              _qca95xx_ddr_pll_cfg_reg_val(12, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
 
-       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(15, 2, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
+       #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_cpu_pll_dither_reg_val(48)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_550_300_200)   /* Tested! */
 
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL25              _qca95xx_ddr_pll_cfg_reg_val(24, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 3, 1, 1, 1)
 
-       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(15, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 3, 1, 1, 1)
+       #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_cpu_pll_dither_reg_val(48)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_550_300_275)   /* Tested! */
 
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL25              _qca95xx_ddr_pll_cfg_reg_val(12, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 0)
 
-       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(15, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 2, 1, 1, 0)
+       #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_cpu_pll_dither_reg_val(48)
 
        #define QCA_SPI_CTRL_REG_VAL                            _qca95xx_spi_ctrl_addr_reg_val(10, 1, 0, 2)
 
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL25              _qca95xx_ddr_pll_cfg_reg_val(12, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 1, 1, 1, 1)
 
-       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(15, 2, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 1, 1, 1, 1)
+       #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_cpu_pll_dither_reg_val(48)
 
        #define QCA_SPI_CTRL_REG_VAL                            _qca95xx_spi_ctrl_addr_reg_val(12, 1, 0, 2)
 
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL25              _qca95xx_ddr_pll_cfg_reg_val(30, 1, 0, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 3, 1, 1, 1)
 
-       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(19, 1, 0, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 3, 1, 1, 1)
+       #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_cpu_pll_dither_reg_val(48)
 
        #define QCA_SPI_CTRL_REG_VAL                            _qca95xx_spi_ctrl_addr_reg_val(10, 1, 0, 2)
 
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL25              _qca95xx_ddr_pll_cfg_reg_val(16, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
 
-       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(10, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
+       #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_cpu_pll_dither_reg_val(48)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_560_450_225)   /* Tested! */
 
        #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL25           _qca95xx_cpu_pll_dither_reg_val(26)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(14, 1, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(256)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_600_200_100)   /* Tested! */
 
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 1, 1, 0, 1)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(25, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(6,  1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 2, 1, 1, 0, 1)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(256)
 
        #define QCA_SPI_CTRL_REG_VAL                            _qca95xx_spi_ctrl_addr_reg_val(10, 1, 0, 2)
 
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 6, 1, 1, 0)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 6, 1, 1, 0)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(256)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_600_450_150)   /* Tested! */
 
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 4, 1, 1, 0)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 4, 1, 1, 0)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(256)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_600_450_200)   /* Tested! */
 
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 3, 1, 1, 0)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 3, 1, 1, 0)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(256)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_600_450_225)   /* Tested! */
 
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(256)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_600_450_300)   /* Tested! */
 
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 0)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 0)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(256)
 
        #define QCA_SPI_CTRL_REG_VAL                            _qca95xx_spi_ctrl_addr_reg_val(12, 1, 0, 2)
 
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 6, 1, 1, 0)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 6, 1, 1, 0)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(768)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_600_550_150)   /* Tested! */
 
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 4, 1, 1, 0)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 4, 1, 1, 0)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(768)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_600_550_200)   /* Tested! */
 
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 3, 1, 1, 0)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 3, 1, 1, 0)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(768)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_600_550_275)   /* Tested! */
 
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(768)
 
        #define QCA_SPI_CTRL_REG_VAL                            _qca95xx_spi_ctrl_addr_reg_val(10, 1, 0, 2)
 
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 0)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(55, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(13, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 0)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(768)
 
        #define QCA_SPI_CTRL_REG_VAL                            _qca95xx_spi_ctrl_addr_reg_val(12, 1, 0, 2)
 
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 1, 1, 0, 1)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(15, 1, 1, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(25, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(6,  1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 1, 1, 0, 1)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(256)
 
        #define QCA_SPI_CTRL_REG_VAL                            _qca95xx_spi_ctrl_addr_reg_val(10, 1, 0, 2)
 
        #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL25           _qca95xx_ddr_pll_dither_reg_val(820)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(16, 1, 0, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(42, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(10, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
        #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_cpu_pll_dither_reg_val(16)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(512)
 
 #elif (CONFIG_QCA_PLL == QCA_PLL_PRESET_650_450_225)   /* Tested! */
 
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL25         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
 
        #define QCA_PLL_CPU_PLL_CFG_REG_VAL_XTAL40              _qca95xx_cpu_pll_cfg_reg_val(16, 1, 0, 0, 0)
-       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(45, 4, 1, 0, 0)
+       #define QCA_PLL_DDR_PLL_CFG_REG_VAL_XTAL40              _qca95xx_ddr_pll_cfg_reg_val(11, 1, 1, 0, 0)
        #define QCA_PLL_CPU_DDR_CLK_CTRL_REG_VAL_XTAL40         _qca95xx_cpu_ddr_clk_ctrl_reg_val(1, 1, 2, 1, 1, 1)
        #define QCA_PLL_CPU_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_cpu_pll_dither_reg_val(16)
+       #define QCA_PLL_DDR_PLL_DITHER_REG_VAL_XTAL40           _qca95xx_ddr_pll_dither_reg_val(256)
 
 #else
        #error "QCA PLL configuration not supported or not selected!"