blob: ea65b2d828c64e70b53d8af058fa37b00e1a72fd [file] [log] [blame]
Alessandro Rubini38fdf3a2009-02-09 15:53:31 +01001/* Collection of constants used to access Nomadik registers */
2
3#ifndef __NOMADIK_H__
4#define __NOMADIK_H__
5
6/* Base addresses of our peripherals */
Alessandro Rubini16be8932009-12-05 13:39:41 +01007#define NOMADIK_CLCDC_BASE 0x10120000 /* CLCD Controller */
Alessandro Rubini38fdf3a2009-02-09 15:53:31 +01008#define NOMADIK_SRC_BASE 0x101E0000 /* System and Reset Cnt */
9#define NOMADIK_PMU_BASE 0x101E9000 /* Power Management Unit */
10#define NOMADIK_MPMC_BASE 0x10110000 /* SDRAM Controller */
11#define NOMADIK_FSMC_BASE 0x10100000 /* FSMC Controller */
12#define NOMADIK_1NAND_BASE 0x30000000
13#define NOMADIK_GPIO0_BASE 0x101E4000
14#define NOMADIK_GPIO1_BASE 0x101E5000
15#define NOMADIK_GPIO2_BASE 0x101E6000
16#define NOMADIK_GPIO3_BASE 0x101E7000
17#define NOMADIK_CPLD_BASE 0x36000000
18#define NOMADIK_UART0_BASE 0x101FD000
19#define NOMADIK_UART1_BASE 0x101FB000
20#define NOMADIK_UART2_BASE 0x101F2000
21
22#define NOMADIK_I2C1_BASE 0x101F7000 /* I2C1 interface */
23#define NOMADIK_I2C0_BASE 0x101F8000 /* I2C0 interface */
24
25#define NOMADIK_RTC_BASE 0x101E8000
26#define NOMADIK_ETH0_BASE 0x36800300
27#define NOMADIK_CPLD_UART_BASE 0x36480000
28
29/* Chip select registers ("Flexible Static Memory Controller") */
30
31#define REG_FSMC_BCR0 (NOMADIK_FSMC_BASE + 0x00)
32#define REG_FSMC_BTR0 (NOMADIK_FSMC_BASE + 0x04)
33#define REG_FSMC_BCR1 (NOMADIK_FSMC_BASE + 0x08)
34#define REG_FSMC_BTR1 (NOMADIK_FSMC_BASE + 0x0c)
35#define REG_FSMC_PCR0 (NOMADIK_FSMC_BASE + 0x40)
36#define REG_FSMC_PMEM0 (NOMADIK_FSMC_BASE + 0x48)
37#define REG_FSMC_PATT0 (NOMADIK_FSMC_BASE + 0x4c)
38#define REG_FSMC_ECCR0 (NOMADIK_FSMC_BASE + 0x54)
39
40#endif /* __NOMADIK_H__ */