mb/starlabs/starlite_adl: Configure CNVi Bluetooth I2S GPIOs
[coreboot2.git] / src / mainboard / google / trogdor / Kconfig
blob2a933bb6a5668ce04084cda8fd672d7565e76ad0
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_TROGDOR_COMMON
4         def_bool BOARD_GOOGLE_BUBS || \
5                  BOARD_GOOGLE_COACHZ || \
6                  BOARD_GOOGLE_GELARSHIE || \
7                  BOARD_GOOGLE_HOMESTAR || \
8                  BOARD_GOOGLE_KINGOFTOWN || \
9                  BOARD_GOOGLE_LAZOR || \
10                  BOARD_GOOGLE_MARZIPAN || \
11                  BOARD_GOOGLE_MRBLAND || \
12                  BOARD_GOOGLE_PAZQUEL || \
13                  BOARD_GOOGLE_POMPOM || \
14                  BOARD_GOOGLE_QUACKINGSTICK || \
15                  BOARD_GOOGLE_TROGDOR || \
16                  BOARD_GOOGLE_WORMDINGLER
18 if BOARD_GOOGLE_TROGDOR_COMMON
20 config TROGDOR_REV0
21         def_bool n
23 config TROGDOR_HAS_BRIDGE_BACKLIGHT
24         def_bool BOARD_GOOGLE_HOMESTAR
26 config TROGDOR_HAS_MIPI_PANEL
27         def_bool BOARD_GOOGLE_MRBLAND || \
28                  BOARD_GOOGLE_QUACKINGSTICK || \
29                  BOARD_GOOGLE_WORMDINGLER
30         select MIPI_PANEL_AUO_B101UAN08_3 if BOARD_GOOGLE_MRBLAND || BOARD_GOOGLE_QUACKINGSTICK
31         select MIPI_PANEL_BOE_TV101WUM_N53 if BOARD_GOOGLE_MRBLAND
32         select MIPI_PANEL_INX_HJ110IZ_01A_B2 if BOARD_GOOGLE_WORMDINGLER
33         select MIPI_PANEL_BOE_TV110C9M_LL0 if BOARD_GOOGLE_WORMDINGLER
35 config TROGDOR_HAS_FINGERPRINT
36         def_bool BOARD_GOOGLE_COACHZ || \
37                  BOARD_GOOGLE_MARZIPAN
39 config BOARD_SPECIFIC_OPTIONS
40         def_bool y
41         select BOARD_ROMSIZE_KB_8192
42         select COMMON_CBFS_SPI_WRAPPER
43         select EC_GOOGLE_CHROMEEC if !BOARD_GOOGLE_BUBS
44         select EC_GOOGLE_CHROMEEC_RTC if !BOARD_GOOGLE_BUBS
45         select EC_GOOGLE_CHROMEEC_SPI if !BOARD_GOOGLE_BUBS
46         select RTC if !BOARD_GOOGLE_BUBS
47         select MISSING_BOARD_RESET if BOARD_GOOGLE_BUBS
48         select DRIVERS_TI_SN65DSI86BRIDGE
49         select DRIVER_PARADE_PS8640
50         select SOC_QUALCOMM_SC7180
51         select SPI_FLASH
52         select SPI_FLASH_MACRONIX
53         select SPI_FLASH_GIGADEVICE
54         select SPI_FLASH_WINBOND
55         select MAINBOARD_HAS_CHROMEOS
56         select MAINBOARD_HAS_TPM2 if !BOARD_GOOGLE_BUBS
57         select SPI_TPM if !BOARD_GOOGLE_BUBS
58         select TPM_GOOGLE_CR50 if !BOARD_GOOGLE_BUBS
60 config VBOOT
61         select EC_GOOGLE_CHROMEEC_SWITCHES if !BOARD_GOOGLE_BUBS
62         select VBOOT_VBNV_FLASH
63         select VBOOT_NO_BOARD_SUPPORT if BOARD_GOOGLE_BUBS
64         select VBOOT_MOCK_SECDATA if BOARD_GOOGLE_BUBS
66 config MAINBOARD_DIR
67         default "google/trogdor"
69 config DRIVER_TPM_SPI_BUS
70         hex
71         default 0x6 if TROGDOR_REV0
72         default 0x0
74 config EC_GOOGLE_CHROMEEC_SPI_BUS
75         hex
76         default 0x0 if TROGDOR_REV0
77         default 0x6
79 ##########################################################
80 #### Update below when adding a new derivative board. ####
81 ##########################################################
83 config MAINBOARD_PART_NUMBER
84         default "Bubs" if BOARD_GOOGLE_BUBS
85         default "Coachz" if BOARD_GOOGLE_COACHZ
86         default "Gelarshie" if BOARD_GOOGLE_GELARSHIE
87         default "Homestar" if BOARD_GOOGLE_HOMESTAR
88         default "Kingoftown" if BOARD_GOOGLE_KINGOFTOWN
89         default "Lazor" if BOARD_GOOGLE_LAZOR
90         default "Marzipan" if BOARD_GOOGLE_MARZIPAN
91         default "Mrbland" if BOARD_GOOGLE_MRBLAND
92         default "Pazquel" if BOARD_GOOGLE_PAZQUEL
93         default "Pompom" if BOARD_GOOGLE_POMPOM
94         default "Quackingstick" if BOARD_GOOGLE_QUACKINGSTICK
95         default "Trogdor" if BOARD_GOOGLE_TROGDOR
96         default "Wormdingler" if BOARD_GOOGLE_WORMDINGLER
98 endif # BOARD_GOOGLE_TROGDOR_COMMON