1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_BASEBOARD_POPPY
5 select BOARD_ROMSIZE_KB_16384
6 select DRIVERS_GENERIC_GPIO_KEYS
7 select DRIVERS_I2C_GENERIC
9 select EC_GOOGLE_CHROMEEC
10 select EC_GOOGLE_CHROMEEC_BOARDID
11 select EC_GOOGLE_CHROMEEC_ESPI
12 select HAVE_ACPI_RESUME
13 select HAVE_ACPI_TABLES
14 select HAVE_SPD_IN_CBFS
15 select INTEL_LPSS_UART_FOR_CONSOLE
16 select MAINBOARD_HAS_CHROMEOS
17 select MAINBOARD_HAS_TPM2
18 select SOC_INTEL_KABYLAKE
19 select TPM_GOOGLE_CR50
21 config BOARD_GOOGLE_ATLAS
22 select BOARD_GOOGLE_BASEBOARD_POPPY
23 select CHROMEOS_WIFI_SAR if CHROMEOS
24 select DRIVERS_I2C_DA7219
25 select DRIVERS_I2C_MAX98373
26 select DRIVERS_SPI_ACPI
27 select DRIVERS_USB_ACPI
28 select EXCLUDE_NATIVE_SD_INTERFACE
29 select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR
30 select INTEL_GMA_HAVE_VBT
31 select MAINBOARD_HAS_LIBGFXINIT
33 select SYSTEM_TYPE_LAPTOP
34 select VARIANT_HAS_CAMERA_ACPI
36 config BOARD_GOOGLE_POPPY
37 select BOARD_GOOGLE_BASEBOARD_POPPY
38 select DRIVERS_I2C_MAX98927
41 select SYSTEM_TYPE_LAPTOP
42 select VARIANT_HAS_CAMERA_ACPI
44 config BOARD_GOOGLE_NAMI
45 select BOARD_GOOGLE_BASEBOARD_POPPY
46 select CHROMEOS_WIFI_SAR if CHROMEOS
47 select DRIVERS_GENERIC_MAX98357A
48 select DRIVERS_I2C_DA7219
49 select DRIVERS_SPI_ACPI
50 select EXCLUDE_NATIVE_SD_INTERFACE
51 select INTEL_GMA_HAVE_VBT
52 select MAINBOARD_HAS_LIBGFXINIT
54 select SYSTEM_TYPE_LAPTOP
56 config BOARD_GOOGLE_NAUTILUS
57 select BOARD_GOOGLE_BASEBOARD_POPPY
58 select CHROMEOS_WIFI_SAR if CHROMEOS
59 select DRIVERS_GENERIC_MAX98357A
60 select DRIVERS_I2C_DA7219
62 select INTEL_GMA_HAVE_VBT
63 select MAINBOARD_HAS_LIBGFXINIT
64 select SYSTEM_TYPE_CONVERTIBLE
65 select VARIANT_HAS_CAMERA_ACPI
67 config BOARD_GOOGLE_NOCTURNE
68 select BOARD_GOOGLE_BASEBOARD_POPPY
69 select CHROMEOS_WIFI_SAR if CHROMEOS
70 select DRIVERS_I2C_DA7219
71 select DRIVERS_I2C_MAX98373
72 select DRIVERS_I2C_SX9310
73 select DRIVERS_SPI_ACPI
74 select DRIVERS_USB_ACPI
75 select EXCLUDE_NATIVE_SD_INTERFACE
76 select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR
77 select INTEL_GMA_HAVE_VBT
80 select SYSTEM_TYPE_DETACHABLE
81 select VARIANT_HAS_CAMERA_ACPI
83 config BOARD_GOOGLE_RAMMUS
84 select BOARD_GOOGLE_BASEBOARD_POPPY
85 select CHROMEOS_WIFI_SAR if CHROMEOS
86 select DRIVERS_I2C_DA7219
87 select DRIVERS_I2C_MAX98927
88 select DRIVERS_SPI_ACPI
89 select DRIVERS_USB_ACPI
90 select INTEL_GMA_HAVE_VBT
91 select MAINBOARD_HAS_LIBGFXINIT
93 select SYSTEM_TYPE_LAPTOP
95 config BOARD_GOOGLE_SORAKA
96 select BOARD_GOOGLE_BASEBOARD_POPPY
97 select DRIVERS_I2C_MAX98927
99 select INTEL_GMA_HAVE_VBT
100 select MAINBOARD_HAS_LIBGFXINIT
102 select SYSTEM_TYPE_DETACHABLE
103 select VARIANT_HAS_CAMERA_ACPI
105 if BOARD_GOOGLE_BASEBOARD_POPPY
107 config DISABLE_HECI1_AT_PRE_BOOT
110 config CHROMEOS_WIFI_SAR
118 default "variants/atlas/devicetree.cb" if BOARD_GOOGLE_ATLAS
119 default "variants/nami/devicetree.cb" if BOARD_GOOGLE_NAMI
120 default "variants/nautilus/devicetree.cb" if BOARD_GOOGLE_NAUTILUS
121 default "variants/nocturne/devicetree.cb" if BOARD_GOOGLE_NOCTURNE
122 default "variants/rammus/devicetree.cb" if BOARD_GOOGLE_RAMMUS
123 default "variants/soraka/devicetree.cb" if BOARD_GOOGLE_SORAKA
124 default "variants/baseboard/devicetree.cb"
126 config DRIVER_TPM_I2C_BUS
130 config DRIVER_TPM_I2C_ADDR
134 config DRIVER_TPM_SPI_BUS
138 config INCLUDE_NHLT_BLOBS
139 bool "Include blobs for audio."
145 config INCLUDE_NHLT_BLOBS_ATLAS
146 bool "Include blobs for atlas audio."
151 config INCLUDE_NHLT_BLOBS_NAUTILUS
152 bool "Include blobs for nautilus audio."
157 config INCLUDE_NHLT_BLOBS_NAMI
158 bool "Include blobs for nami audio."
163 config INCLUDE_NHLT_BLOBS_NOCTURNE
164 bool "Include blobs for nocturne audio."
168 config INCLUDE_NHLT_BLOBS_RAMMUS
169 bool "Include blobs for rammus audio."
175 default "google/poppy"
177 config MAINBOARD_FAMILY
179 default "Google_Atlas" if BOARD_GOOGLE_ATLAS
180 default "Google_Poppy" if BOARD_GOOGLE_POPPY
181 default "Google_Nami" if BOARD_GOOGLE_NAMI
182 default "Google_Nautilus" if BOARD_GOOGLE_NAUTILUS
183 default "Google_Nocturne" if BOARD_GOOGLE_NOCTURNE
184 default "Google_Rammus" if BOARD_GOOGLE_RAMMUS
185 default "Google_Soraka" if BOARD_GOOGLE_SORAKA
187 config MAINBOARD_PART_NUMBER
188 default "Atlas" if BOARD_GOOGLE_ATLAS
189 default "Poppy" if BOARD_GOOGLE_POPPY
190 default "Nami" if BOARD_GOOGLE_NAMI
191 default "Nautilus" if BOARD_GOOGLE_NAUTILUS
192 default "Nocturne" if BOARD_GOOGLE_NOCTURNE
193 default "Rammus" if BOARD_GOOGLE_RAMMUS
194 default "Soraka" if BOARD_GOOGLE_SORAKA
197 string "OEM ID table"
200 config TPM_TIS_ACPI_INTERRUPT
202 default 64 # GPE0_DW2_00 (GPP_E0)
205 default "atlas" if BOARD_GOOGLE_ATLAS
206 default "poppy" if BOARD_GOOGLE_POPPY
207 default "nami" if BOARD_GOOGLE_NAMI
208 default "nautilus" if BOARD_GOOGLE_NAUTILUS
209 default "nocturne" if BOARD_GOOGLE_NOCTURNE
210 default "rammus" if BOARD_GOOGLE_RAMMUS
211 default "soraka" if BOARD_GOOGLE_SORAKA
213 # Select this option to enable camera ACPI support on the variant.
214 config VARIANT_HAS_CAMERA_ACPI
219 select EC_GOOGLE_CHROMEEC_SWITCHES
220 select HAS_RECOVERY_MRC_CACHE
221 select VBOOT_LID_SWITCH
223 config UART_FOR_CONSOLE
227 config USE_PM_ACPI_TIMER
230 endif # BOARD_GOOGLE_BASEBOARD_POPPY