RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / mach-mmp / include / mach / regs-smc.h
blobe484d40d71bd5fed2643d865efe0c918f0514b56
1 /*
2 * linux/arch/arm/mach-mmp/include/mach/regs-smc.h
4 * Static Memory Controller Registers
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 #ifndef __ASM_MACH_REGS_SMC_H
12 #define __ASM_MACH_REGS_SMC_H
14 #include <mach/addr-map.h>
16 #define SMC_VIRT_BASE (AXI_VIRT_BASE + 0x83800)
17 #define SMC_REG(x) (SMC_VIRT_BASE + (x))
19 #define SMC_MSC0 SMC_REG(0x0020)
20 #define SMC_MSC1 SMC_REG(0x0024)
21 #define SMC_SXCNFG0 SMC_REG(0x0030)
22 #define SMC_SXCNFG1 SMC_REG(0x0034)
23 #define SMC_MEMCLKCFG SMC_REG(0x0068)
24 #define SMC_CSDFICFG0 SMC_REG(0x0090)
25 #define SMC_CSDFICFG1 SMC_REG(0x0094)
26 #define SMC_CLK_RET_DEL SMC_REG(0x00b0)
27 #define SMC_ADV_RET_DEL SMC_REG(0x00b4)
28 #define SMC_CSADRMAP0 SMC_REG(0x00c0)
29 #define SMC_CSADRMAP1 SMC_REG(0x00c4)
30 #define SMC_WE_AP0 SMC_REG(0x00e0)
31 #define SMC_WE_AP1 SMC_REG(0x00e4)
32 #define SMC_OE_AP0 SMC_REG(0x00f0)
33 #define SMC_OE_AP1 SMC_REG(0x00f4)
34 #define SMC_ADV_AP0 SMC_REG(0x0100)
35 #define SMC_ADV_AP1 SMC_REG(0x0104)
37 #endif /* __ASM_MACH_REGS_SMC_H */