1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_SYSTEM76_RPL_COMMON
5 select BOARD_ROMSIZE_KB_32768
6 select DRIVERS_GENERIC_BAYHUB_LV2 if !BOARD_SYSTEM76_BONW15
7 select DRIVERS_GENERIC_CBFS_SERIAL
8 select DRIVERS_GENERIC_CBFS_UUID
11 select HAVE_ACPI_RESUME
12 select HAVE_ACPI_TABLES
13 select HAVE_CMOS_DEFAULT
14 select HAVE_OPTION_TABLE
15 select INTEL_GMA_HAVE_VBT
16 select INTEL_LPSS_UART_FOR_CONSOLE
17 select MAINBOARD_HAS_TPM2
18 select MEMORY_MAPPED_TPM
19 select NO_UART_ON_SUPERIO
20 select PCIEXP_SUPPORT_RESIZABLE_BARS
21 select SOC_INTEL_COMMON_BLOCK_HDA_VERB
22 select SOC_INTEL_CRASHLOG
23 select SOC_INTEL_RAPTORLAKE
24 select SPD_READ_BY_WORD
25 select SYSTEM_TYPE_LAPTOP
27 config BOARD_SYSTEM76_ADDW3
28 select BOARD_SYSTEM76_RPL_COMMON
29 select EC_SYSTEM76_EC_DGPU
30 select MAINBOARD_USES_IFD_GBE_REGION
32 select SOC_INTEL_ALDERLAKE_PCH_S
34 config BOARD_SYSTEM76_ADDW4
35 select BOARD_SYSTEM76_RPL_COMMON
36 select EC_SYSTEM76_EC_DGPU
38 select SOC_INTEL_ALDERLAKE_PCH_S
40 config BOARD_SYSTEM76_BONW15
41 select BOARD_SYSTEM76_RPL_COMMON
42 select EC_SYSTEM76_EC_DGPU
44 select SOC_INTEL_ALDERLAKE_PCH_S
46 config BOARD_SYSTEM76_DARP9
47 select BOARD_SYSTEM76_RPL_COMMON
49 select SOC_INTEL_ALDERLAKE_PCH_P
51 config BOARD_SYSTEM76_GALP7
52 select BOARD_SYSTEM76_RPL_COMMON
54 select SOC_INTEL_ALDERLAKE_PCH_P
56 config BOARD_SYSTEM76_GAZE18
57 select BOARD_SYSTEM76_RPL_COMMON
58 select EC_SYSTEM76_EC_DGPU
59 select SOC_INTEL_ALDERLAKE_PCH_P
61 config BOARD_SYSTEM76_LEMP12
62 select BOARD_SYSTEM76_RPL_COMMON
63 select HAVE_SPD_IN_CBFS
64 select SOC_INTEL_ALDERLAKE_PCH_P
65 select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
67 config BOARD_SYSTEM76_ORYP11
68 select BOARD_SYSTEM76_RPL_COMMON
69 select EC_SYSTEM76_EC_DGPU
70 select SOC_INTEL_ALDERLAKE_PCH_P
71 select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
73 config BOARD_SYSTEM76_ORYP12
74 select BOARD_SYSTEM76_RPL_COMMON
75 select DRIVERS_I2C_TAS5825M
76 select EC_SYSTEM76_EC_DGPU
78 select SOC_INTEL_ALDERLAKE_PCH_S
80 config BOARD_SYSTEM76_SERW13
81 select BOARD_SYSTEM76_RPL_COMMON
82 select EC_SYSTEM76_EC_DGPU
84 select SOC_INTEL_ALDERLAKE_PCH_S
86 if BOARD_SYSTEM76_RPL_COMMON
89 default "system76/rpl"
92 default "addw3" if BOARD_SYSTEM76_ADDW3
93 default "addw4" if BOARD_SYSTEM76_ADDW4
94 default "bonw15" if BOARD_SYSTEM76_BONW15
95 default "darp9" if BOARD_SYSTEM76_DARP9
96 default "galp7" if BOARD_SYSTEM76_GALP7
97 default "gaze18" if BOARD_SYSTEM76_GAZE18
98 default "lemp12" if BOARD_SYSTEM76_LEMP12
99 default "oryp11" if BOARD_SYSTEM76_ORYP11
100 default "oryp12" if BOARD_SYSTEM76_ORYP12
101 default "serw13" if BOARD_SYSTEM76_SERW13
103 config OVERRIDE_DEVICETREE
104 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
106 config MAINBOARD_PART_NUMBER
107 default "addw3" if BOARD_SYSTEM76_ADDW3
108 default "addw4" if BOARD_SYSTEM76_ADDW4
109 default "bonw15" if BOARD_SYSTEM76_BONW15
110 default "darp9" if BOARD_SYSTEM76_DARP9
111 default "galp7" if BOARD_SYSTEM76_GALP7
112 default "gaze18" if BOARD_SYSTEM76_GAZE18
113 default "lemp12" if BOARD_SYSTEM76_LEMP12
114 default "oryp11" if BOARD_SYSTEM76_ORYP11
115 default "oryp12" if BOARD_SYSTEM76_ORYP12
116 default "serw13" if BOARD_SYSTEM76_SERW13
118 config MAINBOARD_SMBIOS_PRODUCT_NAME
119 default "Adder WS" if BOARD_SYSTEM76_ADDW3 || BOARD_SYSTEM76_ADDW4
120 default "Bonobo WS" if BOARD_SYSTEM76_BONW15
121 default "Darter Pro" if BOARD_SYSTEM76_DARP9
122 default "Galago Pro" if BOARD_SYSTEM76_GALP7
123 default "Gazelle" if BOARD_SYSTEM76_GAZE18
124 default "Lemur Pro" if BOARD_SYSTEM76_LEMP12
125 default "Oryx Pro" if BOARD_SYSTEM76_ORYP11 || BOARD_SYSTEM76_ORYP12
126 default "Serval WS" if BOARD_SYSTEM76_SERW13
128 config MAINBOARD_VERSION
129 default "addw3" if BOARD_SYSTEM76_ADDW3
130 default "addw4" if BOARD_SYSTEM76_ADDW4
131 default "bonw15" if BOARD_SYSTEM76_BONW15
132 default "darp9" if BOARD_SYSTEM76_DARP9
133 default "galp7" if BOARD_SYSTEM76_GALP7
134 default "gaze18" if BOARD_SYSTEM76_GAZE18
135 default "lemp12" if BOARD_SYSTEM76_LEMP12
136 default "oryp11" if BOARD_SYSTEM76_ORYP11
137 default "oryp12" if BOARD_SYSTEM76_ORYP12
138 default "serw13" if BOARD_SYSTEM76_SERW13
143 config D3COLD_SUPPORT
147 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/board.fmd"
149 config ONBOARD_VGA_IS_PRIMARY
152 config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS
158 config TPM_MEASURED_BOOT
161 config UART_FOR_CONSOLE
162 default 0 if SOC_INTEL_ALDERLAKE_PCH_P
163 default 2 if SOC_INTEL_ALDERLAKE_PCH_S
165 # PM Timer Disabled, saves power
166 config USE_PM_ACPI_TIMER