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
70
71
72
73
|
/*
* This file is part of the coreboot project.
*
*
* 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_MEDIATEK_MT8173_INCLUDE_SOC_ADDRESS_MAP_H__
#define __SOC_MEDIATEK_MT8173_INCLUDE_SOC_ADDRESS_MAP_H__
#include <stddef.h>
#include <stdint.h>
enum {
VER_BASE = 0x08000000,
IO_PHYS = 0x10000000,
};
enum {
CKSYS_BASE = IO_PHYS,
INFRACFG_AO_BASE = IO_PHYS + 0x1000,
PERI_CON_BASE = IO_PHYS + 0x3000,
CHA_DRAMCAO_BASE = IO_PHYS + 0x4000,
GPIO_BASE = IO_PHYS + 0x5000,
SPM_BASE = IO_PHYS + 0x6000,
RGU_BASE = IO_PHYS + 0x7000,
GPT_BASE = IO_PHYS + 0x8000,
EINT_BASE = IO_PHYS + 0xB000,
PMIC_WRAP_BASE = IO_PHYS + 0xD000,
CHA_DDRPHY_BASE = IO_PHYS + 0xF000,
CHB_DRAMCAO_BASE = IO_PHYS + 0x11000,
CHB_DDRPHY_BASE = IO_PHYS + 0x12000,
MCUCFG_BASE = IO_PHYS + 0x200000,
EMI_BASE = IO_PHYS + 0x203000,
EFUSE_BASE = IO_PHYS + 0x206000,
APMIXED_BASE = IO_PHYS + 0x209000,
CHA_DRAMCNAO_BASE = IO_PHYS + 0x20E000,
CHB_DRAMCNAO_BASE = IO_PHYS + 0x213000,
MIPI_TX0_BASE = IO_PHYS + 0x215000,
MIPI_TX1_BASE = IO_PHYS + 0x216000,
ANA_MIPI_CS1_BASE = IO_PHYS + 0x218000,
UART0_BASE = IO_PHYS + 0x1002000,
SPI_BASE = IO_PHYS + 0x100A000,
I2C_BASE = IO_PHYS + 0x1007000,
I2C_DMA_BASE = IO_PHYS + 0x1000080,
SFLASH_REG_BASE = IO_PHYS + 0x100D000,
SSUSB_MAC_BASE = IO_PHYS + 0x1270000,
SSUSB_IPPC_BASE = IO_PHYS + 0x1280700,
SSUSB_SIF_BASE = IO_PHYS + 0x1290800,
MMSYS_BASE = IO_PHYS + 0x4000000,
DISP_OVL0_BASE = IO_PHYS + 0x400C000,
DISP_OVL1_BASE = IO_PHYS + 0x400D000,
DISP_RDMA0_BASE = IO_PHYS + 0x400E000,
DISP_RDMA1_BASE = IO_PHYS + 0x400F000,
DISP_RDMA2_BASE = IO_PHYS + 0x4010000,
DISP_COLOR0_BASE = IO_PHYS + 0x4013000,
DISP_COLOR1_BASE = IO_PHYS + 0x4014000,
DISP_SPLIT1_BASE = IO_PHYS + 0x4019000,
DISP_UFOE_BASE = IO_PHYS + 0x401A000,
DSI0_BASE = IO_PHYS + 0x401B000,
DSI1_BASE = IO_PHYS + 0x401C000,
DISP_MUTEX_BASE = IO_PHYS + 0x4020000,
DISP_OD_BASE = IO_PHYS + 0x4023000,
};
#endif /* __SOC_MEDIATEK_MT8173_INCLUDE_SOC_ADDRESS_MAP_H___ */
|