acpi_gic: Add helper for platform gicc
[coreboot2.git] / src / mainboard / google / volteer / Kconfig
blobbc5ee6c10e427550b8266a5df78a8316f85fe7d8
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_BASEBOARD_VOLTEER
4         def_bool n
5         select BOARD_ROMSIZE_KB_32768
6         select DRIVERS_AUDIO_SOF
7         select DRIVERS_GENERIC_GPIO_KEYS
8         select DRIVERS_GENERIC_MAX98357A
9         select DRIVERS_GENESYSLOGIC_GL9763E
10         select DRIVERS_I2C_GENERIC
11         select DRIVERS_I2C_HID
12         select DRIVERS_I2C_MAX98373
13         select DRIVERS_I2C_SX9310
14         select DRIVERS_INTEL_DPTF
15         select DRIVERS_INTEL_PMC
16         select DRIVERS_INTEL_SOUNDWIRE
17         select DRIVERS_INTEL_USB4_RETIMER
18         select DRIVERS_SOUNDWIRE_ALC5682
19         select DRIVERS_SOUNDWIRE_MAX98373
20         select DRIVERS_SPI_ACPI
21         select DRIVERS_USB_ACPI
22         select EC_GOOGLE_CHROMEEC
23         select EC_GOOGLE_CHROMEEC_BOARDID
24         select EC_GOOGLE_CHROMEEC_INCLUDE_SSFC_IN_FW_CONFIG
25         select EC_GOOGLE_CHROMEEC_LPC
26         select EC_GOOGLE_CHROMEEC_SKUID
27         select ENABLE_TCSS_USB_DETECTION if !CHROMEOS
28         select FW_CONFIG
29         select FW_CONFIG_SOURCE_CHROMEEC_CBI
30         select GOOGLE_SMBIOS_MAINBOARD_VERSION
31         select HAVE_ACPI_RESUME
32         select HAVE_ACPI_TABLES
33         select HAVE_SPD_IN_CBFS
34         select I2C_TPM if BOARD_GOOGLE_VOLTEER2_TI50
35         select INTEL_LPSS_UART_FOR_CONSOLE
36         select MAINBOARD_HAS_CHROMEOS
37         select MAINBOARD_HAS_TPM2
38         select SOC_INTEL_COMMON_BLOCK_TCSS
39         select SOC_INTEL_CSE_LITE_SKU
40         select SOC_INTEL_TIGERLAKE
41         select SPI_TPM if !BOARD_GOOGLE_VOLTEER2_TI50
42         select TPM_GOOGLE_TI50 if BOARD_GOOGLE_VOLTEER2_TI50
43         select TPM_GOOGLE_CR50 if !BOARD_GOOGLE_VOLTEER2_TI50
45 config BOARD_GOOGLE_CHRONICLER
46         select BOARD_GOOGLE_BASEBOARD_VOLTEER
47         select INTEL_GMA_HAVE_VBT
49 config BOARD_GOOGLE_COLLIS
50         select BOARD_GOOGLE_BASEBOARD_VOLTEER
51         select INTEL_GMA_HAVE_VBT
53 config BOARD_GOOGLE_COPANO
54         select BOARD_GOOGLE_BASEBOARD_VOLTEER
55         select INTEL_GMA_HAVE_VBT
56         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
58 config BOARD_GOOGLE_DELBIN
59         select BOARD_GOOGLE_BASEBOARD_VOLTEER
60         select DRIVERS_GENESYSLOGIC_GL9755
61         select INTEL_GMA_HAVE_VBT
63 config BOARD_GOOGLE_DROBIT
64         select BOARD_GOOGLE_BASEBOARD_VOLTEER
65         select DRIVERS_GENESYSLOGIC_GL9755
66         select INTEL_GMA_HAVE_VBT
67         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
69 config BOARD_GOOGLE_ELDRID
70         select BOARD_GOOGLE_BASEBOARD_VOLTEER
71         select INTEL_GMA_HAVE_VBT
73 config BOARD_GOOGLE_ELEMI
74         select BOARD_GOOGLE_BASEBOARD_VOLTEER
75         select INTEL_GMA_HAVE_VBT
77 config BOARD_GOOGLE_HALVOR
78         select BOARD_GOOGLE_BASEBOARD_VOLTEER
79         select INTEL_CAR_NEM
81 config BOARD_GOOGLE_LINDAR
82         select BOARD_GOOGLE_BASEBOARD_VOLTEER
83         select GOOGLE_DSM_CALIB if VPD
84         select DRIVERS_GENERIC_BAYHUB_LV2
85         select DRIVERS_I2C_RT1011
86         select INTEL_CAR_NEM
87         select INTEL_GMA_HAVE_VBT
89 config BOARD_GOOGLE_MALEFOR
90         select BOARD_GOOGLE_BASEBOARD_VOLTEER
91         select INTEL_CAR_NEM
93 config BOARD_GOOGLE_TERRADOR
94         select BOARD_GOOGLE_BASEBOARD_VOLTEER
96 config BOARD_GOOGLE_TODOR
97         select BOARD_GOOGLE_BASEBOARD_VOLTEER
98         select INTEL_CAR_NEM
100 config BOARD_GOOGLE_TRONDO
101         select BOARD_GOOGLE_BASEBOARD_VOLTEER
102         select INTEL_CAR_NEM
104 config BOARD_GOOGLE_VOEMA
105         select BOARD_GOOGLE_BASEBOARD_VOLTEER
106         select INTEL_GMA_HAVE_VBT
107         select VARIANT_HAS_MIPI_CAMERA
109 config BOARD_GOOGLE_VOLET
110         select BOARD_GOOGLE_BASEBOARD_VOLTEER
111         select INTEL_GMA_HAVE_VBT
113 config BOARD_GOOGLE_VOLTEER
114         select BOARD_GOOGLE_BASEBOARD_VOLTEER
115         select INTEL_CAR_NEM
116         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
117         select VARIANT_HAS_MIPI_CAMERA
119 config BOARD_GOOGLE_VOLTEER2
120         select BOARD_GOOGLE_BASEBOARD_VOLTEER
121         select DRIVER_I2C_TPM_ACPI
122         select DRIVERS_GENESYSLOGIC_GL9755
123         select INTEL_GMA_HAVE_VBT
124         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
125         select VARIANT_HAS_MIPI_CAMERA
127 config BOARD_GOOGLE_VOLTEER2_TI50
128         select BOARD_GOOGLE_BASEBOARD_VOLTEER
129         select DRIVER_I2C_TPM_ACPI
130         select DRIVERS_GENESYSLOGIC_GL9755
131         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
132         select VARIANT_HAS_MIPI_CAMERA
134 config BOARD_GOOGLE_VOXEL
135         select BOARD_GOOGLE_BASEBOARD_VOLTEER
136         select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR
137         select INTEL_GMA_HAVE_VBT
138         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
140 if BOARD_GOOGLE_BASEBOARD_VOLTEER
142 config CHROMEOS
143         select CHROMEOS_CSE_BOARD_RESET_OVERRIDE
144         select CHROMEOS_DRAM_PART_NUMBER_IN_CBI
145         select EC_GOOGLE_CHROMEEC_SWITCHES
146         select GBB_FLAG_FORCE_DEV_BOOT_ALTFW
147         select GBB_FLAG_FORCE_DEV_BOOT_USB
148         select GBB_FLAG_FORCE_DEV_SWITCH_ON
149         select GBB_FLAG_FORCE_MANUAL_RECOVERY
150         select HAS_RECOVERY_MRC_CACHE
151         select VBOOT_EARLY_EC_SYNC
152         select VBOOT_LID_SWITCH
154 config VBOOT_GSCVD
155         bool
156         default n
158 config CHROMEOS_WIFI_SAR
159         bool "Enable SAR options for ChromeOS build"
160         depends on CHROMEOS
161         select DSAR_ENABLE
162         select GEO_SAR_ENABLE
163         select SAR_ENABLE
164         select USE_SAR
166 config DEVICETREE
167         default "variants/baseboard/devicetree.cb"
169 config OVERRIDE_DEVICETREE
170         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
172 config DRIVER_TPM_SPI_BUS
173         default 0x1
175 config DRIVER_TPM_I2C_BUS
176         hex
177         default 0x1
179 config DRIVER_TPM_I2C_ADDR
180         hex
181         default 0x50
183 config INTEL_GMA_VBT_FILE
184         default "src/mainboard/\$(MAINBOARDDIR)/variants/\$(VARIANT_DIR)/data.vbt" \
185                 if BOARD_GOOGLE_ELEMI || BOARD_GOOGLE_LINDAR || \
186                    BOARD_GOOGLE_VOEMA || BOARD_GOOGLE_DROBIT
187         default "src/mainboard/\$(MAINBOARDDIR)/variants/baseboard/data.vbt" if INTEL_GMA_HAVE_VBT
189 config MAINBOARD_DIR
190         default "google/volteer"
192 config MAINBOARD_FAMILY
193         string
194         default "Google_Volteer"
196 config MAINBOARD_PART_NUMBER
197         default "Chronicler" if BOARD_GOOGLE_CHRONICLER
198         default "Collis" if BOARD_GOOGLE_COLLIS
199         default "Copano" if BOARD_GOOGLE_COPANO
200         default "Delbin" if BOARD_GOOGLE_DELBIN
201         default "Drobit" if BOARD_GOOGLE_DROBIT
202         default "Eldrid" if BOARD_GOOGLE_ELDRID
203         default "Elemi" if BOARD_GOOGLE_ELEMI
204         default "Halvor" if BOARD_GOOGLE_HALVOR
205         default "Lindar" if BOARD_GOOGLE_LINDAR
206         default "Malefor" if BOARD_GOOGLE_MALEFOR
207         default "Terrador" if BOARD_GOOGLE_TERRADOR
208         default "Todor" if BOARD_GOOGLE_TODOR
209         default "Trondo" if BOARD_GOOGLE_TRONDO
210         default "Voema" if BOARD_GOOGLE_VOEMA
211         default "Volet" if BOARD_GOOGLE_VOLET
212         default "Volteer" if BOARD_GOOGLE_VOLTEER
213         default "Volteer2" if BOARD_GOOGLE_VOLTEER2
214         default "Volteer2_Ti50" if BOARD_GOOGLE_VOLTEER2_TI50
215         default "Voxel" if BOARD_GOOGLE_VOXEL
217 config TPM_TIS_ACPI_INTERRUPT
218         int
219         default 21  # GPE0_DW0_21 (GPP_C21)
221 config VARIANT_DIR
222         default "chronicler" if BOARD_GOOGLE_CHRONICLER
223         default "collis" if BOARD_GOOGLE_COLLIS
224         default "copano" if BOARD_GOOGLE_COPANO
225         default "delbin" if BOARD_GOOGLE_DELBIN
226         default "drobit" if BOARD_GOOGLE_DROBIT
227         default "eldrid" if BOARD_GOOGLE_ELDRID
228         default "elemi" if BOARD_GOOGLE_ELEMI
229         default "halvor" if BOARD_GOOGLE_HALVOR
230         default "lindar" if BOARD_GOOGLE_LINDAR
231         default "malefor" if BOARD_GOOGLE_MALEFOR
232         default "terrador" if BOARD_GOOGLE_TERRADOR
233         default "todor" if BOARD_GOOGLE_TODOR
234         default "trondo" if BOARD_GOOGLE_TRONDO
235         default "voema" if BOARD_GOOGLE_VOEMA
236         default "volet" if BOARD_GOOGLE_VOLET
237         default "volteer" if BOARD_GOOGLE_VOLTEER
238         default "volteer2" if BOARD_GOOGLE_VOLTEER2
239         default "volteer2" if BOARD_GOOGLE_VOLTEER2_TI50
240         default "voxel" if BOARD_GOOGLE_VOXEL
242 config VARIANT_HAS_MIPI_CAMERA
243         bool
244         default n
246 config USE_PM_ACPI_TIMER
247         default n
249 endif # BOARD_GOOGLE_BASEBOARD_VOLTEER