minerva: add non standard frequencies selection

This commit is contained in:
CTCaer 2021-08-28 18:11:29 +03:00
parent 4326dcdc6c
commit d575586d77

View file

@ -67,20 +67,29 @@ bool train_ram_patterns;
static pllm_clk_config_t pllm_clk_config_table[] =
{
// pll_osc_in, pll_out, pll_feedback_div, pll_input_div, pll_post_div.
{38400, 297600, 93, 4, 2}, // ((38400 / 4) * 93) / 3
{38400, 400000, 125, 4, 2}, // ((38400 / 4) * 125) / 3
{38400, 408000, 85, 4, 1}, // ((38400 / 4) * 85) / 2
{38400, 532800, 111, 4, 1}, // ((38400 / 4) * 111) / 2
{38400, 665600, 104, 3, 1}, // ((38400 / 3) * 104) / 2
{38400, 800000, 125, 3, 1}, // ((38400 / 3) * 125) / 2
{38400, 931200, 97, 4, 0}, // (38400 / 4) * 97
{38400, 1065600, 111, 4, 0}, // (38400 / 4) * 111
{38400, 1200000, 125, 4, 0}, // (38400 / 4) * 125
{38400, 1331200, 104, 3, 0}, // (38400 / 3) * 104
{38400, 1459200, 76, 2, 0}, // (38400 / 2) * 76
{38400, 1600000, 125, 3, 0}, // (38400 / 3) * 125
{38400, 1862400, 97, 2, 0}, // (38400 / 2) * 97
{38400, 2131200, 111, 2, 0}, // (38400 / 2) * 111
// f_in, f_out, n, m, p.
// f_out = ((f_in / m) * n) / p. Example: 1600000 = (38400 / 2) * 97.
{38400, 297600, 93, 4, 2},
{38400, 400000, 125, 4, 2},
{38400, 408000, 85, 4, 1},
{38400, 532800, 111, 4, 1},
{38400, 665600, 104, 3, 1},
{38400, 800000, 125, 3, 1},
{38400, 931200, 97, 4, 0},
{38400, 1065600, 111, 4, 0},
{38400, 1200000, 125, 4, 0},
{38400, 1331200, 104, 3, 0},
{38400, 1459200, 76, 2, 0},
{38400, 1600000, 125, 3, 0},
{38400, 1728000, 90, 2, 0}, // Custom. Normalized 1733 MHz.
{38400, 1795200, 187, 4, 0}, // Custom.
{38400, 1862400, 97, 2, 0}, // JEDEC Standard. (T210 official max).
{38400, 1894400, 148, 3, 0}, // Custom.
{38400, 1932800, 151, 3, 0}, // Custom.
{38400, 1996800, 104, 2, 0}, // Custom. Normalized 2000 MHz.
{38400, 2064000, 215, 4, 0}, // Custom.
{38400, 2099200, 164, 3, 0}, // Custom.
{38400, 2131200, 111, 2, 0}, // JEDEC Standard. (T210B01 official max).
{0, 0, 0, 0, 0}
};