blob: 8f428306fe8c8eba2dff23ec349daf5af5f1bc1f [file] [log] [blame]
Stefan Roese13b4f632012-08-14 15:04:19 +02001/*
2 * (C) Copyright 2004
3 * Mark Jonas, Freescale Semiconductor, mark.jonas@motorola.com.
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Stefan Roese13b4f632012-08-14 15:04:19 +02006 */
7
8#define SDRAM_DDR /* is DDR */
9
10#if defined(CONFIG_MPC5200)
11/* Settings for XLB = 132 MHz */
12#define SDRAM_MODE 0x018D0000
13#define SDRAM_EMODE 0x40090000
14#define SDRAM_CONTROL 0x704f0f00
15#define SDRAM_CONFIG1 0x73722930
16#define SDRAM_CONFIG2 0x47770000
17#define SDRAM_TAPDELAY 0x10000000
18
19#else
20#error CONFIG_MPC5200 not defined
21#endif