Fix problems with SNTP support;
[platform/kernel/u-boot.git] / include / configs / xaeniax.h
1 /*
2  * (C) Copyright 2004-2005
3  * Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
4  *
5  * (C) Copyright 2004
6  * Vincent Dubey, Xa SA, vincent.dubey@xa-ch.com
7  *
8  * (C) Copyright 2002
9  * Kyle Harris, Nexus Technologies, Inc. kharris@nexus-tech.ne
10  *
11  * (C) Copyright 2002
12  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
13  * Marius Groeger <mgroeger@sysgo.de>
14  *
15  * Configuation settings for the xaeniax board.
16  *
17  * See file CREDITS for list of people who contributed to this
18  * project.
19  *
20  * This program is free software; you can redistribute it and/or
21  * modify it under the terms of the GNU General Public License as
22  * published by the Free Software Foundation; either version 2 of
23  * the License, or (at your option) any later version.
24  *
25  * This program is distributed in the hope that it will be useful,
26  * but WITHOUT ANY WARRANTY; without even the implied warranty of
27  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28  * GNU General Public License for more details.
29  *
30  * You should have received a copy of the GNU General Public License
31  * along with this program; if not, write to the Free Software
32  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
33  * MA 02111-1307 USA
34  */
35
36 #ifndef __CONFIG_H
37 #define __CONFIG_H
38
39 /*
40  * If we are developing, we might want to start armboot from ram
41  * so we MUST NOT initialize critical regs like mem-timing ...
42  */
43 #define CONFIG_INIT_CRITICAL            /* undef for developing */
44
45 /*
46 #undef CONFIG_INIT_CRITICAL
47 */
48
49 /*
50  * High Level Configuration Options
51  * (easy to change)
52  */
53 #define CONFIG_PXA250           1       /* This is an PXA255 CPU    */
54 #define CONFIG_XAENIAX          1       /* on a xaeniax board       */
55
56
57 #define BOARD_LATE_INIT         1
58
59
60 #undef CONFIG_USE_IRQ                   /* we don't need IRQ/FIQ stuff */
61
62 /*
63  * select serial console configuration
64  */
65 #define CONFIG_BTUART          1       /* we use BTUART on XAENIAX */
66
67
68 /* allow to overwrite serial and ethaddr */
69 #define CONFIG_ENV_OVERWRITE
70
71 #define CONFIG_TIMESTAMP                /* Print image info with timestamp */
72
73 #define CONFIG_BAUDRATE         115200
74
75 #define CFG_BAUDRATE_TABLE      { 9600, 19200, 38400, 57600, 115200 } /* valid baudrates */
76
77 #define CONFIG_COMMANDS        ((CONFIG_CMD_DFL & ~CFG_CMD_DTT) | \
78                                 CFG_CMD_DHCP    | \
79                                 CFG_CMD_DIAG    | \
80                                 CFG_CMD_NFS     | \
81                                 CFG_CMD_SDRAM   | \
82                                 CFG_CMD_SNTP    )
83
84 /* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
85 #include <cmd_confdefs.h>
86
87 #define CONFIG_ETHADDR          08:00:3e:26:0a:5b
88 #define CONFIG_NETMASK          255.255.255.0
89 #define CONFIG_IPADDR           192.168.68.201
90 #define CONFIG_SERVERIP         192.168.68.62
91
92 #define CONFIG_BOOTDELAY        3
93 #define CONFIG_BOOTCOMMAND      "bootm 0x00100000"
94 #define CONFIG_BOOTARGS         "console=ttyS1,115200"
95 #define CONFIG_CMDLINE_TAG              1       /* enable passing of ATAGs */
96 #define CONFIG_SETUP_MEMORY_TAGS        1
97 #define CONFIG_INITRD_TAG               1
98
99 #if (CONFIG_COMMANDS & CFG_CMD_KGDB)
100 #define CONFIG_KGDB_BAUDRATE    115200                  /* speed to run kgdb serial port */
101 #define CONFIG_KGDB_SER_INDEX   1                       /* which serial port to use */
102 #endif
103
104 /*
105  * Size of malloc() pool; this lives below the uppermost 128 KiB which are
106  * used for the RAM copy of the uboot code
107  */
108 #define CFG_MALLOC_LEN      (CFG_ENV_SIZE + 128*1024)
109 #define CFG_GBL_DATA_SIZE       128     /* size in bytes reserved for initial data */
110
111 /*
112  * Miscellaneous configurable options
113  */
114 #define CFG_LONGHELP                            /* undef to save memory */
115 #define CFG_HUSH_PARSER         1
116
117 #define CFG_PROMPT_HUSH_PS2     "> "
118
119 #ifdef CFG_HUSH_PARSER
120 #define CFG_PROMPT              "u-boot$ "      /* Monitor Command Prompt */
121 #else
122 #define CFG_PROMPT              "u-boot=> "     /* Monitor Command Prompt */
123 #endif
124 #define CFG_CBSIZE              256             /* Console I/O Buffer Size      */
125 #define CFG_PBSIZE (CFG_CBSIZE+sizeof(CFG_PROMPT)+16) /* Print Buffer Size */
126 #define CFG_MAXARGS             16              /* max number of command args   */
127 #define CFG_BARGSIZE            CFG_CBSIZE      /* Boot Argument Buffer Size    */
128 #define CFG_DEVICE_NULLDEV      1
129
130 #define CFG_MEMTEST_START       0xa0400000      /* memtest works on     */
131 #define CFG_MEMTEST_END         0xa0800000      /* 4 ... 8 MB in DRAM   */
132
133 #undef  CFG_CLKS_IN_HZ                          /* everything, incl board info, in Hz */
134
135 #define CFG_LOAD_ADDR           0xa1000000      /* default load address */
136
137 #define CFG_HZ                  3686400         /* incrementer freq: 3.6864 MHz */
138 #define CFG_CPUSPEED            0x141           /* set core clock to 400/200/100 MHz */
139
140 /*
141  * Physical Memory Map
142  */
143 #define CONFIG_NR_DRAM_BANKS    1          /* we have 1 banks (partition) of DRAM */
144 #define PHYS_SDRAM_1            0xa0000000 /* SDRAM Bank #1 */
145 #define PHYS_SDRAM_1_SIZE       0x04000000 /* 64 MB */
146 #define PHYS_SDRAM_2            0xa4000000 /* SDRAM Bank #2 */
147 #define PHYS_SDRAM_2_SIZE       0x00000000 /* 0 MB */
148 #define PHYS_SDRAM_3            0xa8000000 /* SDRAM Bank #3 */
149 #define PHYS_SDRAM_3_SIZE       0x00000000 /* 0 MB */
150 #define PHYS_SDRAM_4            0xac000000 /* SDRAM Bank #4 */
151 #define PHYS_SDRAM_4_SIZE       0x00000000 /* 0 MB */
152
153 #define PHYS_FLASH_1            0x00000000 /* Flash Bank #1 */
154 #define PHYS_FLASH_2            0x04000000 /* Flash Bank #2 */
155 #define PHYS_FLASH_SIZE         0x02000000 /* 32 MB */
156 #define PHYS_FLASH_BANK_SIZE    0x02000000 /* 32 MB Banks */
157 #define PHYS_FLASH_SECT_SIZE    0x00040000 /* 256 KB sectors (x2) */
158
159 #define CFG_DRAM_BASE           0xa0000000
160 #define CFG_DRAM_SIZE           0x04000000
161
162 #define CFG_FLASH_BASE          PHYS_FLASH_1
163
164 /*
165  * FLASH and environment organization
166  */
167 #define CFG_MAX_FLASH_BANKS     1    /* max number of memory banks              */
168 #define CFG_MAX_FLASH_SECT      128  /* max number of sectors on one chip    */
169
170 /* timeout values are in ticks */
171 #define CFG_FLASH_ERASE_TOUT    (25*CFG_HZ) /* Timeout for Flash Erase */
172 #define CFG_FLASH_WRITE_TOUT    (25*CFG_HZ) /* Timeout for Flash Write */
173
174 /* FIXME */
175 #define CFG_ENV_IS_IN_FLASH     1
176 #define CFG_ENV_ADDR            (PHYS_FLASH_1 + 0x40000)/* Addr of Environment Sector   */
177 #define CFG_ENV_SIZE            0x40000                 /* Total Size of Environment Sector     */
178
179 /*
180  * Stack sizes
181  *
182  * The stack sizes are set up in start.S using the settings below
183  */
184 #define CONFIG_STACKSIZE        (128*1024)      /* regular stack */
185 #ifdef CONFIG_USE_IRQ
186 #define CONFIG_STACKSIZE_IRQ    (4*1024)        /* IRQ stack */
187 #define CONFIG_STACKSIZE_FIQ    (4*1024)        /* FIQ stack */
188 #endif
189
190 /*
191  * SMSC91C111 Network Card
192  */
193 #define CONFIG_DRIVER_SMC91111          1
194 #define CONFIG_SMC91111_BASE            0x10000300  /* chip select 3         */
195 #define CONFIG_SMC_USE_32_BIT           1          /* 32 bit bus  */
196 #undef  CONFIG_SMC_91111_EXT_PHY                   /* we use internal phy   */
197 #undef  CONFIG_SHOW_ACTIVITY
198 #define CONFIG_NET_RETRY_COUNT          10         /* # of retries          */
199
200 /*
201  * GPIO settings
202  */
203
204 /*
205  * GP05 == nUSBReset  is 1
206  * GP10 == CFReset   is 1
207  * GP13 == nCFDataEnable is 1
208  * GP14 == nCFAddrEnable is 1
209  * GP15 == nCS1      is 1
210  * GP21 == ComBrdReset is 1
211  * GP24 == SFRM      is 1
212  * GP25 == TXD       is 1
213  * GP31 == SYNC      is 1
214  * GP33 == nCS5      is 1
215  * GP39 == FFTXD     is 1
216  * GP41 == RTS       is 1
217  * GP43 == BTTXD     is 1
218  * GP45 == BTRTS     is 1
219  * GP47 == TXD       is 1
220  * GP48 == nPOE      is 1
221  * GP49 == nPWE      is 1
222  * GP50 == nPIOR     is 1
223  * GP51 == nPIOW     is 1
224  * GP52 == nPCE[1]   is 1
225  * GP53 == nPCE[2]   is 1
226  * GP54 == nPSKTSEL  is 1
227  * GP55 == nPREG     is 1
228  * GP78 == nCS2      is 1
229  * GP79 == nCS3      is 1
230  * GP80 == nCS4      is 1
231  * GP82 == NSSPSFRM  is 1
232  * GP83 == NSSPTXD   is 1
233  */
234 #define CFG_GPSR0_VAL           0x8320E420
235 #define CFG_GPSR1_VAL           0x00FFAA82
236 #define CFG_GPSR2_VAL           0x000DC000
237
238 /*
239  * GP03 == LANReset  is 0
240  * GP06 == USBWakeUp  is 0
241  * GP11 == USBControl is 0
242  * GP12 == Buzzer     is 0
243  * GP16 == PWM0       is 0
244  * GP17 == PWM1       is 0
245  * GP23 == SCLK      is 0
246  * GP30 == SDATA_OUT is 0
247  * GP81 == NSSPCLK   is 0
248  */
249 #define CFG_GPCR0_VAL           0x40C31868
250 #define CFG_GPCR1_VAL           0x00000000
251 #define CFG_GPCR2_VAL           0x00020000
252
253 /*
254  * GP00 == CPUWakeUpUSB is input
255  * GP01 == GP reset is input
256  * GP02 == LANInterrupt is input
257  * GP03 == LANReset     is output
258  * GP04 == USBInterrupt is input
259  * GP05 == nUSBReset    is output
260  * GP06 == USBWakeUp    is output
261  * GP07 == CFReady/nBusy is input
262  * GP08 == nCFCardDetect1 is input
263  * GP09 == nCFCardDetect2 is input
264  * GP10 == nCFReset   is output
265  * GP11 == USBControl is output
266  * GP12 == Buzzer     is output
267  * GP13 == CFDataEnable is output
268  * GP14 == CFAddressEnable is output
269  * GP15 == nCS1      is output
270  * GP16 == PWM0      is output
271  * GP17 == PWM1      is output
272  * GP18 == RDY       is input
273  * GP19 == ReaderReady is input
274  * GP20 == ReaderReset is input
275  * GP21 == ComBrdReset is output
276  * GP23 == SCLK      is output
277  * GP24 == SFRM      is output
278  * GP25 == TXD       is output
279  * GP26 == RXD       is input
280  * GP27 == EXTCLK    is input
281  * GP28 == BITCLK    is output
282  * GP29 == SDATA_IN0 is input
283  * GP30 == SDATA_OUT is output
284  * GP31 == SYNC      is output
285  * GP32 == SYSSCLK   is output
286  * GP33 == nCS5      is output
287  * GP34 == FFRXD     is input
288  * GP35 == CTS       is input
289  * GP36 == DCD       is input
290  * GP37 == DSR       is input
291  * GP38 == RI        is input
292  * GP39 == FFTXD     is output
293  * GP40 == DTR       is output
294  * GP41 == RTS       is output
295  * GP42 == BTRXD     is input
296  * GP43 == BTTXD     is output
297  * GP44 == BTCTS     is input
298  * GP45 == BTRTS     is output
299  * GP46 == RXD       is input
300  * GP47 == TXD       is output
301  * GP48 == nPOE      is output
302  * GP49 == nPWE      is output
303  * GP50 == nPIOR     is output
304  * GP51 == nPIOW     is output
305  * GP52 == nPCE[1]   is output
306  * GP53 == nPCE[2]   is output
307  * GP54 == nPSKTSEL  is output
308  * GP55 == nPREG     is output
309  * GP56 == nPWAIT    is input
310  * GP57 == nPIOS16   is input
311  * GP58 == LDD[0]    is output
312  * GP59 == LDD[1]    is output
313  * GP60 == LDD[2]    is output
314  * GP61 == LDD[3]    is output
315  * GP62 == LDD[4]    is output
316  * GP63 == LDD[5]    is output
317  * GP64 == LDD[6]    is output
318  * GP65 == LDD[7]    is output
319  * GP66 == LDD[8]    is output
320  * GP67 == LDD[9]    is output
321  * GP68 == LDD[10]   is output
322  * GP69 == LDD[11]   is output
323  * GP70 == LDD[12]   is output
324  * GP71 == LDD[13]   is output
325  * GP72 == LDD[14]   is output
326  * GP73 == LDD[15]   is output
327  * GP74 == LCD_FCLK  is output
328  * GP75 == LCD_LCLK  is output
329  * GP76 == LCD_PCLK  is output
330  * GP77 == LCD_ACBIAS is output
331  * GP78 == nCS2      is output
332  * GP79 == nCS3      is output
333  * GP80 == nCS4      is output
334  * GP81 == NSSPCLK   is output
335  * GP82 == NSSPSFRM  is output
336  * GP83 == NSSPTXD   is output
337  * GP84 == NSSPRXD   is input
338  */
339 #define CFG_GPDR0_VAL           0xD3E3FC68
340 #define CFG_GPDR1_VAL           0xFCFFAB83
341 #define CFG_GPDR2_VAL           0x000FFFFF
342
343 /*
344  * GP01 == GP reset is AF01
345  * GP15 == nCS1     is AF10
346  * GP16 == PWM0     is AF10
347  * GP17 == PWM1     is AF10
348  * GP18 == RDY      is AF01
349  * GP23 == SCLK     is AF10
350  * GP24 == SFRM     is AF10
351  * GP25 == TXD      is AF10
352  * GP26 == RXD      is AF01
353  * GP27 == EXTCLK   is AF01
354  * GP28 == BITCLK   is AF01
355  * GP29 == SDATA_IN0 is AF10
356  * GP30 == SDATA_OUT is AF01
357  * GP31 == SYNC     is AF01
358  * GP32 == SYSCLK   is AF01
359  * GP33 == nCS5  is AF10
360  * GP34 == FFRXD is AF01
361  * GP35 == CTS   is AF01
362  * GP36 == DCD   is AF01
363  * GP37 == DSR   is AF01
364  * GP38 == RI    is AF01
365  * GP39 == FFTXD is AF10
366  * GP40 == DTR   is AF10
367  * GP41 == RTS   is AF10
368  * GP42 == BTRXD is AF01
369  * GP43 == BTTXD is AF10
370  * GP44 == BTCTS is AF01
371  * GP45 == BTRTS is AF10
372  * GP46 == RXD   is AF10
373  * GP47 == TXD   is AF01
374  * GP48 == nPOE  is AF10
375  * GP49 == nPWE  is AF10
376  * GP50 == nPIOR is AF10
377  * GP51 == nPIOW is AF10
378  * GP52 == nPCE[1] is AF10
379  * GP53 == nPCE[2] is AF10
380  * GP54 == nPSKTSEL is AF10
381  * GP55 == nPREG   is AF10
382  * GP56 == nPWAIT  is AF01
383  * GP57 == nPIOS16 is AF01
384  * GP58 == LDD[0]  is AF10
385  * GP59 == LDD[1]  is AF10
386  * GP60 == LDD[2]  is AF10
387  * GP61 == LDD[3]  is AF10
388  * GP62 == LDD[4]  is AF10
389  * GP63 == LDD[5]  is AF10
390  * GP64 == LDD[6]  is AF10
391  * GP65 == LDD[7]  is AF10
392  * GP66 == LDD[8]  is AF10
393  * GP67 == LDD[9]  is AF10
394  * GP68 == LDD[10] is AF10
395  * GP69 == LDD[11] is AF10
396  * GP70 == LDD[12] is AF10
397  * GP71 == LDD[13] is AF10
398  * GP72 == LDD[14] is AF10
399  * GP73 == LDD[15] is AF10
400  * GP74 == LCD_FCLK is AF10
401  * GP75 == LCD_LCLK is AF10
402  * GP76 == LCD_PCLK is AF10
403  * GP77 == LCD_ACBIAS is AF10
404  * GP78 == nCS2     is AF10
405  * GP79 == nCS3     is AF10
406  * GP80 == nCS4     is AF10
407  * GP81 == NSSPCLK  is AF01
408  * GP82 == NSSPSFRM is AF01
409  * GP83 == NSSPTXD  is AF01
410  * GP84 == NSSPRXD  is AF10
411  */
412 #define CFG_GAFR0_L_VAL         0x80000004
413 #define CFG_GAFR0_U_VAL         0x595A801A
414 #define CFG_GAFR1_L_VAL         0x699A9559
415 #define CFG_GAFR1_U_VAL         0xAAA5AAAA
416 #define CFG_GAFR2_L_VAL         0xAAAAAAAA
417 #define CFG_GAFR2_U_VAL         0x00000256
418
419 /*
420  * clock settings
421  */
422 /* RDH = 1
423  * PH  = 0
424  * VFS = 0
425  * BFS = 0
426  * SSS = 0
427  */
428 #define CFG_PSSR_VAL            0x00000030
429
430 #define CFG_CKEN_VAL            0x00000080  /*  */
431 #define CFG_ICMR_VAL            0x00000000  /* No interrupts enabled        */
432
433
434 /*
435  * Memory settings
436  *
437  * This is the configuration for nCS0/1 -> flash banks
438  * configuration for nCS1 :
439  * [31]    0    -
440  * [30:28] 000  -
441  * [27:24] 0000 -
442  * [23:20] 0000 -
443  * [19]    0    -
444  * [18:16] 000  -
445  * configuration for nCS0:
446  * [15]    0    - Slower Device
447  * [14:12] 010  - CS deselect to CS time: 2*(2*MemClk) = 40 ns
448  * [11:08] 0011 - Address to data valid in bursts: (3+1)*MemClk = 40 ns
449  * [07:04] 1111 - " for first access: (23+2)*MemClk = 250 ns (fixme 12+2?)
450  * [03]    0    - 32 Bit bus width
451  * [02:00] 010  - burst OF 4 ROM or FLASH
452 */
453 #define CFG_MSC0_VAL            0x000023D2
454
455 /* This is the configuration for nCS2/3 -> USB controller, LAN
456  * configuration for nCS3: LAN
457  * [31]    0    - Slower Device
458  * [30:28] 001  - RRR3: CS deselect to CS time: 1*(2*MemClk) = 20 ns
459  * [27:24] 0010 - RDN3: Address to data valid in bursts: (2+1)*MemClk = 30 ns
460  * [23:20] 0010 - RDF3: Address for first access: (2+1)*MemClk = 30 ns
461  * [19]    0    - 32 Bit bus width
462  * [18:16] 100  - variable latency I/O
463  * configuration for nCS2: USB
464  * [15]    1    - Faster Device
465  * [14:12] 010  - RRR2: CS deselect to CS time: 2*(2*MemClk) = 40 ns
466  * [11:08] 0010 - RDN2: Address to data valid in bursts: (2+1)*MemClk = 30 ns
467  * [07:04] 0110 - RDF2: Address for first access: (6+1)*MemClk = 70 ns
468  * [03]    0    - 32 Bit bus width
469  * [02:00] 100  - variable latency I/O
470  */
471 #define CFG_MSC1_VAL            0x1224A264
472
473 /* This is the configuration for nCS4/5 -> LAN
474  * configuration for nCS5:
475  * [31]    0    -
476  * [30:28] 000  -
477  * [27:24] 0000 -
478  * [23:20] 0000 -
479  * [19]    0    -
480  * [18:16] 000  -
481  * configuration for nCS4: LAN
482  * [15]    1    - Faster Device
483  * [14:12] 010  - RRR2: CS deselect to CS time: 2*(2*MemClk) = 40 ns
484  * [11:08] 0010 - RDN2: Address to data valid in bursts: (2+1)*MemClk = 30 ns
485  * [07:04] 0110 - RDF2: Address for first access: (6+1)*MemClk = 70 ns
486  * [03]    0    - 32 Bit bus width
487  * [02:00] 100  - variable latency I/O
488  */
489 #define CFG_MSC2_VAL            0x00001224
490
491 /* MDCNFG: SDRAM Configuration Register
492  *
493  * [31:29]   000 - reserved
494  * [28]      0   - no SA1111 compatiblity mode
495  * [27]      0   - latch return data with return clock
496  * [26]      0   - alternate addressing for pair 2/3
497  * [25:24]   00  - timings
498  * [23]      0   - internal banks in lower partition 2/3 (not used)
499  * [22:21]   00  - row address bits for partition 2/3 (not used)
500  * [20:19]   00  - column address bits for partition 2/3 (not used)
501  * [18]      0   - SDRAM partition 2/3 width is 32 bit
502  * [17]      0   - SDRAM partition 3 disabled
503  * [16]      0   - SDRAM partition 2 disabled
504  * [15:13]   000 - reserved
505  * [12]      0   - no SA1111 compatiblity mode
506  * [11]      1   - latch return data with return clock
507  * [10]      0   - no alternate addressing for pair 0/1
508  * [09:08]   10  - tRP=2*MemClk CL=2 tRCD=2*MemClk tRAS=5*MemClk tRC=8*MemClk
509  * [7]       1   - 4 internal banks in lower partition pair
510  * [06:05]   10  - 13 row address bits for partition 0/1
511  * [04:03]   01  - 9 column address bits for partition 0/1
512  * [02]      0   - SDRAM partition 0/1 width is 32 bit
513  * [01]      0   - disable SDRAM partition 1
514  * [00]      1   - enable  SDRAM partition 0
515  */
516 /* use the configuration above but disable partition 0 */
517 #define CFG_MDCNFG_VAL          0x00000AC9
518
519 /* MDREFR: SDRAM Refresh Control Register
520  *
521  * [32:26] 0     - reserved
522  * [25]    0     - K2FREE: not free running
523  * [24]    0     - K1FREE: not free running
524  * [23]    0     - K0FREE: not free running
525  * [22]    0     - SLFRSH: self refresh disabled
526  * [21]    0     - reserved
527  * [20]    1     - APD: auto power down
528  * [19]    0     - K2DB2: SDCLK2 is MemClk
529  * [18]    0     - K2RUN: disable SDCLK2
530  * [17]    0     - K1DB2: SDCLK1 is MemClk
531  * [16]    1     - K1RUN: enable SDCLK1
532  * [15]    1     - E1PIN: SDRAM clock enable
533  * [14]    0     - K0DB2: SDCLK0 is MemClk
534  * [13]    0     - K0RUN: disable SDCLK0
535  * [12]    0     - E0PIN: disable SDCKE0
536  * [11:00] 000000011000 - (64ms/8192)*MemClkFreq/32 = 24
537  */
538 #define CFG_MDREFR_VAL          0x00138018 /* mh: was 0x00118018 */
539
540 /* MDMRS: Mode Register Set Configuration Register
541  *
542  * [31]      0       - reserved
543  * [30:23]   00000000- MDMRS2: SDRAM2/3 MRS Value. (not used)
544  * [22:20]   011     - MDCL2:  SDRAM2/3 Cas Latency.  (not used)
545  * [19]      0       - MDADD2: SDRAM2/3 burst Type. Fixed to sequential.  (not used)
546  * [18:16]   010     - MDBL2:  SDRAM2/3 burst Length. Fixed to 4.  (not used)
547  * [15]      0       - reserved
548  * [14:07]   00000000- MDMRS0: SDRAM0/1 MRS Value.
549  * [06:04]   011     - MDCL0:  SDRAM0/1 Cas Latency.
550  * [03]      0       - MDADD0: SDRAM0/1 burst Type. Fixed to sequential.
551  * [02:00]   010     - MDBL0:  SDRAM0/1 burst Length. Fixed to 4.
552  */
553 #define CFG_MDMRS_VAL           0x00320032
554
555 /*
556  * PCMCIA and CF Interfaces
557  */
558 #define CFG_MECR_VAL            0x00000000
559 #define CFG_MCMEM0_VAL          0x00010504
560 #define CFG_MCMEM1_VAL          0x00010504
561 #define CFG_MCATT0_VAL          0x00010504
562 #define CFG_MCATT1_VAL          0x00010504
563 #define CFG_MCIO0_VAL           0x00004715
564 #define CFG_MCIO1_VAL           0x00004715
565
566
567 #endif  /* __CONFIG_H */