xref: /openbmc/linux/arch/arm/mach-mvebu/kirkwood.h (revision d47a97bd)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * arch/arm/mach-mvebu/kirkwood.h
4  *
5  * Generic definitions for Marvell Kirkwood SoC flavors:
6  * 88F6180, 88F6192 and 88F6281.
7  */
8 
9 #define KIRKWOOD_REGS_PHYS_BASE	0xf1000000
10 #define DDR_PHYS_BASE           (KIRKWOOD_REGS_PHYS_BASE + 0x00000)
11 #define BRIDGE_PHYS_BASE	(KIRKWOOD_REGS_PHYS_BASE + 0x20000)
12 
13 #define DDR_OPERATION_BASE	(DDR_PHYS_BASE + 0x1418)
14 
15 #define CPU_CONFIG_PHYS		(BRIDGE_PHYS_BASE + 0x0100)
16 #define CPU_CONFIG_ERROR_PROP	0x00000004
17 
18 #define CPU_CONTROL_PHYS	(BRIDGE_PHYS_BASE + 0x0104)
19 #define MEMORY_PM_CTRL_PHYS	(BRIDGE_PHYS_BASE + 0x0118)
20