Go to the documentation of this file.
11 #ifndef __SMEMC_REGS_H
12 #define __SMEMC_REGS_H
14 #define PXA2XX_SMEMC_BASE 0x48000000
15 #define PXA3XX_SMEMC_BASE 0x4a000000
16 #define SMEMC_VIRT IOMEM(0xf6000000)
18 #define MDCNFG (SMEMC_VIRT + 0x00)
19 #define MDREFR (SMEMC_VIRT + 0x04)
20 #define MSC0 (SMEMC_VIRT + 0x08)
21 #define MSC1 (SMEMC_VIRT + 0x0C)
22 #define MSC2 (SMEMC_VIRT + 0x10)
23 #define MECR (SMEMC_VIRT + 0x14)
24 #define SXLCR (SMEMC_VIRT + 0x18)
25 #define SXCNFG (SMEMC_VIRT + 0x1C)
26 #define SXMRS (SMEMC_VIRT + 0x24)
27 #define MCMEM0 (SMEMC_VIRT + 0x28)
28 #define MCMEM1 (SMEMC_VIRT + 0x2C)
29 #define MCATT0 (SMEMC_VIRT + 0x30)
30 #define MCATT1 (SMEMC_VIRT + 0x34)
31 #define MCIO0 (SMEMC_VIRT + 0x38)
32 #define MCIO1 (SMEMC_VIRT + 0x3C)
33 #define MDMRS (SMEMC_VIRT + 0x40)
34 #define BOOT_DEF (SMEMC_VIRT + 0x44)
35 #define MEMCLKCFG (SMEMC_VIRT + 0x68)
36 #define CSADRCFG0 (SMEMC_VIRT + 0x80)
37 #define CSADRCFG1 (SMEMC_VIRT + 0x84)
38 #define CSADRCFG2 (SMEMC_VIRT + 0x88)
39 #define CSADRCFG3 (SMEMC_VIRT + 0x8C)
46 #define MCMEM(s) (SMEMC_VIRT + 0x28 + ((s)<<2))
47 #define MCATT(s) (SMEMC_VIRT + 0x30 + ((s)<<2))
48 #define MCIO(s) (SMEMC_VIRT + 0x38 + ((s)<<2))
51 #define MECR_NOS (1 << 0)
52 #define MECR_CIT (1 << 1)
54 #define MDCNFG_DE0 (1 << 0)
55 #define MDCNFG_DE1 (1 << 1)
56 #define MDCNFG_DE2 (1 << 16)
57 #define MDCNFG_DE3 (1 << 17)
59 #define MDREFR_K0DB4 (1 << 29)
60 #define MDREFR_K2FREE (1 << 25)
61 #define MDREFR_K1FREE (1 << 24)
62 #define MDREFR_K0FREE (1 << 23)
63 #define MDREFR_SLFRSH (1 << 22)
64 #define MDREFR_APD (1 << 20)
65 #define MDREFR_K2DB2 (1 << 19)
66 #define MDREFR_K2RUN (1 << 18)
67 #define MDREFR_K1DB2 (1 << 17)
68 #define MDREFR_K1RUN (1 << 16)
69 #define MDREFR_E1PIN (1 << 15)
70 #define MDREFR_K0DB2 (1 << 14)
71 #define MDREFR_K0RUN (1 << 13)
72 #define MDREFR_E0PIN (1 << 12)