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_IOMAP_H_
4
#define _SOC_IOMAP_H_
5
6
#include <
commonlib/helpers.h
>
7
8
/*
9
* Memory-mapped I/O registers.
10
*/
11
#define PCH_PRESERVED_BASE_ADDRESS 0xfc800000
12
#define PCH_PRESERVED_BASE_SIZE 0x02000000
13
14
#define EARLY_I2C_BASE_ADDRESS 0xfe040000
15
#define EARLY_I2C_BASE(x) (EARLY_I2C_BASE_ADDRESS + (0x1000 * (x)))
16
17
#define MCH_BASE_ADDRESS 0xfed10000
18
#define MCH_BASE_SIZE 0x8000
19
20
#define DMI_BASE_ADDRESS 0xfed18000
21
#define DMI_BASE_SIZE 0x1000
22
23
#define EP_BASE_ADDRESS 0xfed19000
24
#define EP_BASE_SIZE 0x1000
25
26
#define EDRAM_BASE_ADDRESS 0xfed80000
27
#define EDRAM_BASE_SIZE 0x4000
28
29
#define GDXC_BASE_ADDRESS 0xfed84000
30
#define GDXC_BASE_SIZE 0x1000
31
32
#define GFXVT_BASE_ADDRESS 0xfed90000
33
#define GFXVT_BASE_SIZE 0x1000
34
35
#define VTVC0_BASE_ADDRESS 0xfed91000
36
#define VTVC0_BASE_SIZE 0x1000
37
38
#define PCH_PWRM_BASE_ADDRESS 0xfe000000
39
#define PCH_PWRM_BASE_SIZE 0x10000
40
41
#define SPI_BASE_ADDRESS 0xfe010000
42
#define EARLY_GSPI_BASE_ADDRESS 0xfe011000
43
44
#define GPIO_BASE_SIZE 0x10000
45
46
#define HECI1_BASE_ADDRESS 0xfed1a000
47
48
#define THERMAL_BASE_ADDRESS 0xfe600000
49
50
#define VTD_BASE_ADDRESS 0xFED90000
51
#define VTD_BASE_SIZE 0x00004000
52
53
/* CPU Trace reserved memory size */
54
#define GDXC_MOT_MEMORY_SIZE (96*MiB)
55
#define GDXC_IOT_MEMORY_SIZE (32*MiB)
56
#define PSMI_BUFFER_AREA_SIZE (64*MiB)
57
58
/* PTT registers */
59
#define PTT_TXT_BASE_ADDRESS 0xfed30800
60
#define PTT_PRESENT 0x00070000
61
62
/*
63
* I/O port address space
64
*/
65
#define SMBUS_BASE_ADDRESS 0x0efa0
66
#define SMBUS_BASE_SIZE 0x20
67
68
#define ACPI_BASE_ADDRESS 0x1800
69
#define ACPI_BASE_SIZE 0x100
70
71
#define TCO_BASE_ADDRESS 0x400
72
#define TCO_BASE_SIZE 0x20
73
74
#define P2SB_BAR CONFIG_PCR_BASE_ADDRESS
75
#define P2SB_SIZE (16 * MiB)
76
77
#endif
helpers.h
src
soc
intel
skylake
include
soc
iomap.h
Generated by
1.9.1