diff options
Diffstat (limited to 'arch/arm/mach-spear3xx/include/mach/spear.h')
-rw-r--r-- | arch/arm/mach-spear3xx/include/mach/spear.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/arch/arm/mach-spear3xx/include/mach/spear.h b/arch/arm/mach-spear3xx/include/mach/spear.h deleted file mode 100644 index ee5a774caae1..000000000000 --- a/arch/arm/mach-spear3xx/include/mach/spear.h +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | /* | ||
2 | * SPEAr3xx/6xx Machine family specific definition | ||
3 | * | ||
4 | * Copyright (C) 2009,2012 ST Microelectronics | ||
5 | * Rajeev Kumar<rajeev-dlh.kumar@st.com> | ||
6 | * Viresh Kumar <viresh.linux@gmail.com> | ||
7 | * | ||
8 | * This file is licensed under the terms of the GNU General Public | ||
9 | * License version 2. This program is licensed "as is" without any | ||
10 | * warranty of any kind, whether express or implied. | ||
11 | */ | ||
12 | |||
13 | #ifndef __MACH_SPEAR_H | ||
14 | #define __MACH_SPEAR_H | ||
15 | |||
16 | #include <asm/memory.h> | ||
17 | |||
18 | /* ICM1 - Low speed connection */ | ||
19 | #define SPEAR_ICM1_2_BASE UL(0xD0000000) | ||
20 | #define VA_SPEAR_ICM1_2_BASE UL(0xFD000000) | ||
21 | #define SPEAR_ICM1_UART_BASE UL(0xD0000000) | ||
22 | #define VA_SPEAR_ICM1_UART_BASE (VA_SPEAR_ICM1_2_BASE | SPEAR_ICM1_UART_BASE) | ||
23 | #define SPEAR3XX_ICM1_SSP_BASE UL(0xD0100000) | ||
24 | |||
25 | /* ML-1, 2 - Multi Layer CPU Subsystem */ | ||
26 | #define SPEAR_ICM3_ML1_2_BASE UL(0xF0000000) | ||
27 | #define VA_SPEAR6XX_ML_CPU_BASE UL(0xF0000000) | ||
28 | |||
29 | /* ICM3 - Basic Subsystem */ | ||
30 | #define SPEAR_ICM3_SMI_CTRL_BASE UL(0xFC000000) | ||
31 | #define VA_SPEAR_ICM3_SMI_CTRL_BASE UL(0xFC000000) | ||
32 | #define SPEAR_ICM3_DMA_BASE UL(0xFC400000) | ||
33 | #define SPEAR_ICM3_SYS_CTRL_BASE UL(0xFCA00000) | ||
34 | #define VA_SPEAR_ICM3_SYS_CTRL_BASE (VA_SPEAR_ICM3_SMI_CTRL_BASE | SPEAR_ICM3_SYS_CTRL_BASE) | ||
35 | #define SPEAR_ICM3_MISC_REG_BASE UL(0xFCA80000) | ||
36 | #define VA_SPEAR_ICM3_MISC_REG_BASE (VA_SPEAR_ICM3_SMI_CTRL_BASE | SPEAR_ICM3_MISC_REG_BASE) | ||
37 | |||
38 | /* Debug uart for linux, will be used for debug and uncompress messages */ | ||
39 | #define SPEAR_DBG_UART_BASE SPEAR_ICM1_UART_BASE | ||
40 | #define VA_SPEAR_DBG_UART_BASE VA_SPEAR_ICM1_UART_BASE | ||
41 | |||
42 | /* Sysctl base for spear platform */ | ||
43 | #define SPEAR_SYS_CTRL_BASE SPEAR_ICM3_SYS_CTRL_BASE | ||
44 | #define VA_SPEAR_SYS_CTRL_BASE VA_SPEAR_ICM3_SYS_CTRL_BASE | ||
45 | |||
46 | /* SPEAr320 Macros */ | ||
47 | #define SPEAR320_SOC_CONFIG_BASE UL(0xB3000000) | ||
48 | #define VA_SPEAR320_SOC_CONFIG_BASE UL(0xFE000000) | ||
49 | #define SPEAR320_CONTROL_REG IOMEM(VA_SPEAR320_SOC_CONFIG_BASE) | ||
50 | #define SPEAR320_EXT_CTRL_REG IOMEM(VA_SPEAR320_SOC_CONFIG_BASE + 0x0018) | ||
51 | #define SPEAR320_UARTX_PCLK_MASK 0x1 | ||
52 | #define SPEAR320_UART2_PCLK_SHIFT 8 | ||
53 | #define SPEAR320_UART3_PCLK_SHIFT 9 | ||
54 | #define SPEAR320_UART4_PCLK_SHIFT 10 | ||
55 | #define SPEAR320_UART5_PCLK_SHIFT 11 | ||
56 | #define SPEAR320_UART6_PCLK_SHIFT 12 | ||
57 | #define SPEAR320_RS485_PCLK_SHIFT 13 | ||
58 | |||
59 | #endif /* __MACH_SPEAR_H */ | ||