xref: /OK3568_Linux_fs/kernel/arch/arm/mach-mvebu/kirkwood.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * arch/arm/mach-mvebu/kirkwood.h
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * Generic definitions for Marvell Kirkwood SoC flavors:
5*4882a593Smuzhiyun  * 88F6180, 88F6192 and 88F6281.
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  * This file is licensed under the terms of the GNU General Public
8*4882a593Smuzhiyun  * License version 2.  This program is licensed "as is" without any
9*4882a593Smuzhiyun  * warranty of any kind, whether express or implied.
10*4882a593Smuzhiyun  */
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun #define KIRKWOOD_REGS_PHYS_BASE	0xf1000000
13*4882a593Smuzhiyun #define DDR_PHYS_BASE           (KIRKWOOD_REGS_PHYS_BASE + 0x00000)
14*4882a593Smuzhiyun #define BRIDGE_PHYS_BASE	(KIRKWOOD_REGS_PHYS_BASE + 0x20000)
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #define DDR_OPERATION_BASE	(DDR_PHYS_BASE + 0x1418)
17*4882a593Smuzhiyun 
18*4882a593Smuzhiyun #define CPU_CONFIG_PHYS		(BRIDGE_PHYS_BASE + 0x0100)
19*4882a593Smuzhiyun #define CPU_CONFIG_ERROR_PROP	0x00000004
20*4882a593Smuzhiyun 
21*4882a593Smuzhiyun #define CPU_CONTROL_PHYS	(BRIDGE_PHYS_BASE + 0x0104)
22*4882a593Smuzhiyun #define MEMORY_PM_CTRL_PHYS	(BRIDGE_PHYS_BASE + 0x0118)
23