Skip to content
Snippets Groups Projects
Commit f308b4fc authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Tom Rini
Browse files

ARM: DRA72-evm: Enable HW leveling


Updating EMIF registers to enable HW leveling
on DRA72-evm.
Also updating the timing registers.

Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 920638fa
No related branches found
No related tags found
No related merge requests found
...@@ -191,15 +191,15 @@ const struct emif_regs emif_1_regs_ddr3_666_mhz_1cs_dra_es1 = { ...@@ -191,15 +191,15 @@ const struct emif_regs emif_1_regs_ddr3_666_mhz_1cs_dra_es1 = {
.sdram_config_init = 0x61862B32, .sdram_config_init = 0x61862B32,
.sdram_config = 0x61862B32, .sdram_config = 0x61862B32,
.sdram_config2 = 0x08000000, .sdram_config2 = 0x08000000,
.ref_ctrl = 0x0000493E, .ref_ctrl = 0x0000514C,
.ref_ctrl_final = 0x0000144A, .ref_ctrl_final = 0x0000144A,
.sdram_tim1 = 0xD113781C, .sdram_tim1 = 0xD113781C,
.sdram_tim2 = 0x308F7FE3, .sdram_tim2 = 0x305A7FDA,
.sdram_tim3 = 0x009F86A8, .sdram_tim3 = 0x409F86A8,
.read_idle_ctrl = 0x00050000, .read_idle_ctrl = 0x00050000,
.zq_config = 0x0007190B, .zq_config = 0x5007190B,
.temp_alert_config = 0x00000000, .temp_alert_config = 0x00000000,
.emif_ddr_phy_ctlr_1_init = 0x0E24400D, .emif_ddr_phy_ctlr_1_init = 0x0024400D,
.emif_ddr_phy_ctlr_1 = 0x0E24400D, .emif_ddr_phy_ctlr_1 = 0x0E24400D,
.emif_ddr_ext_phy_ctrl_1 = 0x10040100, .emif_ddr_ext_phy_ctrl_1 = 0x10040100,
.emif_ddr_ext_phy_ctrl_2 = 0x00A400A4, .emif_ddr_ext_phy_ctrl_2 = 0x00A400A4,
...@@ -207,7 +207,7 @@ const struct emif_regs emif_1_regs_ddr3_666_mhz_1cs_dra_es1 = { ...@@ -207,7 +207,7 @@ const struct emif_regs emif_1_regs_ddr3_666_mhz_1cs_dra_es1 = {
.emif_ddr_ext_phy_ctrl_4 = 0x00B000B0, .emif_ddr_ext_phy_ctrl_4 = 0x00B000B0,
.emif_ddr_ext_phy_ctrl_5 = 0x00B000B0, .emif_ddr_ext_phy_ctrl_5 = 0x00B000B0,
.emif_rd_wr_lvl_rmp_win = 0x00000000, .emif_rd_wr_lvl_rmp_win = 0x00000000,
.emif_rd_wr_lvl_rmp_ctl = 0x00000000, .emif_rd_wr_lvl_rmp_ctl = 0x80000000,
.emif_rd_wr_lvl_ctl = 0x00000000, .emif_rd_wr_lvl_ctl = 0x00000000,
.emif_rd_wr_exec_thresh = 0x00000305 .emif_rd_wr_exec_thresh = 0x00000305
}; };
...@@ -533,6 +533,11 @@ dra_ddr3_ext_phy_ctrl_const_base_666MHz[] = { ...@@ -533,6 +533,11 @@ dra_ddr3_ext_phy_ctrl_const_base_666MHz[] = {
0x0, 0x0,
0x0, 0x0,
0x0, 0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0 0x0
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment