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_ELKHARTLAKE_IOMAP_H_
4 #define _SOC_ELKHARTLAKE_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 DMI_BASE_ADDRESS 0xfeda0000
16 #define DMI_BASE_SIZE 0x1000
17 
18 #define EP_BASE_ADDRESS 0xfeda1000
19 #define EP_BASE_SIZE 0x1000
20 
21 #define EDRAM_BASE_ADDRESS 0xfed80000
22 #define EDRAM_BASE_SIZE 0x4000
23 
24 #define GFXVT_BASE_ADDRESS 0xfed90000
25 #define GFXVT_BASE_SIZE 0x1000
26 
27 #define VTVC0_BASE_ADDRESS 0xfed91000
28 #define VTVC0_BASE_SIZE 0x1000
29 
30 #define REG_BASE_ADDRESS 0xfb000000
31 #define REG_BASE_SIZE 0x1000
32 
33 #define PCH_PWRM_BASE_ADDRESS 0xfe000000
34 #define PCH_PWRM_BASE_SIZE 0x10000
35 
36 #define SPI_BASE_ADDRESS 0xfe010000
37 
38 #define GPIO_BASE_SIZE 0x10000
39 
40 #define HECI1_BASE_ADDRESS 0xfeda2000
41 
42 #define VTD_BASE_ADDRESS 0xfed90000
43 #define VTD_BASE_SIZE 0x00004000
44 
45 #define MCH_BASE_ADDRESS 0xfec80000
46 #define MCH_BASE_SIZE 0x80000
47 
48 #define EARLY_GSPI_BASE_ADDRESS 0xfe011000
49 
50 #define EARLY_I2C_BASE_ADDRESS 0xfe040000
51 #define EARLY_I2C_BASE(x) (EARLY_I2C_BASE_ADDRESS + (0x1000 * (x)))
52 
53 /*
54  * I/O port address space
55  */
56 #define SMBUS_BASE_ADDRESS 0x0efa0
57 #define SMBUS_BASE_SIZE 0x20
58 
59 #define ACPI_BASE_ADDRESS 0x1800
60 #define ACPI_BASE_SIZE 0x100
61 
62 #define TCO_BASE_ADDRESS 0x400
63 #define TCO_BASE_SIZE 0x20
64 
65 #define P2SB_BAR CONFIG_PCR_BASE_ADDRESS
66 #define P2SB_SIZE (16 * MiB)
67 
68 #endif