mb/amb/birman*/gpio: remove configuration for VDD_MEM_VID[0,1]
[coreboot2.git] / src / mainboard / google / fatcat / Kconfig
blobe4c98dd59823aec7edb540c53dafbec8bf09e4c3
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_FATCAT_COMMON
4         def_bool n
5         select BOARD_ROMSIZE_KB_32768
6         select DRIVERS_I2C_GENERIC
7         select DRIVERS_I2C_HID
8         select DRIVERS_INTEL_DPTF
9         select DRIVERS_INTEL_MIPI_CAMERA
10         select DRIVERS_INTEL_PMC
11         select DRIVERS_INTEL_SOUNDWIRE
12         select DRIVERS_WWAN_FM350GL
13         select DRIVERS_AUDIO_SOF
14         select DRIVERS_SOUNDWIRE_ALC_BASE_7XX
15         select DRIVERS_SPI_ACPI
16         select DUMP_SMBIOS_TYPE17
17         select EC_ACPI
18         select EC_GOOGLE_CHROMEEC
19         select EC_GOOGLE_CHROMEEC_BOARDID
20         select EC_GOOGLE_CHROMEEC_ESPI
21         select EC_GOOGLE_CHROMEEC_SKUID
22         select FW_CONFIG
23         select FW_CONFIG_SOURCE_CHROMEEC_CBI
24         select GENERATE_SMBIOS_TABLES
25         select GOOGLE_SMBIOS_MAINBOARD_VERSION
26         select HAVE_ACPI_RESUME
27         select HAVE_ACPI_TABLES
28         select HAVE_SPD_IN_CBFS
29         select I2C_TPM
30         select INTEL_LPSS_UART_FOR_CONSOLE
31         select MAINBOARD_DISABLE_STAGE_CACHE
32         select MAINBOARD_HAS_TPM2
33         select MB_COMPRESS_RAMSTAGE_LZ4
34         select PMC_IPC_ACPI_INTERFACE
35         select SOC_INTEL_CSE_LITE_SYNC_BY_PAYLOAD
36         select SOC_INTEL_CSE_SEND_EOP_BY_PAYLOAD
37         select SOC_INTEL_PANTHERLAKE_U_H
38         select SOC_INTEL_TCSS_USE_PDC_PMC_USBC_MUX_CONFIGURATION
40 config BOARD_GOOGLE_BASEBOARD_FATCAT
41         def_bool n
42         select BOARD_GOOGLE_FATCAT_COMMON
43         select CHROMEOS_WIFI_SAR if CHROMEOS
44         select DRIVERS_INTEL_ISH
45         select DRIVERS_INTEL_USB4_RETIMER
46         select HAVE_SLP_S0_GATE
47         select MAINBOARD_HAS_CHROMEOS
48         select MEMORY_SOLDERDOWN
49         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
50         select SOC_INTEL_IOE_DIE_SUPPORT
51         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
52         select SYSTEM_TYPE_LAPTOP
53         select TPM_GOOGLE_TI50
55 config BOARD_GOOGLE_MODEL_FATCAT
56         def_bool n
57         select BOARD_GOOGLE_BASEBOARD_FATCAT
58         select DRIVERS_GENERIC_BAYHUB_LV2
59         select DRIVERS_GENERIC_MAX98357A
61 config BOARD_GOOGLE_FATCAT
62         select BOARD_GOOGLE_MODEL_FATCAT
63         select EC_GOOGLE_CHROMEEC_MEC
64         select MAINBOARD_USES_IFD_EC_REGION
66 config BOARD_GOOGLE_FATCATISH
67         select BOARD_GOOGLE_MODEL_FATCAT
68         select EC_GOOGLE_CHROMEEC_MEC
69         select MAINBOARD_USES_IFD_EC_REGION
71 config BOARD_GOOGLE_FATCATNUVO
72         select BOARD_GOOGLE_MODEL_FATCAT
74 config BOARD_GOOGLE_FATCATITE
75         select BOARD_GOOGLE_MODEL_FATCAT
77 config BOARD_GOOGLE_FELINO
78         select BOARD_GOOGLE_BASEBOARD_FATCAT
80 config BOARD_GOOGLE_FRANCKA
81         select BOARD_GOOGLE_BASEBOARD_FATCAT
83 if BOARD_GOOGLE_FATCAT_COMMON
85 config BASEBOARD_DIR
86         string
87         default "fatcat"
89 config CHROMEOS
90         select EC_GOOGLE_CHROMEEC_SWITCHES
91         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
92         select GBB_FLAG_FORCE_DEV_BOOT_USB
93         select GBB_FLAG_FORCE_MANUAL_RECOVERY
94         select HAS_RECOVERY_MRC_CACHE
96 config CHROMEOS_WIFI_SAR
97         bool "Enable SAR options for ChromeOS build"
98         depends on CHROMEOS
99         select DSAR_ENABLE
100         select GEO_SAR_ENABLE
101         select SAR_ENABLE
102         select USE_SAR
104 config DEVICETREE
105         default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb"
107 config DIMM_SPD_SIZE
108         default 512
110 config DRIVER_TPM_I2C_ADDR
111         hex
112         default 0x50
114 config DRIVER_TPM_I2C_BUS
115         hex
116         default 0x03 if BOARD_GOOGLE_MODEL_FATCAT
117         default 0x01 if BOARD_GOOGLE_FRANCKA
119 config FMDFILE
120         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-debug-fsp.fmd" if CHROMEOS && BUILDING_WITH_DEBUG_FSP
121         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if CHROMEOS
123 config HAVE_SLP_S0_GATE
124         def_bool n
126 config MAINBOARD_DIR
127         default "google/fatcat"
129 config MAINBOARD_FAMILY
130         string
131         default "Google_Fatcat"
133 config MAINBOARD_PART_NUMBER
134         default "Fatcat" if BOARD_GOOGLE_FATCAT
135         default "Fatcat_ish" if BOARD_GOOGLE_FATCATISH
136         default "Fatcatite" if BOARD_GOOGLE_FATCATITE
137         default "Fatcatnuvo" if BOARD_GOOGLE_FATCATNUVO
138         default "Francka" if BOARD_GOOGLE_FRANCKA
139         default "Felino" if BOARD_GOOGLE_FELINO
141 config MEMORY_SOLDERDOWN
142         def_bool n
143         select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS
144         select HAVE_SPD_IN_CBFS
146 config TPM_TIS_ACPI_INTERRUPT
147         int
148         default 47 if BOARD_GOOGLE_MODEL_FATCAT # GPE0_DW1_15 (GPP_D15)
149         default 79 if BOARD_GOOGLE_FELINO # GPE0_DW2_15 (GPP_F15)
150         default 11 if BOARD_GOOGLE_FRANCKA # GPE0_DW0_11 (GPP_H11)
152 # FIXME: update as per board schematics
153 config UART_FOR_CONSOLE
154         int
155         default 0
157 config USE_PM_ACPI_TIMER
158         default n
160 config VARIANT_DIR
161         string
162         default "fatcat" if BOARD_GOOGLE_MODEL_FATCAT
163         default "francka" if BOARD_GOOGLE_FRANCKA
164         default "felino" if BOARD_GOOGLE_FELINO
166 config OVERRIDE_DEVICETREE
167         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
169 config VBOOT
170         select VBOOT_LID_SWITCH
172 endif # BOARD_GOOGLE_FATCAT_COMMON