2 * See file CREDITS for list of people who contributed to this
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22 * Logic LH7A400-10 card engine
25 #ifndef __LPD7A404_10_H
26 #define __LPD7A404_10_H
29 #define CONFIG_ARM920T 1 /* arm920t core */
30 #define CONFIG_LH7A40X 1 /* Sharp LH7A40x SoC family */
31 #define CONFIG_LH7A404 1 /* Sharp LH7A404 SoC */
33 /* The system clock PLL input frequency */
34 #define CONFIG_SYS_CLK_FREQ 14745600 /* System Clock PLL Input (Hz) */
36 /* ticks per second */
37 #define CONFIG_SYS_HZ (508469)
39 /*-----------------------------------------------------------------------
42 * The stack sizes are set up in start.S using the settings below
44 #define CONFIG_STACKSIZE (128*1024) /* regular stack */
46 #define CONFIG_STACKSIZE_IRQ (4*1024) /* IRQ stack */
47 #define CONFIG_STACKSIZE_FIQ (4*1024) /* FIQ stack */
50 /*-----------------------------------------------------------------------
53 #define CONFIG_NR_DRAM_BANKS 1 /* we have 1 bank of DRAM */
54 #define PHYS_SDRAM_1 0xc0000000 /* SDRAM Bank #1 */
55 #define PHYS_SDRAM_1_SIZE 0x02000000 /* 32 MB */
57 #define CONFIG_SYS_FLASH_BASE 0x00000000 /* Flash Bank #1 */
59 /*-----------------------------------------------------------------------
60 * FLASH and environment organization
62 #define CONFIG_SYS_MAX_FLASH_BANKS 1 /* max number of memory banks */
63 #define CONFIG_SYS_MAX_FLASH_SECT (64) /* max number of sectors on one chip */
65 /* timeout values are in ticks */
66 #define CONFIG_SYS_FLASH_ERASE_TOUT (5*CONFIG_SYS_HZ) /* Timeout for Flash Erase */
67 #define CONFIG_SYS_FLASH_WRITE_TOUT (5*CONFIG_SYS_HZ) /* Timeout for Flash Write */
69 /*----------------------------------------------------------------------
70 * Using SMC91C111 LAN chip
72 * Default IO base of chip is 0x300, Card Engine has this address lines
73 * (LAN chip) tied to Vcc, so we just care about the chip select
75 #define CONFIG_NET_MULTI
76 #define CONFIG_SMC91111
77 #define CONFIG_SMC91111_BASE (0x70000000)
78 #undef CONFIG_SMC_USE_32_BIT
79 #define CONFIG_SMC_USE_IOFUNCS
81 #endif /* __LPD7A404_10_H */