Martin Roth | 41a8997 | 2024-02-16 10:57:31 -0700 | [diff] [blame^] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 3 | config BOARD_GOOGLE_BASEBOARD_OCTOPUS |
| 4 | def_bool n |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 5 | select BOARD_ROMSIZE_KB_16384 |
Karthikeyan Ramasubramanian | 2b27e23 | 2018-12-07 11:05:51 -0700 | [diff] [blame] | 6 | select DRIVERS_GENERIC_GPIO_KEYS |
Shamile Khan | cb9f55e | 2018-03-12 16:54:53 -0700 | [diff] [blame] | 7 | select DRIVERS_GENERIC_MAX98357A |
Eric Lai | 598f2ba | 2021-04-15 11:43:02 +0800 | [diff] [blame] | 8 | select DRIVERS_I2C_CS42L42 |
Shamile Khan | cb9f55e | 2018-03-12 16:54:53 -0700 | [diff] [blame] | 9 | select DRIVERS_I2C_DA7219 |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 10 | select DRIVERS_I2C_GENERIC |
Furquan Shaikh | 6d5093d | 2018-04-17 23:39:02 -0700 | [diff] [blame] | 11 | select DRIVERS_I2C_HID |
Sheng-Liang Pan | ef36cdd | 2019-11-14 18:39:36 +0800 | [diff] [blame] | 12 | select DRIVERS_I2C_SX9310 |
Furquan Shaikh | 0029d2b | 2018-04-05 11:10:42 -0700 | [diff] [blame] | 13 | select DRIVERS_SPI_ACPI |
Karthikeyan Ramasubramanian | cd69259 | 2019-01-28 16:01:13 -0700 | [diff] [blame] | 14 | select DRIVERS_USB_ACPI |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 15 | select EC_GOOGLE_CHROMEEC |
| 16 | select EC_GOOGLE_CHROMEEC_BOARDID |
Martin Roth | dcf86e0 | 2019-08-29 12:32:53 -0600 | [diff] [blame] | 17 | select EC_GOOGLE_CHROMEEC_ESPI |
Felix Singer | 7cfaa5d | 2021-12-24 19:09:51 +0100 | [diff] [blame] | 18 | select EC_GOOGLE_CHROMEEC_SKUID |
| 19 | select GOOGLE_SMBIOS_MAINBOARD_VERSION |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 20 | select HAVE_ACPI_RESUME |
| 21 | select HAVE_ACPI_TABLES |
Lijian Zhao | 64925b5 | 2019-01-11 07:54:48 -0800 | [diff] [blame] | 22 | select INTEL_LPSS_UART_FOR_CONSOLE |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 23 | select MAINBOARD_HAS_CHROMEOS |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 24 | select MAINBOARD_HAS_TPM2 |
Julius Werner | 3f3b4d5 | 2020-01-22 13:59:23 -0800 | [diff] [blame] | 25 | select NO_BOOTBLOCK_CONSOLE |
Felix Singer | 7cfaa5d | 2021-12-24 19:09:51 +0100 | [diff] [blame] | 26 | select SOC_ESPI |
| 27 | select SOC_INTEL_GEMINILAKE |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 28 | select SPI_TPM |
Felix Singer | 0f6de92 | 2021-12-24 19:22:22 +0100 | [diff] [blame] | 29 | select SYSTEM_TYPE_LAPTOP |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 30 | select TPM_GOOGLE_CR50 |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 31 | |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 32 | config BOARD_GOOGLE_AMPTON |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 33 | select BOARD_GOOGLE_BASEBOARD_OCTOPUS |
| 34 | select INTEL_GMA_HAVE_VBT |
| 35 | select NHLT_RT5682 if INCLUDE_NHLT_BLOBS |
| 36 | |
| 37 | config BOARD_GOOGLE_BLOOG |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 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 |
| 42 | |
| 43 | config BOARD_GOOGLE_BOBBA |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 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 |
| 48 | |
| 49 | config BOARD_GOOGLE_CASTA |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 50 | select BOARD_GOOGLE_BASEBOARD_OCTOPUS |
| 51 | select INTEL_GMA_HAVE_VBT |
| 52 | select NHLT_DA7219 if INCLUDE_NHLT_BLOBS |
| 53 | |
| 54 | config BOARD_GOOGLE_DOOD |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 55 | select BOARD_GOOGLE_BASEBOARD_OCTOPUS |
| 56 | select NHLT_DA7219 if INCLUDE_NHLT_BLOBS |
| 57 | |
| 58 | config BOARD_GOOGLE_FLEEX |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 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 |
| 63 | |
| 64 | config BOARD_GOOGLE_FOOB |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 65 | select BOARD_GOOGLE_BASEBOARD_OCTOPUS |
| 66 | select NHLT_DA7219 if INCLUDE_NHLT_BLOBS |
| 67 | |
| 68 | config BOARD_GOOGLE_GARG |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 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 |
| 73 | |
| 74 | config BOARD_GOOGLE_LICK |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 75 | select BOARD_GOOGLE_BASEBOARD_OCTOPUS |
| 76 | select INTEL_GMA_HAVE_VBT |
| 77 | select NHLT_DA7219 if INCLUDE_NHLT_BLOBS |
| 78 | |
| 79 | config BOARD_GOOGLE_MEEP |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 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 |
| 84 | |
| 85 | config BOARD_GOOGLE_OCTOPUS |
| 86 | select BOARD_GOOGLE_BASEBOARD_OCTOPUS |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 87 | |
| 88 | config BOARD_GOOGLE_PHASER |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 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 |
| 93 | |
| 94 | config BOARD_GOOGLE_YORP |
| 95 | select BOARD_GOOGLE_BASEBOARD_OCTOPUS |
Felix Singer | c660a91 | 2021-12-24 19:14:51 +0100 | [diff] [blame] | 96 | select INTEL_GMA_HAVE_VBT |
| 97 | select NHLT_DA7219 if INCLUDE_NHLT_BLOBS |
| 98 | |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 99 | if BOARD_GOOGLE_BASEBOARD_OCTOPUS |
| 100 | |
John Zhao | 0f3574e | 2018-08-08 16:44:37 -0700 | [diff] [blame] | 101 | config CHROMEOS_WIFI_SAR |
| 102 | bool |
| 103 | default y if CHROMEOS |
| 104 | select DSAR_ENABLE |
Felix Singer | 7cfaa5d | 2021-12-24 19:09:51 +0100 | [diff] [blame] | 105 | select GEO_SAR_ENABLE |
John Zhao | 0f3574e | 2018-08-08 16:44:37 -0700 | [diff] [blame] | 106 | select SAR_ENABLE |
| 107 | select USE_SAR |
John Zhao | 0f3574e | 2018-08-08 16:44:37 -0700 | [diff] [blame] | 108 | |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 109 | config CHROMEOS |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 110 | select EC_GOOGLE_CHROMEEC_SWITCHES |
Aaron Durbin | c578efd | 2018-04-10 17:36:23 -0600 | [diff] [blame] | 111 | select HAS_RECOVERY_MRC_CACHE |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 112 | select VBOOT_LID_SWITCH |
| 113 | |
| 114 | config MAINBOARD_DIR |
Patrick Georgi | 0bb8346 | 2019-11-22 20:58:58 +0100 | [diff] [blame] | 115 | default "google/octopus" |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 116 | |
| 117 | config VARIANT_DIR |
Justin TerAvest | 36c926d | 2018-03-02 10:12:16 -0700 | [diff] [blame] | 118 | default "yorp" if BOARD_GOOGLE_YORP |
Justin TerAvest | 3a2fd57 | 2018-04-26 12:48:30 -0600 | [diff] [blame] | 119 | default "phaser" if BOARD_GOOGLE_PHASER |
Justin TerAvest | 29558af | 2018-06-14 09:22:22 -0600 | [diff] [blame] | 120 | default "fleex" if BOARD_GOOGLE_FLEEX |
Justin TerAvest | d940050 | 2018-06-25 11:40:08 -0600 | [diff] [blame] | 121 | default "bobba" if BOARD_GOOGLE_BOBBA |
Justin TerAvest | 3a1a956 | 2018-07-17 10:20:58 -0600 | [diff] [blame] | 122 | default "meep" if BOARD_GOOGLE_MEEP |
Justin TerAvest | a5fbd14 | 2018-09-18 11:13:47 -0600 | [diff] [blame] | 123 | default "ampton" if BOARD_GOOGLE_AMPTON |
Karthikeyan Ramasubramanian | a1ee883 | 2018-11-15 15:20:36 -0700 | [diff] [blame] | 124 | default "casta" if BOARD_GOOGLE_CASTA |
Tony Huang | fa861ee | 2019-03-08 14:13:45 +0800 | [diff] [blame] | 125 | default "bloog" if BOARD_GOOGLE_BLOOG |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 126 | default "octopus" if BOARD_GOOGLE_OCTOPUS |
Kevin Chiu | b19de28 | 2019-05-16 11:16:18 +0800 | [diff] [blame] | 127 | default "garg" if BOARD_GOOGLE_GARG |
Tim Chen | 42cad6c | 2019-10-03 14:22:52 +0800 | [diff] [blame] | 128 | default "dood" if BOARD_GOOGLE_DOOD |
Hash.Hung | 41fe62b | 2019-11-26 23:36:40 +0800 | [diff] [blame] | 129 | default "lick" if BOARD_GOOGLE_LICK |
Peichao Wang | 3b34db6 | 2019-12-04 07:51:27 +0800 | [diff] [blame] | 130 | default "foob" if BOARD_GOOGLE_FOOB |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 131 | |
| 132 | config DEVICETREE |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 133 | default "variants/baseboard/devicetree.cb" |
| 134 | |
Furquan Shaikh | 0be087d | 2018-06-24 23:00:13 -0700 | [diff] [blame] | 135 | config OVERRIDE_DEVICETREE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 136 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" if !BOARD_GOOGLE_OCTOPUS |
Furquan Shaikh | 0be087d | 2018-06-24 23:00:13 -0700 | [diff] [blame] | 137 | |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 138 | config MAINBOARD_PART_NUMBER |
Justin TerAvest | 0e100f6 | 2018-04-10 06:49:28 -0600 | [diff] [blame] | 139 | default "Yorp" if BOARD_GOOGLE_YORP |
Justin TerAvest | 3a2fd57 | 2018-04-26 12:48:30 -0600 | [diff] [blame] | 140 | default "Phaser" if BOARD_GOOGLE_PHASER |
Justin TerAvest | 29558af | 2018-06-14 09:22:22 -0600 | [diff] [blame] | 141 | default "Fleex" if BOARD_GOOGLE_FLEEX |
Justin TerAvest | d940050 | 2018-06-25 11:40:08 -0600 | [diff] [blame] | 142 | default "Bobba" if BOARD_GOOGLE_BOBBA |
Justin TerAvest | 3a1a956 | 2018-07-17 10:20:58 -0600 | [diff] [blame] | 143 | default "Meep" if BOARD_GOOGLE_MEEP |
Justin TerAvest | a5fbd14 | 2018-09-18 11:13:47 -0600 | [diff] [blame] | 144 | default "Ampton" if BOARD_GOOGLE_AMPTON |
Karthikeyan Ramasubramanian | a1ee883 | 2018-11-15 15:20:36 -0700 | [diff] [blame] | 145 | default "Casta" if BOARD_GOOGLE_CASTA |
Tony Huang | fa861ee | 2019-03-08 14:13:45 +0800 | [diff] [blame] | 146 | default "Bloog" if BOARD_GOOGLE_BLOOG |
Justin TerAvest | 0e100f6 | 2018-04-10 06:49:28 -0600 | [diff] [blame] | 147 | default "Octopus" if BOARD_GOOGLE_OCTOPUS |
Kevin Chiu | b19de28 | 2019-05-16 11:16:18 +0800 | [diff] [blame] | 148 | default "Garg" if BOARD_GOOGLE_GARG |
Tim Chen | 42cad6c | 2019-10-03 14:22:52 +0800 | [diff] [blame] | 149 | default "Dood" if BOARD_GOOGLE_DOOD |
Hash.Hung | 41fe62b | 2019-11-26 23:36:40 +0800 | [diff] [blame] | 150 | default "Lick" if BOARD_GOOGLE_LICK |
Peichao Wang | 3b34db6 | 2019-12-04 07:51:27 +0800 | [diff] [blame] | 151 | default "Foob" if BOARD_GOOGLE_FOOB |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 152 | |
| 153 | config MAINBOARD_FAMILY |
| 154 | string |
Justin TerAvest | 36c926d | 2018-03-02 10:12:16 -0700 | [diff] [blame] | 155 | default "Google_Octopus" |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 156 | |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 157 | config UART_FOR_CONSOLE |
| 158 | int |
| 159 | default 2 |
| 160 | |
| 161 | config INCLUDE_NHLT_BLOBS |
Naveen Manohar | e098c8a | 2018-05-10 08:54:14 +0530 | [diff] [blame] | 162 | bool "Include blobs for audio" |
| 163 | select NHLT_DMIC_2CH_16B |
Shamile Khan | cb9f55e | 2018-03-12 16:54:53 -0700 | [diff] [blame] | 164 | select NHLT_DMIC_4CH_16B |
Shamile Khan | cb9f55e | 2018-03-12 16:54:53 -0700 | [diff] [blame] | 165 | select NHLT_MAX98357 |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 166 | |
Ravi Sarawadi | c293496 | 2018-02-27 13:57:01 -0800 | [diff] [blame] | 167 | config DRIVER_TPM_SPI_BUS |
| 168 | default 0x1 |
| 169 | |
| 170 | config TPM_TIS_ACPI_INTERRUPT |
| 171 | int |
| 172 | default 63 # GPE0_DW1_31 (GPIO_63) |
| 173 | |
Aaron Durbin | 702d236 | 2019-06-10 10:37:40 -0600 | [diff] [blame] | 174 | config DRAM_PART_NUM_NOT_ALWAYS_IN_CBI |
Aaron Durbin | 042b53a | 2018-08-07 12:30:53 -0600 | [diff] [blame] | 175 | bool |
Pan Sheng-Liang | f7cc469 | 2018-10-03 13:57:31 +0800 | [diff] [blame] | 176 | default y if BOARD_GOOGLE_BOBBA |
Aaron Durbin | 702d236 | 2019-06-10 10:37:40 -0600 | [diff] [blame] | 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 |
Aaron Durbin | 042b53a | 2018-08-07 12:30:53 -0600 | [diff] [blame] | 182 | |
| 183 | config DRAM_PART_IN_CBI_BOARD_ID_MIN |
| 184 | int |
Aaron Durbin | 702d236 | 2019-06-10 10:37:40 -0600 | [diff] [blame] | 185 | depends on DRAM_PART_NUM_NOT_ALWAYS_IN_CBI |
Aaron Durbin | 042b53a | 2018-08-07 12:30:53 -0600 | [diff] [blame] | 186 | default 255 if BOARD_GOOGLE_YORP |
peichao.wang | 211ceb5 | 2018-09-12 13:55:46 +0800 | [diff] [blame] | 187 | default 2 if BOARD_GOOGLE_PHASER |
Ivy Jian | 0562c1e7 | 2018-09-28 10:23:41 +0800 | [diff] [blame] | 188 | default 2 if BOARD_GOOGLE_FLEEX |
Pan Sheng-Liang | f7cc469 | 2018-10-03 13:57:31 +0800 | [diff] [blame] | 189 | default 3 if BOARD_GOOGLE_BOBBA |
Wisley Chen | 7e56626 | 2018-09-18 13:25:53 +0800 | [diff] [blame] | 190 | default 1 if BOARD_GOOGLE_MEEP |
Aaron Durbin | 042b53a | 2018-08-07 12:30:53 -0600 | [diff] [blame] | 191 | default 255 if BOARD_GOOGLE_OCTOPUS |
| 192 | |
Matt DeVillier | ec926e0 | 2020-04-21 11:52:58 -0500 | [diff] [blame] | 193 | config FMDFILE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 194 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/default.fmd" if !CHROMEOS |
Matt DeVillier | ec926e0 | 2020-04-21 11:52:58 -0500 | [diff] [blame] | 195 | |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 196 | endif # BOARD_GOOGLE_OCTOPUS |