summaryrefslogtreecommitdiff
path: root/src/soc/marvell/mvmap2315/include/soc/addressmap.h
blob: c240e0f57c95199491a76fe19c982b3fed594b08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
 * This file is part of the coreboot project.
 *
 * Copyright (C) 2016 Marvell, Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef __SOC_MARVELL_MVMAP2315_ADDRESS_MAP_H__
#define __SOC_MARVELL_MVMAP2315_ADDRESS_MAP_H__

#include <stdint.h>

#define MAX_DRAM_ADDRESS		0x73000000

#define MVMAP2315_CBFS_BASE		0x00400000
#define MVMAP2315_ROMSTAGE_BASE		0xE0010000

#define MVMAP2315_BOOTBLOCK_CB1		0xE0009510
#define MVMAP2315_BOOTBLOCK_CB2		0xE0009514

#define MVMAP2315_PINMUX_BASE		0xE0140000
#define MVMAP2315_TIMER0_BASE		0xE1020000
#define MVMAP2315_GPIOF_BASE		0xE0142000
#define MVMAP2315_GPIOG_BASE		0xE0142100
#define MVMAP2315_GPIOH_BASE		0xE0142200
#define MVMAP2315_WDT0_BASE		0XE1010000
#define MVMAP2315_WDT1_BASE		0XE1020000
#define MVMAP2315_SP_IPC_BASE		0xED0C2000
#define MVMAP2315_MCU_MSG_BUFF_BASE	0xEE03FF8C

#define MVMAP2315_A2BUS_BANKED_BASE	0xF0000000
#define MVMAP2315_A2BUS_ALIAS6_BASE	0xF0002000
#define MVMAP2315_A2BUS_ALIAS9_BASE	0xF0002C00
#define MVMAP2315_A2BUS_ALIAS11_BASE	0xF0003400
#define MVMAP2315_A2BUS_CCU_BASE	0xF0004000

#define	MVMAP2315_BCM_GICD_BASE		0xE0111000
#define MVMAP2315_BCM_GICC_BASE		0xE0112000

#define MVMAP2315_MAIN_PLL_BASE		0xE0125000
#define MVMAP2315_APMU_CLK_BASE		0xE0125400
#define MVMAP2315_GENTIMER_BASE		0xE0137000
#define MVMAP2315_MPMU_CLK_BASE		0xEF000800
#define MVMAP2315_MCU_SECCONFIG_BASE	0xED600000
#define MVMAP2315_APMU_PWRCTL_BASE	0xE012C000
#define MVMAP2315_LCM_REGS_BASE		0xE0130000
#define MVMAP2315_CPU_BASE		0xF0410000

#define MVMAP2315_RAM_BASE		0x00000000
#define MVMAP2315_DEVICE_BASE		0x80000000
#define MVMAP2315_FLASH_BASE		0xFE000000
#define MVMAP2315_LCM_BASE		0xE0000000
#define MVMAP2315_LOWPWR_REG		0xE0002000

#define MVMAP2315_MC_BASE		0xF0020000
#define MVMAP2315_PHY0_BASE		0xF0034000
#define MVMAP2315_PHY1_BASE		0xF0035000
#define MVMAP2315_PHY2_BASE		0xF0036000
#define MVMAP2315_PHY3_BASE		0xF0037000

#endif /*  __SOC_MARVELL_MVMAP2315_ADDRESS_MAP_H__ */