coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
iomap.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _SOC_CANNONLAKE_IOMAP_H_
4 #define _SOC_CANNONLAKE_IOMAP_H_
5 
6 /*
7  * Memory-mapped I/O registers.
8  */
9 #define PCH_PRESERVED_BASE_ADDRESS 0xfc800000
10 #define PCH_PRESERVED_BASE_SIZE 0x02000000
11 
12 #define PCH_TRACE_HUB_BASE_ADDRESS 0xfc800000
13 #define PCH_TRACE_HUB_BASE_SIZE 0x00800000
14 
15 #define EARLY_I2C_BASE_ADDRESS 0xfe040000
16 #define EARLY_I2C_BASE(x) (EARLY_I2C_BASE_ADDRESS + (0x1000 * (x)))
17 
18 #define MCH_BASE_ADDRESS 0xfed10000
19 #define MCH_BASE_SIZE 0x8000
20 
21 #define DMI_BASE_ADDRESS 0xfeda0000
22 #define DMI_BASE_SIZE 0x1000
23 
24 #define EP_BASE_ADDRESS 0xfeda1000
25 #define EP_BASE_SIZE 0x1000
26 
27 #define EDRAM_BASE_ADDRESS 0xfed80000
28 #define EDRAM_BASE_SIZE 0x4000
29 
30 #define GFXVT_BASE_ADDRESS 0xfed90000
31 #define GFXVT_BASE_SIZE 0x1000
32 
33 #define IPUVT_BASE_ADDRESS 0xfed92000
34 #define IPUVT_BASE_SIZE 0x1000
35 
36 #define VTVC0_BASE_ADDRESS 0xfed91000
37 #define VTVC0_BASE_SIZE 0x1000
38 
39 #define REG_BASE_ADDRESS 0xfc000000
40 #define REG_BASE_SIZE 0x1000
41 
42 #define PCH_PWRM_BASE_ADDRESS 0xfe000000
43 #define PCH_PWRM_BASE_SIZE 0x10000
44 
45 #define SPI_BASE_ADDRESS 0xfe010000
46 #define EARLY_GSPI_BASE_ADDRESS 0xfe011000
47 
48 #define GPIO_BASE_SIZE 0x10000
49 
50 #define HECI1_BASE_ADDRESS 0xfeda2000
51 
52 /* PTT registers */
53 #define PTT_TXT_BASE_ADDRESS 0xfed30800
54 #define PTT_PRESENT 0x00070000
55 
56 #define VTD_BASE_ADDRESS 0xFED90000
57 #define VTD_BASE_SIZE 0x00004000
58 /*
59  * I/O port address space
60  */
61 #define SMBUS_BASE_ADDRESS 0x0efa0
62 #define SMBUS_BASE_SIZE 0x20
63 
64 #define ACPI_BASE_ADDRESS 0x1800
65 #define ACPI_BASE_SIZE 0x100
66 
67 #define TCO_BASE_ADDRESS 0x400
68 #define TCO_BASE_SIZE 0x20
69 
70 #define P2SB_BAR CONFIG_PCR_BASE_ADDRESS
71 #define P2SB_SIZE (16 * MiB)
72 
73 #endif