blob: 0012dd7e631c076ca4e64bc0f563c4f527a2b8b0 [file] [log] [blame]
Vipin KUMAR81c0ebf2010-01-15 19:15:43 +05301/*
2 * (C) Copyright 2009
3 * Vipin Kumar, STMicroelectronics, <vipin.kumar@st.com>
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 * MA 02111-1307 USA
22 */
23
24#ifndef _ASM_ARCH_HARDWARE_H
25#define _ASM_ARCH_HARDWARE_H
26
27#define CONFIG_SYS_USBD_BASE (0xE1100000)
28#define CONFIG_SYS_PLUG_BASE (0xE1200000)
29#define CONFIG_SYS_FIFO_BASE (0xE1000800)
30#define CONFIG_SYS_SMI_BASE (0xFC000000)
31#define CONFIG_SPEAR_SYSCNTLBASE (0xFCA00000)
32#define CONFIG_SPEAR_TIMERBASE (0xFC800000)
33#define CONFIG_SPEAR_MISCBASE (0xFCA80000)
Vipin KUMARdeb00562012-05-07 13:06:42 +053034#define CONFIG_SPEAR_ETHBASE 0xE0800000
Vipin KUMAR81c0ebf2010-01-15 19:15:43 +053035
36#define CONFIG_SYS_NAND_CLE (1 << 16)
37#define CONFIG_SYS_NAND_ALE (1 << 17)
38
39#if defined(CONFIG_SPEAR600)
40#define CONFIG_SYS_I2C_BASE (0xD0200000)
Vipin KUMAR1fa943b2012-05-22 00:15:55 +000041#define CONFIG_SYS_FSMC_BASE (0xD1800000)
Vipin KUMAR81c0ebf2010-01-15 19:15:43 +053042
43#elif defined(CONFIG_SPEAR300)
44#define CONFIG_SYS_I2C_BASE (0xD0180000)
Vipin KUMAR1fa943b2012-05-22 00:15:55 +000045#define CONFIG_SYS_FSMC_BASE (0x94000000)
Vipin KUMAR81c0ebf2010-01-15 19:15:43 +053046
47#elif defined(CONFIG_SPEAR310)
48#define CONFIG_SYS_I2C_BASE (0xD0180000)
Vipin KUMAR1fa943b2012-05-22 00:15:55 +000049#define CONFIG_SYS_FSMC_BASE (0x44000000)
Vipin KUMAR81c0ebf2010-01-15 19:15:43 +053050
51#undef CONFIG_SYS_NAND_CLE
52#undef CONFIG_SYS_NAND_ALE
53#define CONFIG_SYS_NAND_CLE (1 << 17)
54#define CONFIG_SYS_NAND_ALE (1 << 16)
55
56#define CONFIG_SPEAR_EMIBASE (0x4F000000)
57#define CONFIG_SPEAR_RASBASE (0xB4000000)
58
Vipin KUMAR8eb0ee62012-05-07 13:06:43 +053059#define CONFIG_SYS_MACB0_BASE 0xB0000000
60#define CONFIG_SYS_MACB1_BASE 0xB0800000
61#define CONFIG_SYS_MACB2_BASE 0xB1000000
62#define CONFIG_SYS_MACB3_BASE 0xB1800000
63
Vipin KUMAR81c0ebf2010-01-15 19:15:43 +053064#elif defined(CONFIG_SPEAR320)
65#define CONFIG_SYS_I2C_BASE (0xD0180000)
Vipin KUMAR1fa943b2012-05-22 00:15:55 +000066#define CONFIG_SYS_FSMC_BASE (0x4C000000)
Vipin KUMAR81c0ebf2010-01-15 19:15:43 +053067
68#define CONFIG_SPEAR_EMIBASE (0x40000000)
69#define CONFIG_SPEAR_RASBASE (0xB3000000)
70
Vipin KUMAR8eb0ee62012-05-07 13:06:43 +053071#define CONFIG_SYS_MACB0_BASE 0xAA000000
72
Vipin KUMAR81c0ebf2010-01-15 19:15:43 +053073#endif
74#endif /* _ASM_ARCH_HARDWARE_H */