coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
lpc.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef _SOC_CANNONLAKE_LPC_H_
4
#define _SOC_CANNONLAKE_LPC_H_
5
6
#include <
stdint.h
>
7
8
/* PCI Configuration Space (D31:F0): LPC */
9
#define SCI_IRQ_SEL (7 << 0)
10
#define SCIS_IRQ9 0
11
#define SCIS_IRQ10 1
12
#define SCIS_IRQ11 2
13
#define SCIS_IRQ20 4
14
#define SCIS_IRQ21 5
15
#define SCIS_IRQ22 6
16
#define SCIS_IRQ23 7
17
#define SERIRQ_CNTL 0x64
18
#define LPC_IO_DEC 0x80
/* IO Decode Ranges Register */
19
#define COMA_RANGE 0x0
/* 0x3F8 - 0x3FF COM1*/
20
#define COMB_RANGE 0x1
/* 0x2F8 - 0x2FF COM2*/
21
#define LPC_EN 0x82
/* LPC IF Enables Register */
22
#define LPC_GEN1_DEC 0x84
/* LPC IF Generic Decode Range 1 */
23
#define LPC_GEN2_DEC 0x88
/* LPC IF Generic Decode Range 2 */
24
#define LPC_GEN3_DEC 0x8c
/* LPC IF Generic Decode Range 3 */
25
#define LPC_GEN4_DEC 0x90
/* LPC IF Generic Decode Range 4 */
26
#define LGMR 0x98
/* LPC Generic Memory Range */
27
#define PCCTL 0xE0
/* PCI Clock Control */
28
#define CLKRUN_EN (1 << 0)
29
30
#endif
stdint.h
src
soc
intel
cannonlake
include
soc
lpc.h
Generated by
1.9.1