soc/intel/ptl: Update ME specification version to 21
[coreboot.git] / src / mainboard / google / kukui / Kconfig
blob9649e252782aa582c9e51b182fdff3be946fb5e4
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_KUKUI_COMMON
4         def_bool BOARD_GOOGLE_FLAPJACK || \
5                  BOARD_GOOGLE_JACUZZI_COMMON || \
6                  BOARD_GOOGLE_KAKADU || \
7                  BOARD_GOOGLE_KATSU || \
8                  BOARD_GOOGLE_KODAMA || \
9                  BOARD_GOOGLE_KRANE || \
10                  BOARD_GOOGLE_KUKUI
12 config BOARD_GOOGLE_JACUZZI_COMMON
13         def_bool BOARD_GOOGLE_BURNET || \
14                  BOARD_GOOGLE_COZMO || \
15                  BOARD_GOOGLE_DAMU || \
16                  BOARD_GOOGLE_CERISE || \
17                  BOARD_GOOGLE_ESCHE || \
18                  BOARD_GOOGLE_FENNEL || \
19                  BOARD_GOOGLE_JACUZZI || \
20                  BOARD_GOOGLE_JUNIPER || \
21                  BOARD_GOOGLE_KAPPA || \
22                  BOARD_GOOGLE_MAKOMO || \
23                  BOARD_GOOGLE_MUNNA || \
24                  BOARD_GOOGLE_PICO || \
25                  BOARD_GOOGLE_STERN || \
26                  BOARD_GOOGLE_WILLOW
27         select DRIVER_PARADE_PS8640 if BOARD_GOOGLE_JACUZZI
28         # All Jacuzzi followers are using ANX7625 except the reference board.
29         select DRIVER_ANALOGIX_ANX7625 if !BOARD_GOOGLE_JACUZZI
31 if BOARD_GOOGLE_KUKUI_COMMON
33 config VBOOT
34         select EC_GOOGLE_CHROMEEC_SWITCHES
35         select VBOOT_VBNV_FLASH
37 config BOARD_SPECIFIC_OPTIONS
38         def_bool y
39         select RTC
40         select SOC_MEDIATEK_MT8183
41         select BOARD_ROMSIZE_KB_8192
42         select MAINBOARD_HAS_CHROMEOS
43         select CHROMEOS_CAMERA
44         select CHROMEOS_USE_EC_WATCHDOG_FLAG if CHROMEOS
45         select COMMON_CBFS_SPI_WRAPPER
46         select SPI_FLASH
47         select SPI_FLASH_INCLUDE_ALL_DRIVERS
48         select EC_GOOGLE_CHROMEEC
49         select EC_GOOGLE_CHROMEEC_BOARDID
50         select EC_GOOGLE_CHROMEEC_SPI
51         select SPI_TPM if VBOOT
52         select TPM_GOOGLE_CR50 if VBOOT
53         select MAINBOARD_HAS_TPM2 if VBOOT
54         select MAINBOARD_HAS_NATIVE_VGA_INIT
55         select MAINBOARD_FORCE_NATIVE_VGA_INIT
56         select HAVE_LINEAR_FRAMEBUFFER
57         select MT8183_DRAM_EMCP if BOARD_GOOGLE_KRANE || BOARD_GOOGLE_KAKADU || BOARD_GOOGLE_KATSU
58         select MIPI_PANEL_AUO_KD101N80_45NA if BOARD_GOOGLE_KRANE
59         select MIPI_PANEL_BOE_TV101WUM_NL6 if BOARD_GOOGLE_KRANE
60         select MIPI_PANEL_AUO_B101UAN08_3 if BOARD_GOOGLE_KODAMA
61         select MIPI_PANEL_BOE_TV101WUM_N53 if BOARD_GOOGLE_KODAMA
62         select MIPI_PANEL_BOE_TV105WUM_NW0 if BOARD_GOOGLE_KAKADU
63         select MIPI_PANEL_CMN_P097PFG_SSD2858 if BOARD_GOOGLE_KUKUI
64         select MIPI_PANEL_AUO_NT51021D8P if BOARD_GOOGLE_FLAPJACK
65         select MIPI_PANEL_BOE_TV080WUM_NG0 if BOARD_GOOGLE_FLAPJACK
66         select MIPI_PANEL_BOE_TV101WUM_NG0 if BOARD_GOOGLE_FLAPJACK
67         select MIPI_PANEL_INX_OTA7290D10P if BOARD_GOOGLE_FLAPJACK
68         select MIPI_PANEL_STA_2081101QFH032011_53G if BOARD_GOOGLE_KATSU
69         select MIPI_PANEL_BOE_TV105WUM_NW0 if BOARD_GOOGLE_KATSU
71 config MAINBOARD_DIR
72         default "google/kukui"
74 config MAINBOARD_PART_NUMBER
75         default "Kukui" if BOARD_GOOGLE_KUKUI
76         default "Krane" if BOARD_GOOGLE_KRANE
77         default "Kodama" if BOARD_GOOGLE_KODAMA
78         default "Kakadu" if BOARD_GOOGLE_KAKADU
79         default "Flapjack" if BOARD_GOOGLE_FLAPJACK
80         default "Jacuzzi" if BOARD_GOOGLE_JACUZZI
81         default "Juniper" if BOARD_GOOGLE_JUNIPER
82         default "Kappa" if BOARD_GOOGLE_KAPPA
83         default "Damu" if BOARD_GOOGLE_DAMU
84         default "Cerise" if BOARD_GOOGLE_CERISE
85         default "Stern" if BOARD_GOOGLE_STERN
86         default "Willow" if BOARD_GOOGLE_WILLOW
87         default "Esche" if BOARD_GOOGLE_ESCHE
88         default "Burnet" if BOARD_GOOGLE_BURNET
89         default "Fennel" if BOARD_GOOGLE_FENNEL
90         default "Katsu" if BOARD_GOOGLE_KATSU
91         default "Cozmo" if BOARD_GOOGLE_COZMO
92         default "Makomo" if BOARD_GOOGLE_MAKOMO
93         default "Munna" if BOARD_GOOGLE_MUNNA
94         default "Pico" if BOARD_GOOGLE_PICO
96 config DRIVER_TPM_SPI_BUS
97         hex
98         default 0x0
100 config BOOT_DEVICE_SPI_FLASH_BUS
101         int
102         default 1
104 config EC_GOOGLE_CHROMEEC_SPI_BUS
105         hex
106         default 0x2
108 config BOARD_SDRAM_TABLE_OFFSET
109         hex
110         default 0x10 if BOARD_GOOGLE_FENNEL || BOARD_GOOGLE_CERISE || BOARD_GOOGLE_STERN || BOARD_GOOGLE_MAKOMO || BOARD_GOOGLE_MUNNA
111         default 0x20 if BOARD_GOOGLE_KAKADU || BOARD_GOOGLE_KATSU
112         default 0x30 if BOARD_GOOGLE_COZMO || BOARD_GOOGLE_PICO || BOARD_GOOGLE_JUNIPER || BOARD_GOOGLE_WILLOW
113         default 0x40 if BOARD_GOOGLE_KAPPA
114         default 0x50 if BOARD_GOOGLE_BURNET || BOARD_GOOGLE_ESCHE
115         default 0x0
117 config BOARD_OVERRIDE_LCM_ID
118         hex
119         default 0x1 if BOARD_GOOGLE_JUNIPER || BOARD_GOOGLE_KAPPA || BOARD_GOOGLE_DAMU
120         default 0x1 if BOARD_GOOGLE_BURNET || BOARD_GOOGLE_ESCHE
121         default 0x0
123 config SPEAKER_GPIO_NAME
124         string
125         # MAX98357A, should include KENZO in future.
126         default "speaker enable" if BOARD_GOOGLE_JACUZZI || BOARD_GOOGLE_JUNIPER
127         default "speaker enable" if BOARD_GOOGLE_WILLOW || BOARD_GOOGLE_DAMU
128         # MAX98360
129         default "speaker enable" if BOARD_GOOGLE_BURNET || BOARD_GOOGLE_ESCHE
130         default "speaker enable" if BOARD_GOOGLE_KAPPA
131         # ALC1015Q (default for Jacuzzi followers)
132         default "rt1015p sdb" if BOARD_GOOGLE_KAKADU || BOARD_GOOGLE_KATSU
133         default "rt1015p sdb" if BOARD_GOOGLE_JACUZZI_COMMON
134         # MAX98357A (default for Kukui followers)
135         default "speaker enable"
137 endif