coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
addressmap.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __SOC_MEDIATEK_MT8186_INCLUDE_SOC_ADDRESSMAP_H__
4 #define __SOC_MEDIATEK_MT8186_INCLUDE_SOC_ADDRESSMAP_H__
5 
6 enum {
7  MCUSYS_BASE = 0x0C530000,
8  IO_PHYS = 0x10000000,
9 };
10 
11 enum {
12  MCUCFG_BASE = MCUSYS_BASE + 0x00008000,
13 };
14 
15 enum {
16  CKSYS_BASE = IO_PHYS + 0x00000000,
17  INFRACFG_AO_BASE = IO_PHYS + 0x00001000,
18  IOCFG_LT_BASE = IO_PHYS + 0x00002000,
19  IOCFG_LM_BASE = IO_PHYS + 0x00002200,
20  IOCFG_LB_BASE = IO_PHYS + 0x00002400,
21  IOCFG_BL_BASE = IO_PHYS + 0x00002600,
22  IOCFG_RB_BASE = IO_PHYS + 0x00002A00,
23  IOCFG_RT_BASE = IO_PHYS + 0x00002C00,
24  PERICFG_BASE = IO_PHYS + 0x00003000,
25  GPIO_BASE = IO_PHYS + 0x00005000,
26  SPM_BASE = IO_PHYS + 0x00006000,
27  RGU_BASE = IO_PHYS + 0x00007000,
28  GPT_BASE = IO_PHYS + 0x00008000,
29  EINT_BASE = IO_PHYS + 0x0000B000,
30  APMIXED_BASE = IO_PHYS + 0x0000C000,
31  PWRAP_BASE = IO_PHYS + 0x0000D000,
33  DEVAPC_AO_MM_BASE = IO_PHYS + 0x0000F000,
34  PMIF_BASE = IO_PHYS + 0x00015000,
35  SYSTIMER_BASE = IO_PHYS + 0x00017000,
36  I2C0_DMA_BASE = IO_PHYS + 0x00200100,
37  I2C1_DMA_BASE = IO_PHYS + 0x00200200,
38  I2C2_DMA_BASE = IO_PHYS + 0x00200300,
39  I2C3_DMA_BASE = IO_PHYS + 0x00200480,
40  I2C4_DMA_BASE = IO_PHYS + 0x00200580,
41  I2C5_DMA_BASE = IO_PHYS + 0x00200700,
42  I2C6_DMA_BASE = IO_PHYS + 0x00200800,
43  I2C7_DMA_BASE = IO_PHYS + 0x00200900,
44  I2C8_DMA_BASE = IO_PHYS + 0x00200A80,
45  I2C9_DMA_BASE = IO_PHYS + 0x00200C00,
46  DEVAPC_BASE = IO_PHYS + 0x00207000,
47  DBG_TRACKER_BASE = IO_PHYS + 0x00208000,
48  EMI0_BASE = IO_PHYS + 0x00219000,
49  EMI0_MPU_BASE = IO_PHYS + 0x0021B000,
50  DRAMC_CHA_AO_BASE = IO_PHYS + 0x00220000,
51  SSPM_SRAM_BASE = IO_PHYS + 0x00400000,
52  SSPM_CFG_BASE = IO_PHYS + 0x00440000,
53  SFLASH_REG_BASE = IO_PHYS + 0x01000000,
54  AUXADC_BASE = IO_PHYS + 0x01001000,
55  UART0_BASE = IO_PHYS + 0x01002000,
56  I2C7_BASE = IO_PHYS + 0x01004000,
57  I2C8_BASE = IO_PHYS + 0x01005000,
58  I2C0_BASE = IO_PHYS + 0x01007000,
59  I2C1_BASE = IO_PHYS + 0x01008000,
60  I2C2_BASE = IO_PHYS + 0x01009000,
61  SPI0_BASE = IO_PHYS + 0x0100A000,
62  I2C6_BASE = IO_PHYS + 0x0100D000,
63  I2C3_BASE = IO_PHYS + 0x0100F000,
64  SPI1_BASE = IO_PHYS + 0x01010000,
65  I2C4_BASE = IO_PHYS + 0x01011000,
66  SPI2_BASE = IO_PHYS + 0x01012000,
67  SPI3_BASE = IO_PHYS + 0x01013000,
68  SPI4_BASE = IO_PHYS + 0x01014000,
69  SPI5_BASE = IO_PHYS + 0x01015000,
70  I2C5_BASE = IO_PHYS + 0x01016000,
71  I2C9_BASE = IO_PHYS + 0x01019000,
72  /* Corsola uses USB2 port1 instead of USB2 port0. */
73  SSUSB_IPPC_BASE = IO_PHYS + 0x01283E00,
74  MSDC0_BASE = IO_PHYS + 0x01230000,
75  /* Corsola uses USB2 port1 instead of USB2 port0. */
76  SSUSB_SIF_BASE = IO_PHYS + 0x01C80300,
77  EFUSEC_BASE = IO_PHYS + 0x01CB0000,
78  MIPITX_BASE = IO_PHYS + 0x01CC0000,
79  MSDC0_TOP_BASE = IO_PHYS + 0x01CD0000,
80  MMSYS_BASE = IO_PHYS + 0x04000000,
81  DISP_MUTEX_BASE = IO_PHYS + 0x04001000,
82  SMI_BASE = IO_PHYS + 0x04002000,
83  SMI_LARB0 = IO_PHYS + 0x04003000,
84  DISP_OVL0_BASE = IO_PHYS + 0x04005000,
85  DISP_OVL1_BASE = IO_PHYS + 0x04006000,
86  DISP_RDMA0_BASE = IO_PHYS + 0x04007000,
87  DISP_COLOR0_BASE = IO_PHYS + 0x04009000,
88  DISP_CCORR0_BASE = IO_PHYS + 0x0400B000,
89  DISP_AAL0_BASE = IO_PHYS + 0x0400C000,
90  DISP_GAMMA0_BASE = IO_PHYS + 0x0400D000,
91  DISP_POSTMASK0_BASE = IO_PHYS + 0x0400E000,
92  DISP_DITHER0_BASE = IO_PHYS + 0x0400F000,
93  DSI0_BASE = IO_PHYS + 0x04013000,
94 };
95 #endif
@ RGU_BASE
Definition: addressmap.h:20
@ MMSYS_BASE
Definition: addressmap.h:44
@ INFRACFG_AO_BASE
Definition: addressmap.h:15
@ SPM_BASE
Definition: addressmap.h:19
@ DSI0_BASE
Definition: addressmap.h:54
@ APMIXED_BASE
Definition: addressmap.h:30
@ UART0_BASE
Definition: addressmap.h:36
@ EINT_BASE
Definition: addressmap.h:22
@ MCUCFG_BASE
Definition: addressmap.h:27
@ DISP_COLOR0_BASE
Definition: addressmap.h:50
@ DISP_OVL1_BASE
Definition: addressmap.h:46
@ DISP_RDMA0_BASE
Definition: addressmap.h:47
@ GPIO_BASE
Definition: addressmap.h:18
@ CKSYS_BASE
Definition: addressmap.h:14
@ DISP_MUTEX_BASE
Definition: addressmap.h:56
@ GPT_BASE
Definition: addressmap.h:21
@ SFLASH_REG_BASE
Definition: addressmap.h:40
@ SSUSB_IPPC_BASE
Definition: addressmap.h:42
@ SSUSB_SIF_BASE
Definition: addressmap.h:43
@ DISP_OVL0_BASE
Definition: addressmap.h:45
@ IO_PHYS
Definition: addressmap.h:10
@ IOCFG_LT_BASE
Definition: addressmap.h:46
@ DISP_AAL0_BASE
Definition: addressmap.h:57
@ SPI2_BASE
Definition: addressmap.h:32
@ IOCFG_LM_BASE
Definition: addressmap.h:43
@ PWRAP_BASE
Definition: addressmap.h:20
@ AUXADC_BASE
Definition: addressmap.h:27
@ EFUSEC_BASE
Definition: addressmap.h:45
@ SSPM_SRAM_BASE
Definition: addressmap.h:24
@ DISP_GAMMA0_BASE
Definition: addressmap.h:58
@ SSPM_CFG_BASE
Definition: addressmap.h:25
@ MIPITX_BASE
Definition: addressmap.h:41
@ SMI_BASE
Definition: addressmap.h:63
@ SPI3_BASE
Definition: addressmap.h:33
@ IOCFG_RB_BASE
Definition: addressmap.h:40
@ SPI4_BASE
Definition: addressmap.h:34
@ IOCFG_BL_BASE
Definition: addressmap.h:44
@ DISP_CCORR0_BASE
Definition: addressmap.h:56
@ SPI1_BASE
Definition: addressmap.h:31
@ SPI5_BASE
Definition: addressmap.h:35
@ DISP_DITHER0_BASE
Definition: addressmap.h:59
@ IOCFG_RT_BASE
Definition: addressmap.h:38
@ SMI_LARB0
Definition: addressmap.h:62
@ SPI0_BASE
Definition: addressmap.h:30
@ IOCFG_LB_BASE
Definition: addressmap.h:42
@ I2C6_BASE
Definition: addressmap.h:62
@ I2C7_DMA_BASE
Definition: addressmap.h:43
@ I2C3_BASE
Definition: addressmap.h:63
@ DRAMC_CHA_AO_BASE
Definition: addressmap.h:50
@ DEVAPC_AO_MM_BASE
Definition: addressmap.h:33
@ DISP_POSTMASK0_BASE
Definition: addressmap.h:91
@ DEVAPC_BASE
Definition: addressmap.h:46
@ I2C3_DMA_BASE
Definition: addressmap.h:39
@ PMIF_BASE
Definition: addressmap.h:34
@ I2C0_DMA_BASE
Definition: addressmap.h:36
@ DBG_TRACKER_BASE
Definition: addressmap.h:47
@ DEVAPC_AO_INFRA_PERI_BASE
Definition: addressmap.h:32
@ I2C4_BASE
Definition: addressmap.h:65
@ I2C8_BASE
Definition: addressmap.h:57
@ PERICFG_BASE
Definition: addressmap.h:24
@ I2C2_DMA_BASE
Definition: addressmap.h:38
@ SYSTIMER_BASE
Definition: addressmap.h:35
@ I2C5_BASE
Definition: addressmap.h:70
@ I2C5_DMA_BASE
Definition: addressmap.h:41
@ I2C8_DMA_BASE
Definition: addressmap.h:44
@ EMI0_MPU_BASE
Definition: addressmap.h:49
@ I2C1_BASE
Definition: addressmap.h:59
@ EMI0_BASE
Definition: addressmap.h:48
@ I2C1_DMA_BASE
Definition: addressmap.h:37
@ MSDC0_BASE
Definition: addressmap.h:74
@ I2C9_DMA_BASE
Definition: addressmap.h:45
@ I2C0_BASE
Definition: addressmap.h:58
@ I2C7_BASE
Definition: addressmap.h:56
@ I2C2_BASE
Definition: addressmap.h:60
@ I2C9_BASE
Definition: addressmap.h:71
@ MSDC0_TOP_BASE
Definition: addressmap.h:79
@ I2C6_DMA_BASE
Definition: addressmap.h:42
@ I2C4_DMA_BASE
Definition: addressmap.h:40
@ MCUSYS_BASE
Definition: addressmap.h:7