@ -17,7 +17,7 @@
# define GPU_2D_ARB_END_ADDR 0x02203FFF
# define OPENVG_ARB_BASE_ADDR 0x02204000
# define OPENVG_ARB_END_ADDR 0x02207FFF
# elif (defined(CONFIG_MX6SX) || defined(CONFIG_MX6UL))
# elif (defined(CONFIG_MX6SX) || defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL) )
# define CAAM_ARB_BASE_ADDR 0x00100000
# define CAAM_ARB_END_ADDR 0x00107FFF
# define GPU_ARB_BASE_ADDR 0x01800000
@ -46,7 +46,8 @@
# define MXS_BCH_BASE (APBH_DMA_ARB_BASE_ADDR + 0x04000)
/* GPV - PL301 configuration ports */
# if (defined(CONFIG_MX6SX) || defined(CONFIG_MX6UL) || \
# if (defined(CONFIG_MX6SX) || \
defined ( CONFIG_MX6UL ) | | defined ( CONFIG_MX6ULL ) | | \
defined ( CONFIG_MX6SL ) | | defined ( CONFIG_MX6SLL ) )
# define GPV2_BASE_ADDR 0x00D00000
# define GPV3_BASE_ADDR 0x00E00000
@ -88,7 +89,7 @@
# define QSPI0_AMBA_END 0x6FFFFFFF
# define QSPI1_AMBA_BASE 0x70000000
# define QSPI1_AMBA_END 0x7FFFFFFF
# elif defined(CONFIG_MX6UL)
# elif ( defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL) )
# define WEIM_ARB_BASE_ADDR 0x50000000
# define WEIM_ARB_END_ADDR 0x57FFFFFF
# define QSPI0_AMBA_BASE 0x60000000
@ -109,7 +110,8 @@
# endif
# if (defined(CONFIG_MX6SLL) || defined(CONFIG_MX6SL) || \
defined ( CONFIG_MX6SX ) | | defined ( CONFIG_MX6UL ) )
defined ( CONFIG_MX6SX ) | | \
defined ( CONFIG_MX6UL ) | | defined ( CONFIG_MX6ULL ) )
# define MMDC0_ARB_BASE_ADDR 0x80000000
# define MMDC0_ARB_END_ADDR 0xFFFFFFFF
# define MMDC1_ARB_BASE_ADDR 0xC0000000
@ -262,7 +264,7 @@
# define MMDC_P0_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x30000)
/* i.MX6SL/SLL */
# define RNGB_IPS_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x34000)
# ifdef CONFIG_MX6UL
# if ( defined(CONFIG_MX6UL) || defined( CONFIG_MX6ULL))
# define ENET2_BASE_ADDR (AIPS1_OFF_BASE_ADDR + 0x34000)
# else
/* i.MX6SX */
@ -288,7 +290,7 @@
# define IP2APB_PERFMON3_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x4C000)
# endif
# define IP2APB_TZASC1_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x50000)
# ifdef CONFIG_MX6UL
# if ( defined(CONFIG_MX6UL) || defined( CONFIG_MX6ULL))
# define QSPI0_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x60000)
# define UART6_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x7C000)
# elif defined(CONFIG_MX6SX)
@ -337,7 +339,7 @@
# define PWM6_BASE_ADDR (AIPS3_ARB_BASE_ADDR + 0xA8000)
# define PWM7_BASE_ADDR (AIPS3_ARB_BASE_ADDR + 0xAC000)
# define PWM8_BASE_ADDR (AIPS3_ARB_BASE_ADDR + 0xB0000)
# elif defined(CONFIG_MX6ULL)
# elif (defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL) )
# define AIPS3_CONFIG_BASE_ADDR (AIPS3_ARB_BASE_ADDR + 0x7C000)
# define DCP_BASE_ADDR (AIPS3_ARB_BASE_ADDR + 0x80000)
# define RNGB_BASE_ADDR (AIPS3_ARB_BASE_ADDR + 0x84000)
@ -354,7 +356,8 @@
# define MX6SX_LCDIF1_BASE_ADDR (AIPS3_ARB_BASE_ADDR + 0x20000)
# define MX6SX_WDOG3_BASE_ADDR (AIPS3_ARB_BASE_ADDR + 0x88000)
# if !(defined(CONFIG_MX6SX) || defined(CONFIG_MX6UL) || \
# if !(defined(CONFIG_MX6SX) || \
defined ( CONFIG_MX6UL ) | | defined ( CONFIG_MX6ULL ) | | \
defined ( CONFIG_MX6SLL ) | | defined ( CONFIG_MX6SL ) )
# define IRAM_SIZE 0x00040000
# else
@ -573,7 +576,7 @@ struct src {
# define IOMUXC_GPR12_LOS_LEVEL (0x1f << 4)
struct iomuxc {
# if (defined(CONFIG_MX6SX) || defined(CONFIG_MX6UL))
# if (defined(CONFIG_MX6SX) || defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL) )
u8 reserved [ 0x4000 ] ;
# endif
u32 gpr [ 14 ] ;
@ -700,7 +703,7 @@ struct cspi_regs {
# define MXC_CSPICON_SSPOL 12 /* SS polarity */
# define MXC_CSPICON_CTL 20 /* inactive state of SCLK */
# if defined(CONFIG_MX6SLL) || defined(CONFIG_MX6SL) || \
defined ( CONFIG_MX6DL ) | | defined ( CONFIG_MX6UL )
defined ( CONFIG_MX6DL ) | | defined ( CONFIG_MX6UL ) | | defined ( CONFIG_MX6ULL )
# define MXC_SPI_BASE_ADDRESSES \
ECSPI1_BASE_ADDR , \
ECSPI2_BASE_ADDR , \