ddr: imx: Add new rates for i.MX91
iMX91 reuses iMX93 controller and PHY, but with lower speed, so add new DDR rates for i.MX91. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
@@ -144,6 +144,10 @@ void ddrphy_init_set_dfi_clk(unsigned int drate)
|
|||||||
dram_pll_init(MHZ(400));
|
dram_pll_init(MHZ(400));
|
||||||
dram_disable_bypass();
|
dram_disable_bypass();
|
||||||
break;
|
break;
|
||||||
|
case 1200:
|
||||||
|
dram_pll_init(MHZ(300));
|
||||||
|
dram_disable_bypass();
|
||||||
|
break;
|
||||||
case 1066:
|
case 1066:
|
||||||
dram_pll_init(MHZ(266));
|
dram_pll_init(MHZ(266));
|
||||||
dram_disable_bypass();
|
dram_disable_bypass();
|
||||||
@@ -152,6 +156,10 @@ void ddrphy_init_set_dfi_clk(unsigned int drate)
|
|||||||
dram_pll_init(MHZ(233));
|
dram_pll_init(MHZ(233));
|
||||||
dram_disable_bypass();
|
dram_disable_bypass();
|
||||||
break;
|
break;
|
||||||
|
case 800:
|
||||||
|
dram_pll_init(MHZ(200));
|
||||||
|
dram_disable_bypass();
|
||||||
|
break;
|
||||||
case 667:
|
case 667:
|
||||||
dram_pll_init(MHZ(167));
|
dram_pll_init(MHZ(167));
|
||||||
dram_disable_bypass();
|
dram_disable_bypass();
|
||||||
|
Reference in New Issue
Block a user