2 /* Definitions for the Nomadik FSMC "Flexible Static Memory controller" */
4 #ifndef __ASM_ARCH_FSMC_H
5 #define __ASM_ARCH_FSMC_H
7 #include <mach/hardware.h>
12 /* bus control reg. and bus timing reg. for CS0..CS3 */
13 #define FSMC_BCR(x) (NOMADIK_FSMC_VA + (x << 3))
14 #define FSMC_BTR(x) (NOMADIK_FSMC_VA + (x << 3) + 0x04)
17 * PCR = control register
18 * PMEM = memory timing
19 * PATT = attribute timing
23 #define FSMC_PCR(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x00)
24 #define FSMC_PMEM(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x08)
25 #define FSMC_PATT(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x0c)
26 #define FSMC_PIO(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x10)
27 #define FSMC_PECCR(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x14)
29 #endif /* __ASM_ARCH_FSMC_H */