blob: db21dd4e2622ff61d69ebf0f73bf8d0be7e906f2 [file] [log] [blame]
Mathew King2e2fc7a2020-12-08 11:33:58 -07001# SPDX-License-Identifier: GPL-2.0-or-later
2chip soc/amd/cezanne
Mathew Kingc44cc192021-02-23 14:15:50 -07003
4 # eSPI Configuration
5 register "common_config.espi_config" = "{
6 .std_io_decode_bitmap = ESPI_DECODE_IO_0x80_EN | ESPI_DECODE_IO_0X60_0X64_EN,
7 .generic_io_range[0] = {
8 .base = 0x62,
9 /*
10 * Only 0x62 and 0x66 are required. But, this is not supported by
11 * standard IO decodes and there are only 4 generic I/O windows
12 * available. Hence, open a window from 0x62-0x67.
13 */
14 .size = 5,
15 },
16 .generic_io_range[1] = {
17 .base = 0x800, /* EC_HOST_CMD_REGION0 */
18 .size = 256, /* EC_HOST_CMD_REGION_SIZE * 2 */
19 },
20 .generic_io_range[2] = {
21 .base = 0x900, /* EC_LPC_ADDR_MEMMAP */
22 .size = 255, /* EC_MEMMAP_SIZE */
23 },
24 .generic_io_range[3] = {
25 .base = 0x200, /* EC_LPC_ADDR_HOST_DATA */
26 .size = 8, /* 0x200 - 0x207 */
27 },
28
29 .io_mode = ESPI_IO_MODE_QUAD,
30 .op_freq_mhz = ESPI_OP_FREQ_33_MHZ,
31 .crc_check_enable = 1,
32 .dedicated_alert_pin = 1,
33 .periph_ch_en = 1,
34 .vw_ch_en = 1,
35 .oob_ch_en = 0,
36 .flash_ch_en = 0,
37
38 .vw_irq_polarity = ESPI_VW_IRQ_LEVEL_HIGH(1) | ESPI_VW_IRQ_LEVEL_HIGH(12),
39 }"
40
Mathew King2e2fc7a2020-12-08 11:33:58 -070041 device domain 0 on
Mathew Kingabc69712021-03-03 16:36:46 -070042 device ref gpp_bridge_a on # Internal GPP Bridge 0 to Bus A
43 device ref gfx on end # Internal GPU (GFX)
44 end
Mathew King2e2fc7a2020-12-08 11:33:58 -070045 end # domain
46end # chip soc/amd/cezanne