summaryrefslogtreecommitdiff
path: root/src/mainboard/erying/tgl/Kconfig
diff options
context:
space:
mode:
authorAlicja Michalska <ahplka19@gmail.com>2024-03-01 15:09:27 +0100
committerAngel Pons <th3fanbus@gmail.com>2024-10-23 15:24:03 +0000
commita890da52ef7144b9a92a6f300a1c04cbdc3304ce (patch)
treeeb48498b2d2e7279040ed4f30650898c2282013b /src/mainboard/erying/tgl/Kconfig
parent5d6355efcfc4ae1840574a5545fdbd74a16b6c6e (diff)
mb/erying: Add Erying Polestar G613 Pro (TGL-H)
Erying is a Chinese manufacturer selling desktop motherboards with laptop SoCs and custom shim to mount desktop coolers. Working: - Serial port (IT8613E 0x3f8) - All rear USB ports (3.0, 2.0) - Both HDMI ports - Realtek GbE NIC - Internal audio (ALC897/ TGL-H HDMI) - Environment Controller (SuperIO fan control) - All SATA ports - All PCI-E/M.2 ports - M.2 NGFF WiFi - PCI-E Resizable BAR (ReBAR) - VT-x WIP/Broken: - PCI-E ASPM (also broken on vendor's FW, clocks are messed up) - S3/s0ix (also broken on stock, setting 3VSB register didn't help - system goes to sleep, but RAM loses power) - DisplayPort on I/O panel (seemingly a simple fix) - One of USB2 FP connectors, as well as NGFF USB isn't mapped (yet) - Automatic fan control (IT8613E can't read CPU_TIN at the moment) Can be flashed using `flashrom -p internal -w build/coreboot.rom`, as vendor hasn't enabled any protections on SPI chip. TEST=Flash coreboot build onto the motherboard, install following PCI-E cards: Radeon RX 7800XT, Kingston KC3000, Optane 900P, Audigy X-Fi. Power the system up and boot into Windows 10 to check ACPI sanity, then reboot into Fedora Linux (kernel 6.10.9) and launch 3D application, disk benchmark, compilation at the same time to check system's stability. Change-Id: Iffb9e357da2eb686bdcd9a9837df8a60fa94011e Signed-off-by: Alicja Michalska <ahplka19@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80853 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/erying/tgl/Kconfig')
-rw-r--r--src/mainboard/erying/tgl/Kconfig48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/mainboard/erying/tgl/Kconfig b/src/mainboard/erying/tgl/Kconfig
new file mode 100644
index 0000000000..01e5dd98aa
--- /dev/null
+++ b/src/mainboard/erying/tgl/Kconfig
@@ -0,0 +1,48 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+if BOARD_ERYING_POLESTAR_G613_PRO
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOARD_ROMSIZE_KB_16384
+ select SOC_INTEL_TIGERLAKE
+ select SOC_INTEL_TIGERLAKE_PCH_H
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+ select SOC_INTEL_COMMON_BLOCK_MEMINIT
+ select INTEL_GMA_HAVE_VBT
+ select HAVE_ACPI_TABLES
+ select SUPERIO_ITE_IT8613E
+ select DRIVERS_UART_8250IO
+ select HAVE_CMOS_DEFAULT
+ select HAVE_OPTION_TABLE
+ select HAVE_INTEL_PTT
+ select CRB_TPM
+
+config MAINBOARD_SMBIOS_PRODUCT_NAME
+ default "POLESTAR G613 Pro"
+
+config MAINBOARD_DIR
+ default "erying/tgl"
+
+config MAINBOARD_PART_NUMBER
+ default "TigerLake (mATX)"
+
+config CBFS_SIZE
+ default 0xA00000
+
+config USE_PM_ACPI_TIMER
+ default n
+
+config USE_LEGACY_8254_TIMER
+ default y
+
+config PCIEXP_ASPM
+ default n
+
+config PCIEXP_CLK_PM
+ default n
+
+config PCIEXP_L1_SUB_STATE
+ default n
+
+endif