eukrea_cpuimx27 : update timings
use optimized DDR, NOR & QuadUART timings Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
d8a014ccdf
commit
e5b873753d
|
@ -198,9 +198,9 @@ static int eukrea_cpuimx27_devices_init(void)
|
||||||
eukrea_cpuimx27_mmu_init();
|
eukrea_cpuimx27_mmu_init();
|
||||||
|
|
||||||
/* configure 16 bit nor flash on cs0 */
|
/* configure 16 bit nor flash on cs0 */
|
||||||
CS0U = 0x0000CC03;
|
CS0U = 0x00008F03;
|
||||||
CS0L = 0xa0330D01;
|
CS0L = 0xA0330D01;
|
||||||
CS0A = 0x00220800;
|
CS0A = 0x002208C0;
|
||||||
|
|
||||||
/* initizalize gpios */
|
/* initizalize gpios */
|
||||||
for (i = 0; i < ARRAY_SIZE(mode); i++)
|
for (i = 0; i < ARRAY_SIZE(mode); i++)
|
||||||
|
@ -244,9 +244,9 @@ static int eukrea_cpuimx27_console_init(void)
|
||||||
#endif
|
#endif
|
||||||
/* configure 8 bit UART on cs3 */
|
/* configure 8 bit UART on cs3 */
|
||||||
FMCR &= ~0x2;
|
FMCR &= ~0x2;
|
||||||
CS3U = 0x0000DCF6;
|
CS3U = 0x0000D603;
|
||||||
CS3L = 0x444A4541;
|
CS3L = 0x0D1D0D01;
|
||||||
CS3A = 0x44443302;
|
CS3A = 0x00D20000;
|
||||||
#ifdef CONFIG_DRIVER_SERIAL_NS16550
|
#ifdef CONFIG_DRIVER_SERIAL_NS16550
|
||||||
register_device(&quad_uart_serial_device);
|
register_device(&quad_uart_serial_device);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
|
|
||||||
#if defined CONFIG_EUKREA_CPUIMX27_SDRAM_256MB
|
#if defined CONFIG_EUKREA_CPUIMX27_SDRAM_256MB
|
||||||
#define ROWS0 ESDCTL_ROW14
|
#define ROWS0 ESDCTL_ROW14
|
||||||
#define CFG0 0x00695729
|
#define CFG0 0x0029572D
|
||||||
#elif defined CONFIG_EUKREA_CPUIMX27_SDRAM_128MB
|
#elif defined CONFIG_EUKREA_CPUIMX27_SDRAM_128MB
|
||||||
#define ROWS0 ESDCTL_ROW13
|
#define ROWS0 ESDCTL_ROW13
|
||||||
#define CFG0 0x00395B28
|
#define CFG0 0x00095728
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ESDCTL0_VAL (ESDCTL0_SDE | ROWS0 | ESDCTL0_COL10)
|
#define ESDCTL0_VAL (ESDCTL0_SDE | ROWS0 | ESDCTL0_COL10)
|
||||||
|
|
Loading…
Reference in New Issue