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
26 select TPM_RDRESP_NEED_DELAY
28 config BOARD_SYSTEM76_ADDW3
29 select BOARD_SYSTEM76_RPL_COMMON
30 select EC_SYSTEM76_EC_DGPU
31 select MAINBOARD_USES_IFD_GBE_REGION
33 select SOC_INTEL_ALDERLAKE_PCH_S
35 config BOARD_SYSTEM76_ADDW4
36 select BOARD_SYSTEM76_RPL_COMMON
37 select EC_SYSTEM76_EC_DGPU
39 select SOC_INTEL_ALDERLAKE_PCH_S
41 config BOARD_SYSTEM76_BONW15
42 select BOARD_SYSTEM76_RPL_COMMON
43 select EC_SYSTEM76_EC_DGPU
45 select SOC_INTEL_ALDERLAKE_PCH_S
47 config BOARD_SYSTEM76_DARP9
48 select BOARD_SYSTEM76_RPL_COMMON
50 select SOC_INTEL_ALDERLAKE_PCH_P
52 config BOARD_SYSTEM76_GALP7
53 select BOARD_SYSTEM76_RPL_COMMON
55 select SOC_INTEL_ALDERLAKE_PCH_P
57 config BOARD_SYSTEM76_GAZE18
58 select BOARD_SYSTEM76_RPL_COMMON
59 select EC_SYSTEM76_EC_DGPU
60 select SOC_INTEL_ALDERLAKE_PCH_P
62 config BOARD_SYSTEM76_LEMP12
63 select BOARD_SYSTEM76_RPL_COMMON
64 select HAVE_SPD_IN_CBFS
65 select SOC_INTEL_ALDERLAKE_PCH_P
66 select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
68 config BOARD_SYSTEM76_ORYP11
69 select BOARD_SYSTEM76_RPL_COMMON
70 select EC_SYSTEM76_EC_DGPU
71 select SOC_INTEL_ALDERLAKE_PCH_P
72 select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
74 config BOARD_SYSTEM76_ORYP12
75 select BOARD_SYSTEM76_RPL_COMMON
76 select DRIVERS_I2C_TAS5825M
77 select EC_SYSTEM76_EC_DGPU
79 select SOC_INTEL_ALDERLAKE_PCH_S
81 config BOARD_SYSTEM76_SERW13
82 select BOARD_SYSTEM76_RPL_COMMON
83 select EC_SYSTEM76_EC_DGPU
85 select SOC_INTEL_ALDERLAKE_PCH_S
87 if BOARD_SYSTEM76_RPL_COMMON
90 default "system76/rpl"
93 default "addw3" if BOARD_SYSTEM76_ADDW3
94 default "addw4" if BOARD_SYSTEM76_ADDW4
95 default "bonw15" if BOARD_SYSTEM76_BONW15
96 default "darp9" if BOARD_SYSTEM76_DARP9
97 default "galp7" if BOARD_SYSTEM76_GALP7
98 default "gaze18" if BOARD_SYSTEM76_GAZE18
99 default "lemp12" if BOARD_SYSTEM76_LEMP12
100 default "oryp11" if BOARD_SYSTEM76_ORYP11
101 default "oryp12" if BOARD_SYSTEM76_ORYP12
102 default "serw13" if BOARD_SYSTEM76_SERW13
104 config OVERRIDE_DEVICETREE
105 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
107 config MAINBOARD_PART_NUMBER
108 default "addw3" if BOARD_SYSTEM76_ADDW3
109 default "addw4" if BOARD_SYSTEM76_ADDW4
110 default "bonw15" if BOARD_SYSTEM76_BONW15
111 default "darp9" if BOARD_SYSTEM76_DARP9
112 default "galp7" if BOARD_SYSTEM76_GALP7
113 default "gaze18" if BOARD_SYSTEM76_GAZE18
114 default "lemp12" if BOARD_SYSTEM76_LEMP12
115 default "oryp11" if BOARD_SYSTEM76_ORYP11
116 default "oryp12" if BOARD_SYSTEM76_ORYP12
117 default "serw13" if BOARD_SYSTEM76_SERW13
119 config MAINBOARD_SMBIOS_PRODUCT_NAME
120 default "Adder WS" if BOARD_SYSTEM76_ADDW3 || BOARD_SYSTEM76_ADDW4
121 default "Bonobo WS" if BOARD_SYSTEM76_BONW15
122 default "Darter Pro" if BOARD_SYSTEM76_DARP9
123 default "Galago Pro" if BOARD_SYSTEM76_GALP7
124 default "Gazelle" if BOARD_SYSTEM76_GAZE18
125 default "Lemur Pro" if BOARD_SYSTEM76_LEMP12
126 default "Oryx Pro" if BOARD_SYSTEM76_ORYP11 || BOARD_SYSTEM76_ORYP12
127 default "Serval WS" if BOARD_SYSTEM76_SERW13
129 config MAINBOARD_VERSION
130 default "addw3" if BOARD_SYSTEM76_ADDW3
131 default "addw4" if BOARD_SYSTEM76_ADDW4
132 default "bonw15" if BOARD_SYSTEM76_BONW15
133 default "darp9" if BOARD_SYSTEM76_DARP9
134 default "galp7" if BOARD_SYSTEM76_GALP7
135 default "gaze18" if BOARD_SYSTEM76_GAZE18
136 default "lemp12" if BOARD_SYSTEM76_LEMP12
137 default "oryp11" if BOARD_SYSTEM76_ORYP11
138 default "oryp12" if BOARD_SYSTEM76_ORYP12
139 default "serw13" if BOARD_SYSTEM76_SERW13
144 config D3COLD_SUPPORT
148 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/board.fmd"
150 config ONBOARD_VGA_IS_PRIMARY
153 config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS
159 config TPM_MEASURED_BOOT
162 config UART_FOR_CONSOLE
163 default 0 if SOC_INTEL_ALDERLAKE_PCH_P
164 default 2 if SOC_INTEL_ALDERLAKE_PCH_S
166 # PM Timer Disabled, saves power
167 config USE_PM_ACPI_TIMER