mb/google/brya/var/uldrenite: update gpio settings
[coreboot2.git] / src / mainboard / intel / tglrvp / Kconfig
blobeab638edbcdac7082f8f56ade3b834f665f9e0d0
1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_INTEL_TGLRVP_UP3 || BOARD_INTEL_TGLRVP_UP4
5 config BOARD_SPECIFIC_OPTIONS
6         def_bool y
7         select BOARD_ROMSIZE_KB_32768
8         select HAVE_ACPI_RESUME
9         select HAVE_ACPI_TABLES
10         select MAINBOARD_HAS_CHROMEOS
11         select DRIVERS_I2C_HID
12         select DRIVERS_INTEL_DPTF
13         select DRIVERS_I2C_GENERIC
14         select DRIVERS_I2C_MAX98373
15         select DRIVERS_INTEL_PMC
16         select DRIVERS_USB_ACPI
17         select DRIVERS_SPI_ACPI
18         select SOC_INTEL_TIGERLAKE
19         select INTEL_LPSS_UART_FOR_CONSOLE
20         select DRIVERS_INTEL_ISH
21         select EC_ACPI
22         select HAVE_SPD_IN_CBFS
23         select SOC_INTEL_CSE_LITE_SKU
24         select MAINBOARD_HAS_TPM2
25         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
26         select SPI_TPM
27         select TPM_GOOGLE_CR50
29 config CHROMEOS
30         select EC_GOOGLE_CHROMEEC_SWITCHES if TGL_CHROME_EC
31         select GBB_FLAG_FORCE_MANUAL_RECOVERY
32         select HAS_RECOVERY_MRC_CACHE
33         select GBB_FLAG_FORCE_DEV_SWITCH_ON
34         select GBB_FLAG_FORCE_DEV_BOOT_USB
35         select VBOOT_EARLY_EC_SYNC
37 config MAINBOARD_DIR
38         default "intel/tglrvp"
40 config VARIANT_DIR
41         default "tglrvp_up3" if BOARD_INTEL_TGLRVP_UP3
42         default "tglrvp_up4" if BOARD_INTEL_TGLRVP_UP4
44 config GBB_HWID
45         string
46         depends on CHROMEOS
47         default "TGLRVPUP3" if BOARD_INTEL_TGLRVP_UP3
48         default "TGLRVPUP4" if BOARD_INTEL_TGLRVP_UP4
50 config MAINBOARD_PART_NUMBER
51         default "tglrvpu" if BOARD_INTEL_TGLRVP_UP3
52         default "tglrvpy" if BOARD_INTEL_TGLRVP_UP4
54 config MAINBOARD_FAMILY
55         string
56         default "Intel_tglrvp"
58 config DEVICETREE
59         default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
61 choice
62         prompt "ON BOARD EC"
63         default TGL_CHROME_EC
64         help
65           This option allows you to select the on board EC to use.
66           Select whether the board  has Intel EC or Chrome EC
68 config TGL_CHROME_EC
69         bool "Chrome EC"
70         select EC_GOOGLE_CHROMEEC
71         select EC_GOOGLE_CHROMEEC_LPC
72         select EC_GOOGLE_CHROMEEC_ESPI
73         select EC_GOOGLE_CHROMEEC_BOARDID
75 config TGL_INTEL_EC
76         bool "Intel EC"
77         select EC_ACPI
78         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
79 endchoice
81 config VBOOT
82         select VBOOT_LID_SWITCH
84 config UART_FOR_CONSOLE
85         int
86         default 2
88 config DRIVER_TPM_SPI_BUS
89         default 0x2
91 config TPM_TIS_ACPI_INTERRUPT
92         int
93         default 54  # GPE0_DW1_22 (GPP_C22)
95 endif