Path: blob/master/arch/arm/mach-mmp/include/mach/regs-smc.h
15162 views
/*1* linux/arch/arm/mach-mmp/include/mach/regs-smc.h2*3* Static Memory Controller Registers4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License version 2 as7* published by the Free Software Foundation.8*/910#ifndef __ASM_MACH_REGS_SMC_H11#define __ASM_MACH_REGS_SMC_H1213#include <mach/addr-map.h>1415#define SMC_VIRT_BASE (AXI_VIRT_BASE + 0x83800)16#define SMC_REG(x) (SMC_VIRT_BASE + (x))1718#define SMC_MSC0 SMC_REG(0x0020)19#define SMC_MSC1 SMC_REG(0x0024)20#define SMC_SXCNFG0 SMC_REG(0x0030)21#define SMC_SXCNFG1 SMC_REG(0x0034)22#define SMC_MEMCLKCFG SMC_REG(0x0068)23#define SMC_CSDFICFG0 SMC_REG(0x0090)24#define SMC_CSDFICFG1 SMC_REG(0x0094)25#define SMC_CLK_RET_DEL SMC_REG(0x00b0)26#define SMC_ADV_RET_DEL SMC_REG(0x00b4)27#define SMC_CSADRMAP0 SMC_REG(0x00c0)28#define SMC_CSADRMAP1 SMC_REG(0x00c4)29#define SMC_WE_AP0 SMC_REG(0x00e0)30#define SMC_WE_AP1 SMC_REG(0x00e4)31#define SMC_OE_AP0 SMC_REG(0x00f0)32#define SMC_OE_AP1 SMC_REG(0x00f4)33#define SMC_ADV_AP0 SMC_REG(0x0100)34#define SMC_ADV_AP1 SMC_REG(0x0104)3536#endif /* __ASM_MACH_REGS_SMC_H */373839