summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/rpl/Kconfig
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2023-05-16 12:41:31 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-05-22 12:46:38 +0000
commit930dbc0d0428e4e7726bd6f23acd3f5115dd85be (patch)
tree3bb682632314e751fc99d1963dbec5a718404158 /src/mainboard/system76/rpl/Kconfig
parent2049bb9b2c04738388ae97b6ed6e84e1be84ae21 (diff)
mb/system76/rpl: Add Gazelle 18
The Gazelle 18 (gaze18) is a Raptor Lake-H board. Tested with a custom TianoCore UefiPayloadPkg. Working: - PS/2 keyboard - I2C HID touchpad - Both DIMM slots - M.2 NVMe SSD slot - M.2 SATA SSD slot - All USB ports - Webcam - Ethernet - WiFi/Bluetooth - Integrated graphics using Intel GOP driver - Internal microphone - Internal speakers - Combined headphone + mic 3.5mm audio - 3.5mm microphone input - S3 suspend/resume - Booting Pop!_OS Linux 22.04 with kernel 6.2.6 Not working: - Discrete/Hybrid graphics Change-Id: I4599bf12c0f3048f9328f336cc8971400f5fd1a0 Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73395 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Jeremy Soller <jeremy@system76.com>
Diffstat (limited to 'src/mainboard/system76/rpl/Kconfig')
-rw-r--r--src/mainboard/system76/rpl/Kconfig80
1 files changed, 80 insertions, 0 deletions
diff --git a/src/mainboard/system76/rpl/Kconfig b/src/mainboard/system76/rpl/Kconfig
new file mode 100644
index 0000000000..b2058d4bf2
--- /dev/null
+++ b/src/mainboard/system76/rpl/Kconfig
@@ -0,0 +1,80 @@
+config BOARD_SYSTEM76_RPL_COMMON
+ def_bool n
+ select BOARD_ROMSIZE_KB_32768
+ select DRIVERS_I2C_HID
+ select EC_SYSTEM76_EC
+ select HAVE_ACPI_RESUME
+ select HAVE_ACPI_TABLES
+ select HAVE_CMOS_DEFAULT
+ select HAVE_OPTION_TABLE
+ select INTEL_GMA_HAVE_VBT
+ select INTEL_LPSS_UART_FOR_CONSOLE
+ select MAINBOARD_HAS_TPM2
+ select MEMORY_MAPPED_TPM
+ select NO_UART_ON_SUPERIO
+ select PCIEXP_SUPPORT_RESIZABLE_BARS
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+ select SOC_INTEL_CRASHLOG
+ select SOC_INTEL_RAPTORLAKE
+ select SPD_READ_BY_WORD
+ select SYSTEM_TYPE_LAPTOP
+ select TPM_RDRESP_NEED_DELAY
+
+config BOARD_SYSTEM76_GAZE18
+ select BOARD_SYSTEM76_RPL_COMMON
+ select EC_SYSTEM76_EC_COLOR_KEYBOARD
+ select EC_SYSTEM76_EC_DGPU
+ select SOC_INTEL_ALDERLAKE_PCH_P
+
+if BOARD_SYSTEM76_RPL_COMMON
+
+config MAINBOARD_DIR
+ default "system76/rpl"
+
+config VARIANT_DIR
+ default "gaze18" if BOARD_SYSTEM76_GAZE18
+
+config OVERRIDE_DEVICETREE
+ default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
+
+config MAINBOARD_PART_NUMBER
+ default "gaze18" if BOARD_SYSTEM76_GAZE18
+
+config MAINBOARD_SMBIOS_PRODUCT_NAME
+ default "Gazelle" if BOARD_SYSTEM76_GAZE18
+
+config MAINBOARD_VERSION
+ default "gaze18" if BOARD_SYSTEM76_GAZE18
+
+config CONSOLE_POST
+ default y
+
+config D3COLD_SUPPORT
+ default n
+
+config DIMM_SPD_SIZE
+ default 512
+
+config FMDFILE
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/board.fmd"
+
+config ONBOARD_VGA_IS_PRIMARY
+ default y
+
+config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS
+ default 36
+
+config POST_DEVICE
+ default n
+
+config TPM_MEASURED_BOOT
+ default y
+
+config UART_FOR_CONSOLE
+ default 0
+
+# PM Timer Disabled, saves power
+config USE_PM_ACPI_TIMER
+ default n
+
+endif