mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / octopus / Kconfig
blob2676039e017c07d01c85d162e1eae5e31984f1e3
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_BASEBOARD_OCTOPUS
4         def_bool n
5         select BOARD_ROMSIZE_KB_16384
6         select DRIVERS_GENERIC_GPIO_KEYS
7         select DRIVERS_GENERIC_MAX98357A
8         select DRIVERS_I2C_CS42L42
9         select DRIVERS_I2C_DA7219
10         select DRIVERS_I2C_GENERIC
11         select DRIVERS_I2C_HID
12         select DRIVERS_I2C_SX9310
13         select DRIVERS_SPI_ACPI
14         select DRIVERS_USB_ACPI
15         select EC_GOOGLE_CHROMEEC
16         select EC_GOOGLE_CHROMEEC_BOARDID
17         select EC_GOOGLE_CHROMEEC_ESPI
18         select EC_GOOGLE_CHROMEEC_SKUID
19         select GOOGLE_SMBIOS_MAINBOARD_VERSION
20         select HAVE_ACPI_RESUME
21         select HAVE_ACPI_TABLES
22         select INTEL_LPSS_UART_FOR_CONSOLE
23         select MAINBOARD_HAS_CHROMEOS
24         select MAINBOARD_HAS_TPM2
25         select NO_BOOTBLOCK_CONSOLE
26         select SOC_ESPI
27         select SOC_INTEL_GEMINILAKE
28         select SPI_TPM
29         select SYSTEM_TYPE_LAPTOP
30         select TPM_GOOGLE_CR50
32 config BOARD_GOOGLE_AMPTON
33         select BOARD_GOOGLE_BASEBOARD_OCTOPUS
34         select INTEL_GMA_HAVE_VBT
35         select NHLT_RT5682 if INCLUDE_NHLT_BLOBS
37 config BOARD_GOOGLE_BLOOG
38         select BOARD_GOOGLE_BASEBOARD_OCTOPUS
39         select INTEL_GMA_HAVE_VBT
40         select NHLT_DA7219 if INCLUDE_NHLT_BLOBS
41         select NHLT_RT5682 if INCLUDE_NHLT_BLOBS
43 config BOARD_GOOGLE_BOBBA
44         select BOARD_GOOGLE_BASEBOARD_OCTOPUS
45         select INTEL_GMA_HAVE_VBT
46         select NHLT_DA7219 if INCLUDE_NHLT_BLOBS
47         select NHLT_RT5682 if INCLUDE_NHLT_BLOBS
49 config BOARD_GOOGLE_CASTA
50         select BOARD_GOOGLE_BASEBOARD_OCTOPUS
51         select INTEL_GMA_HAVE_VBT
52         select NHLT_DA7219 if INCLUDE_NHLT_BLOBS
54 config BOARD_GOOGLE_DOOD
55         select BOARD_GOOGLE_BASEBOARD_OCTOPUS
56         select NHLT_DA7219 if INCLUDE_NHLT_BLOBS
58 config BOARD_GOOGLE_FLEEX
59         select BOARD_GOOGLE_BASEBOARD_OCTOPUS
60         select INTEL_GMA_HAVE_VBT
61         select NHLT_DA7219 if INCLUDE_NHLT_BLOBS
62         select NHLT_RT5682 if INCLUDE_NHLT_BLOBS
64 config BOARD_GOOGLE_FOOB
65         select BOARD_GOOGLE_BASEBOARD_OCTOPUS
66         select NHLT_DA7219 if INCLUDE_NHLT_BLOBS
68 config BOARD_GOOGLE_GARG
69         select BOARD_GOOGLE_BASEBOARD_OCTOPUS
70         select INTEL_GMA_HAVE_VBT
71         select NHLT_DA7219 if INCLUDE_NHLT_BLOBS
72         select NHLT_RT5682 if INCLUDE_NHLT_BLOBS
74 config BOARD_GOOGLE_LICK
75         select BOARD_GOOGLE_BASEBOARD_OCTOPUS
76         select INTEL_GMA_HAVE_VBT
77         select NHLT_DA7219 if INCLUDE_NHLT_BLOBS
79 config BOARD_GOOGLE_MEEP
80         select BOARD_GOOGLE_BASEBOARD_OCTOPUS
81         select INTEL_GMA_HAVE_VBT
82         select NHLT_DA7219 if INCLUDE_NHLT_BLOBS
83         select NHLT_RT5682 if INCLUDE_NHLT_BLOBS
85 config BOARD_GOOGLE_OCTOPUS
86         select BOARD_GOOGLE_BASEBOARD_OCTOPUS
88 config BOARD_GOOGLE_PHASER
89         select BOARD_GOOGLE_BASEBOARD_OCTOPUS
90         select INTEL_GMA_HAVE_VBT
91         select NHLT_DA7219 if INCLUDE_NHLT_BLOBS
92         select NHLT_RT5682 if INCLUDE_NHLT_BLOBS
94 config BOARD_GOOGLE_YORP
95         select BOARD_GOOGLE_BASEBOARD_OCTOPUS
96         select INTEL_GMA_HAVE_VBT
97         select NHLT_DA7219 if INCLUDE_NHLT_BLOBS
99 if BOARD_GOOGLE_BASEBOARD_OCTOPUS
101 config CHROMEOS_WIFI_SAR
102         bool
103         default y if CHROMEOS
104         select DSAR_ENABLE
105         select GEO_SAR_ENABLE
106         select SAR_ENABLE
107         select USE_SAR
109 config CHROMEOS
110         select EC_GOOGLE_CHROMEEC_SWITCHES
111         select HAS_RECOVERY_MRC_CACHE
112         select VBOOT_LID_SWITCH
114 config MAINBOARD_DIR
115         default "google/octopus"
117 config VARIANT_DIR
118         default "yorp" if BOARD_GOOGLE_YORP
119         default "phaser" if BOARD_GOOGLE_PHASER
120         default "fleex" if BOARD_GOOGLE_FLEEX
121         default "bobba" if BOARD_GOOGLE_BOBBA
122         default "meep" if BOARD_GOOGLE_MEEP
123         default "ampton" if BOARD_GOOGLE_AMPTON
124         default "casta" if BOARD_GOOGLE_CASTA
125         default "bloog" if BOARD_GOOGLE_BLOOG
126         default "octopus" if BOARD_GOOGLE_OCTOPUS
127         default "garg" if BOARD_GOOGLE_GARG
128         default "dood" if BOARD_GOOGLE_DOOD
129         default "lick" if BOARD_GOOGLE_LICK
130         default "foob" if BOARD_GOOGLE_FOOB
132 config DEVICETREE
133         default "variants/baseboard/devicetree.cb"
135 config OVERRIDE_DEVICETREE
136         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" if !BOARD_GOOGLE_OCTOPUS
138 config MAINBOARD_PART_NUMBER
139         default "Yorp" if BOARD_GOOGLE_YORP
140         default "Phaser" if BOARD_GOOGLE_PHASER
141         default "Fleex" if BOARD_GOOGLE_FLEEX
142         default "Bobba" if BOARD_GOOGLE_BOBBA
143         default "Meep" if BOARD_GOOGLE_MEEP
144         default "Ampton" if BOARD_GOOGLE_AMPTON
145         default "Casta" if BOARD_GOOGLE_CASTA
146         default "Bloog" if BOARD_GOOGLE_BLOOG
147         default "Octopus" if BOARD_GOOGLE_OCTOPUS
148         default "Garg" if BOARD_GOOGLE_GARG
149         default "Dood" if BOARD_GOOGLE_DOOD
150         default "Lick" if BOARD_GOOGLE_LICK
151         default "Foob" if BOARD_GOOGLE_FOOB
153 config MAINBOARD_FAMILY
154         string
155         default "Google_Octopus"
157 config UART_FOR_CONSOLE
158         int
159         default 2
161 config INCLUDE_NHLT_BLOBS
162         bool "Include blobs for audio"
163         select NHLT_DMIC_2CH_16B
164         select NHLT_DMIC_4CH_16B
165         select NHLT_MAX98357
167 config DRIVER_TPM_SPI_BUS
168         default 0x1
170 config TPM_TIS_ACPI_INTERRUPT
171         int
172         default 63 # GPE0_DW1_31 (GPIO_63)
174 config DRAM_PART_NUM_NOT_ALWAYS_IN_CBI
175         bool
176         default y if BOARD_GOOGLE_BOBBA
177         default y if BOARD_GOOGLE_FLEEX
178         default y if BOARD_GOOGLE_MEEP
179         default y if BOARD_GOOGLE_OCTOPUS
180         default y if BOARD_GOOGLE_PHASER
181         default y if BOARD_GOOGLE_YORP
183 config DRAM_PART_IN_CBI_BOARD_ID_MIN
184         int
185         depends on DRAM_PART_NUM_NOT_ALWAYS_IN_CBI
186         default 255 if BOARD_GOOGLE_YORP
187         default 2 if BOARD_GOOGLE_PHASER
188         default 2 if BOARD_GOOGLE_FLEEX
189         default 3 if BOARD_GOOGLE_BOBBA
190         default 1 if BOARD_GOOGLE_MEEP
191         default 255 if BOARD_GOOGLE_OCTOPUS
193 config FMDFILE
194         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/default.fmd" if !CHROMEOS
196 endif # BOARD_GOOGLE_OCTOPUS