aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear3xx/include/mach/spear.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-spear3xx/include/mach/spear.h')
-rw-r--r--arch/arm/mach-spear3xx/include/mach/spear.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-spear3xx/include/mach/spear.h b/arch/arm/mach-spear3xx/include/mach/spear.h
index 63fd98356919..881109522060 100644
--- a/arch/arm/mach-spear3xx/include/mach/spear.h
+++ b/arch/arm/mach-spear3xx/include/mach/spear.h
@@ -78,4 +78,17 @@
78#define SPEAR_SYS_CTRL_BASE SPEAR3XX_ICM3_SYS_CTRL_BASE 78#define SPEAR_SYS_CTRL_BASE SPEAR3XX_ICM3_SYS_CTRL_BASE
79#define VA_SPEAR_SYS_CTRL_BASE VA_SPEAR3XX_ICM3_SYS_CTRL_BASE 79#define VA_SPEAR_SYS_CTRL_BASE VA_SPEAR3XX_ICM3_SYS_CTRL_BASE
80 80
81/* SPEAr320 Macros */
82#define SPEAR320_SOC_CONFIG_BASE UL(0xB3000000)
83#define VA_SPEAR320_SOC_CONFIG_BASE UL(0xFE000000)
84#define SPEAR320_CONTROL_REG IOMEM(VA_SPEAR320_SOC_CONFIG_BASE)
85#define SPEAR320_EXT_CTRL_REG IOMEM(VA_SPEAR320_SOC_CONFIG_BASE + 0x0018)
86 #define SPEAR320_UARTX_PCLK_MASK 0x1
87 #define SPEAR320_UART2_PCLK_SHIFT 8
88 #define SPEAR320_UART3_PCLK_SHIFT 9
89 #define SPEAR320_UART4_PCLK_SHIFT 10
90 #define SPEAR320_UART5_PCLK_SHIFT 11
91 #define SPEAR320_UART6_PCLK_SHIFT 12
92 #define SPEAR320_RS485_PCLK_SHIFT 13
93
81#endif /* __MACH_SPEAR3XX_H */ 94#endif /* __MACH_SPEAR3XX_H */