summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/gaze16/Kconfig
diff options
context:
space:
mode:
authorJeremy Soller <jeremy@system76.com>2021-11-01 14:07:07 -0600
committerPaul Fagerburg <pfagerburg@chromium.org>2021-11-11 22:45:55 +0000
commit8065c6d7295418b952a70313c00b791c7c934d56 (patch)
treeaac65e9d9f251034bce697d95323cd86fb3c26b9 /src/mainboard/system76/gaze16/Kconfig
parentbfc4d8ef1c27d193e8428735e4114f714457b1df (diff)
mb/system76/gaze16: Add System76 Gazelle 16
https://tech-docs.system76.com/models/gaze16/README.html The gaze16 comes in 3 variants due to differences in the discrete GPU and network controller used. - NVIDIA RTX 3050, using Realtek Ethernet controller - NVIDIA RTX 3060, using Realtek Ethernet controller - NVIDIA RTX 3060, using onboard Intel I219-V Ethernet controller Tested on the 3050 variant. Tested with TianoCore (UefiPayloadPkg). Working: - PS/2 keyboard, touchpad - Both DIMM slots - M.2 NVMe SSD - M.2 SATA SSD - 2.5" SSD - All USB ports - SD card reader - Webcam - Ethernet - WiFi/Bluetooth - Integrated graphics using Intel GOP driver - HDMI output - Internal microphone - Internal speakers - Combined headphone + mic 3.5mm audio* - 3.5mm microphone input* - S3 suspend/resume - Booting to Pop!_OS Linux 21.04 and Windows 10 20H2 - Flashing with flashrom Not working: - Discrete/Hybrid graphics - Mini DisplayPort output (requires NVIDIA GPU) - 3.5mm audio input/output detection on Windows Change-Id: Ifb90f9b73a10abf53a21738e2c466d539df9a37c Signed-off-by: Jeremy Soller <jeremy@system76.com> Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56956 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/system76/gaze16/Kconfig')
-rw-r--r--src/mainboard/system76/gaze16/Kconfig72
1 files changed, 72 insertions, 0 deletions
diff --git a/src/mainboard/system76/gaze16/Kconfig b/src/mainboard/system76/gaze16/Kconfig
new file mode 100644
index 0000000000..90d871ec07
--- /dev/null
+++ b/src/mainboard/system76/gaze16/Kconfig
@@ -0,0 +1,72 @@
+if BOARD_SYSTEM76_GAZE16_3050 || BOARD_SYSTEM76_GAZE16_3060 || BOARD_SYSTEM76_GAZE16_3060_B
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOARD_ROMSIZE_KB_16384
+ select DRIVERS_I2C_HID
+ select EC_SYSTEM76_EC
+ select EC_SYSTEM76_EC_BAT_THRESHOLDS
+ select EC_SYSTEM76_EC_COLOR_KEYBOARD
+ 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_LPC_TPM
+ select MAINBOARD_HAS_TPM2
+ select MAINBOARD_USES_IFD_GBE_REGION if BOARD_SYSTEM76_GAZE16_3060_B
+ select NO_UART_ON_SUPERIO
+ select SOC_INTEL_TIGERLAKE
+ select SOC_INTEL_TIGERLAKE_PCH_H
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+ select SPD_READ_BY_WORD
+ select SYSTEM_TYPE_LAPTOP
+ select TPM_RDRESP_NEED_DELAY
+
+config MAINBOARD_DIR
+ default "system76/gaze16"
+
+config MAINBOARD_PART_NUMBER
+ default "gaze16-3050" if BOARD_SYSTEM76_GAZE16_3050
+ default "gaze16-3060" if BOARD_SYSTEM76_GAZE16_3060
+ default "gaze16-3060-b" if BOARD_SYSTEM76_GAZE16_3060_B
+
+config MAINBOARD_SMBIOS_PRODUCT_NAME
+ default "Gazelle"
+
+config MAINBOARD_VERSION
+ default "gaze16-3050" if BOARD_SYSTEM76_GAZE16_3050
+ default "gaze16-3060" if BOARD_SYSTEM76_GAZE16_3060
+ default "gaze16-3060-b" if BOARD_SYSTEM76_GAZE16_3060_B
+
+config VARIANT_DIR
+ default "3050" if BOARD_SYSTEM76_GAZE16_3050
+ default "3060" if BOARD_SYSTEM76_GAZE16_3060 || BOARD_SYSTEM76_GAZE16_3060_B
+
+config OVERRIDE_DEVICETREE
+ default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
+
+config CBFS_SIZE
+ default 0xA00000
+
+config CONSOLE_POST
+ default y
+
+config DIMM_SPD_SIZE
+ default 512
+
+config ONBOARD_VGA_IS_PRIMARY
+ default y
+
+config POST_DEVICE
+ default n
+
+config UART_FOR_CONSOLE
+ default 2
+
+# PM Timer Disabled, saves power
+config USE_PM_ACPI_TIMER
+ default n
+
+endif