summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu/kirkwood.h
blob: 15135994ce2f2266db8c7cc934aa774279a884b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * arch/arm/mach-mvebu/kirkwood.h
 *
 * Generic definitions for Marvell Kirkwood SoC flavors:
 * 88F6180, 88F6192 and 88F6281.
 */

#define KIRKWOOD_REGS_PHYS_BASE	0xf1000000
#define DDR_PHYS_BASE           (KIRKWOOD_REGS_PHYS_BASE + 0x00000)
#define BRIDGE_PHYS_BASE	(KIRKWOOD_REGS_PHYS_BASE + 0x20000)

#define DDR_OPERATION_BASE	(DDR_PHYS_BASE + 0x1418)

#define CPU_CONFIG_PHYS		(BRIDGE_PHYS_BASE + 0x0100)
#define CPU_CONFIG_ERROR_PROP	0x00000004

#define CPU_CONTROL_PHYS	(BRIDGE_PHYS_BASE + 0x0104)
#define MEMORY_PM_CTRL_PHYS	(BRIDGE_PHYS_BASE + 0x0118)