mb/google/nissa/var/rull: add ssd timing and modify ssd GPIO pins of rtd3
[coreboot2.git] / src / mainboard / google / fatcat / Kconfig
blobbc689725e9b57ccb4e88a0a059b31dc54ac08851
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_MIPI_CAMERA
9         select DRIVERS_INTEL_PMC
10         select DRIVERS_INTEL_SOUNDWIRE
11         select DRIVERS_WWAN_FM350GL
12         select DRIVERS_SOUNDWIRE_ALC722
13         select DRIVERS_SPI_ACPI
14         select DUMP_SMBIOS_TYPE17
15         select EC_ACPI
16         select EC_GOOGLE_CHROMEEC
17         select EC_GOOGLE_CHROMEEC_BOARDID
18         select EC_GOOGLE_CHROMEEC_ESPI
19         select EC_GOOGLE_CHROMEEC_SKUID
20         select FW_CONFIG
21         select FW_CONFIG_SOURCE_CHROMEEC_CBI
22         select GENERATE_SMBIOS_TABLES
23         select GOOGLE_SMBIOS_MAINBOARD_VERSION
24         select HAVE_ACPI_RESUME
25         select HAVE_ACPI_TABLES
26         select HAVE_SPD_IN_CBFS
27         select I2C_TPM
28         select INTEL_LPSS_UART_FOR_CONSOLE
29         select MAINBOARD_DISABLE_STAGE_CACHE
30         select MAINBOARD_HAS_TPM2
31         select MB_COMPRESS_RAMSTAGE_LZ4
32         select PMC_IPC_ACPI_INTERFACE
33         select SOC_INTEL_CSE_LITE_SKU
34         select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V2
35         select SOC_INTEL_CSE_SEND_EOP_ASYNC
36         select SOC_INTEL_PANTHERLAKE_U_H
37         select SOC_INTEL_TCSS_USE_PDC_PMC_USBC_MUX_CONFIGURATION
39 config BOARD_GOOGLE_BASEBOARD_FATCAT
40         def_bool n
41         select BOARD_GOOGLE_FATCAT_COMMON
42         select CHROMEOS_WIFI_SAR if CHROMEOS
43         select DRIVERS_INTEL_USB4_RETIMER
44         select HAVE_SLP_S0_GATE
45         select MAINBOARD_HAS_CHROMEOS
46         select MEMORY_SOLDERDOWN
47         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
48         select SOC_INTEL_IOE_DIE_SUPPORT
49         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
50         select SYSTEM_TYPE_LAPTOP
51         select TPM_GOOGLE_TI50
53 config BOARD_GOOGLE_MODEL_FATCAT
54         def_bool n
55         select BOARD_GOOGLE_BASEBOARD_FATCAT
56         select DRIVERS_GENERIC_MAX98357A
58 config BOARD_GOOGLE_FATCAT
59         select BOARD_GOOGLE_MODEL_FATCAT
60         select EC_GOOGLE_CHROMEEC_MEC
61         select MAINBOARD_USES_IFD_EC_REGION
63 config BOARD_GOOGLE_FATCATNUVO
64         select BOARD_GOOGLE_MODEL_FATCAT
66 config BOARD_GOOGLE_FATCATITE
67         select BOARD_GOOGLE_MODEL_FATCAT
69 config BOARD_GOOGLE_FRANCKA
70         select BOARD_GOOGLE_MODEL_FATCAT
72 if BOARD_GOOGLE_FATCAT_COMMON
74 config BASEBOARD_DIR
75         string
76         default "fatcat"
78 config CHROMEOS
79         select EC_GOOGLE_CHROMEEC_SWITCHES
80         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
81         select GBB_FLAG_FORCE_DEV_BOOT_USB
82         select GBB_FLAG_FORCE_MANUAL_RECOVERY
83         select HAS_RECOVERY_MRC_CACHE
85 config CHROMEOS_WIFI_SAR
86         bool "Enable SAR options for ChromeOS build"
87         depends on CHROMEOS
88         select DSAR_ENABLE
89         select GEO_SAR_ENABLE
90         select SAR_ENABLE
91         select USE_SAR
93 config DEVICETREE
94         default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb"
96 config DIMM_SPD_SIZE
97         default 512
99 config DRIVER_TPM_I2C_ADDR
100         hex
101         default 0x50
103 config DRIVER_TPM_I2C_BUS
104         hex
105         default 0x03
107 config FMDFILE
108         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-debug-fsp.fmd" if CHROMEOS && BUILDING_WITH_DEBUG_FSP
109         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if CHROMEOS
111 config HAVE_SLP_S0_GATE
112         def_bool n
114 config MAINBOARD_DIR
115         default "google/fatcat"
117 config MAINBOARD_FAMILY
118         string
119         default "Google_Fatcat"
121 config MAINBOARD_PART_NUMBER
122         default "Fatcat" if BOARD_GOOGLE_FATCAT
123         default "Fatcatite" if BOARD_GOOGLE_FATCATITE
124         default "Fatcatnuvo" if BOARD_GOOGLE_FATCATNUVO
125         default "Francka" if BOARD_GOOGLE_FRANCKA
127 config MEMORY_SOLDERDOWN
128         def_bool n
129         select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS
130         select HAVE_SPD_IN_CBFS
132 config TPM_TIS_ACPI_INTERRUPT
133         int
134         default 47   # GPE0_DW1_15 (GPP_D15)
136 # FIXME: update as per board schematics
137 config UART_FOR_CONSOLE
138         int
139         default 0
141 config USE_PM_ACPI_TIMER
142         default n
144 config VARIANT_DIR
145         string
146         default "fatcat" if BOARD_GOOGLE_MODEL_FATCAT
148 config OVERRIDE_DEVICETREE
149         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
151 config VBOOT
152         select VBOOT_LID_SWITCH
154 endif # BOARD_GOOGLE_FATCAT_COMMON