Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
spear.h File Reference
#include <asm/memory.h>

Go to the source code of this file.

Macros

#define SPEAR3XX_ICM1_2_BASE   UL(0xD0000000)
 
#define VA_SPEAR3XX_ICM1_2_BASE   UL(0xFD000000)
 
#define SPEAR3XX_ICM1_UART_BASE   UL(0xD0000000)
 
#define VA_SPEAR3XX_ICM1_UART_BASE   (VA_SPEAR3XX_ICM1_2_BASE | SPEAR3XX_ICM1_UART_BASE)
 
#define SPEAR3XX_ICM1_SSP_BASE   UL(0xD0100000)
 
#define SPEAR3XX_ICM3_ML1_2_BASE   UL(0xF0000000)
 
#define VA_SPEAR6XX_ML_CPU_BASE   UL(0xF0000000)
 
#define SPEAR3XX_ICM3_SMI_CTRL_BASE   UL(0xFC000000)
 
#define VA_SPEAR3XX_ICM3_SMI_CTRL_BASE   UL(0xFC000000)
 
#define SPEAR3XX_ICM3_DMA_BASE   UL(0xFC400000)
 
#define SPEAR3XX_ICM3_SYS_CTRL_BASE   UL(0xFCA00000)
 
#define VA_SPEAR3XX_ICM3_SYS_CTRL_BASE   (VA_SPEAR3XX_ICM3_SMI_CTRL_BASE | SPEAR3XX_ICM3_SYS_CTRL_BASE)
 
#define SPEAR3XX_ICM3_MISC_REG_BASE   UL(0xFCA80000)
 
#define VA_SPEAR3XX_ICM3_MISC_REG_BASE   (VA_SPEAR3XX_ICM3_SMI_CTRL_BASE | SPEAR3XX_ICM3_MISC_REG_BASE)
 
#define SPEAR_DBG_UART_BASE   SPEAR3XX_ICM1_UART_BASE
 
#define VA_SPEAR_DBG_UART_BASE   VA_SPEAR3XX_ICM1_UART_BASE
 
#define SPEAR_SYS_CTRL_BASE   SPEAR3XX_ICM3_SYS_CTRL_BASE
 
#define VA_SPEAR_SYS_CTRL_BASE   VA_SPEAR3XX_ICM3_SYS_CTRL_BASE
 
#define SPEAR320_SOC_CONFIG_BASE   UL(0xB3000000)
 
#define VA_SPEAR320_SOC_CONFIG_BASE   UL(0xFE000000)
 
#define SPEAR320_CONTROL_REG   IOMEM(VA_SPEAR320_SOC_CONFIG_BASE)
 
#define SPEAR320_EXT_CTRL_REG   IOMEM(VA_SPEAR320_SOC_CONFIG_BASE + 0x0018)
 
#define SPEAR320_UARTX_PCLK_MASK   0x1
 
#define SPEAR320_UART2_PCLK_SHIFT   8
 
#define SPEAR320_UART3_PCLK_SHIFT   9
 
#define SPEAR320_UART4_PCLK_SHIFT   10
 
#define SPEAR320_UART5_PCLK_SHIFT   11
 
#define SPEAR320_UART6_PCLK_SHIFT   12
 
#define SPEAR320_RS485_PCLK_SHIFT   13
 

Macro Definition Documentation

#define SPEAR320_CONTROL_REG   IOMEM(VA_SPEAR320_SOC_CONFIG_BASE)

Definition at line 50 of file spear.h.

#define SPEAR320_EXT_CTRL_REG   IOMEM(VA_SPEAR320_SOC_CONFIG_BASE + 0x0018)

Definition at line 51 of file spear.h.

#define SPEAR320_RS485_PCLK_SHIFT   13

Definition at line 58 of file spear.h.

#define SPEAR320_SOC_CONFIG_BASE   UL(0xB3000000)

Definition at line 48 of file spear.h.

#define SPEAR320_UART2_PCLK_SHIFT   8

Definition at line 53 of file spear.h.

#define SPEAR320_UART3_PCLK_SHIFT   9

Definition at line 54 of file spear.h.

#define SPEAR320_UART4_PCLK_SHIFT   10

Definition at line 55 of file spear.h.

#define SPEAR320_UART5_PCLK_SHIFT   11

Definition at line 56 of file spear.h.

#define SPEAR320_UART6_PCLK_SHIFT   12

Definition at line 57 of file spear.h.

#define SPEAR320_UARTX_PCLK_MASK   0x1

Definition at line 52 of file spear.h.

#define SPEAR3XX_ICM1_2_BASE   UL(0xD0000000)

Definition at line 20 of file spear.h.

#define SPEAR3XX_ICM1_SSP_BASE   UL(0xD0100000)

Definition at line 24 of file spear.h.

#define SPEAR3XX_ICM1_UART_BASE   UL(0xD0000000)

Definition at line 22 of file spear.h.

#define SPEAR3XX_ICM3_DMA_BASE   UL(0xFC400000)

Definition at line 33 of file spear.h.

#define SPEAR3XX_ICM3_MISC_REG_BASE   UL(0xFCA80000)

Definition at line 36 of file spear.h.

#define SPEAR3XX_ICM3_ML1_2_BASE   UL(0xF0000000)

Definition at line 27 of file spear.h.

#define SPEAR3XX_ICM3_SMI_CTRL_BASE   UL(0xFC000000)

Definition at line 31 of file spear.h.

#define SPEAR3XX_ICM3_SYS_CTRL_BASE   UL(0xFCA00000)

Definition at line 34 of file spear.h.

#define SPEAR_DBG_UART_BASE   SPEAR3XX_ICM1_UART_BASE

Definition at line 40 of file spear.h.

#define SPEAR_SYS_CTRL_BASE   SPEAR3XX_ICM3_SYS_CTRL_BASE

Definition at line 44 of file spear.h.

#define VA_SPEAR320_SOC_CONFIG_BASE   UL(0xFE000000)

Definition at line 49 of file spear.h.

#define VA_SPEAR3XX_ICM1_2_BASE   UL(0xFD000000)

Definition at line 21 of file spear.h.

#define VA_SPEAR3XX_ICM1_UART_BASE   (VA_SPEAR3XX_ICM1_2_BASE | SPEAR3XX_ICM1_UART_BASE)

Definition at line 23 of file spear.h.

#define VA_SPEAR3XX_ICM3_MISC_REG_BASE   (VA_SPEAR3XX_ICM3_SMI_CTRL_BASE | SPEAR3XX_ICM3_MISC_REG_BASE)

Definition at line 37 of file spear.h.

#define VA_SPEAR3XX_ICM3_SMI_CTRL_BASE   UL(0xFC000000)

Definition at line 32 of file spear.h.

#define VA_SPEAR3XX_ICM3_SYS_CTRL_BASE   (VA_SPEAR3XX_ICM3_SMI_CTRL_BASE | SPEAR3XX_ICM3_SYS_CTRL_BASE)

Definition at line 35 of file spear.h.

#define VA_SPEAR6XX_ML_CPU_BASE   UL(0xF0000000)

Definition at line 28 of file spear.h.

#define VA_SPEAR_DBG_UART_BASE   VA_SPEAR3XX_ICM1_UART_BASE

Definition at line 41 of file spear.h.

#define VA_SPEAR_SYS_CTRL_BASE   VA_SPEAR3XX_ICM3_SYS_CTRL_BASE

Definition at line 45 of file spear.h.