From 13e2042ff5f5c9193f77973d070d4635aacfb021 Mon Sep 17 00:00:00 2001 From: Mate Kukri Date: Mon, 4 Mar 2024 12:47:02 +0000 Subject: mb/dell: Add OptiPlex 7020/9020 port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The OptiPlex 7020 and 9020 use physically identical motherboards. WARNING: PWM fan control doesn't work via the EC and the fan runs at a fixed speed. There is likely more EC init to reverse engineer. Each model comes in the following form factors: - 7020: SFF, MT - 9020: USFF (not currently supported), SFF, MT (7020 SFF) Boots Linux and Windows 10: - Tested with an i3-4160 and i5-4460 - DRAM init works using the MRC (4G, 4G+4G) - iGPU init works using libgfxinit (VGA, 2x DP) - PCIe 16x: tested, ok - PCIe 4x: tested, ok - All USB2 and USB3 ports work - SMSC SCH5555 Super I/O: serial works, PS/2 untested - Audio: back and front output works, internal speaker works, mic inputs untested - Ethernet: tested, works (9020 MT) - Tested by Michael Büchler (thanks for the overridetree) Change-Id: Ie7c7089f443aef9890711c4412209bceb1f1e96a Signed-off-by: Mate Kukri Reviewed-on: https://review.coreboot.org/c/coreboot/+/55232 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) Reviewed-by: Nicholas Chin --- src/mainboard/dell/optiplex_9020/Kconfig | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/mainboard/dell/optiplex_9020/Kconfig (limited to 'src/mainboard/dell/optiplex_9020/Kconfig') diff --git a/src/mainboard/dell/optiplex_9020/Kconfig b/src/mainboard/dell/optiplex_9020/Kconfig new file mode 100644 index 0000000000..2de4a9abd6 --- /dev/null +++ b/src/mainboard/dell/optiplex_9020/Kconfig @@ -0,0 +1,34 @@ +## SPDX-License-Identifier: GPL-2.0-only + +if BOARD_DELL_OPTIPLEX_9020_SFF || BOARD_DELL_OPTIPLEX_9020_MT + +config BOARD_SPECIFIC_OPTIONS + def_bool y + select BOARD_ROMSIZE_KB_12288 + select HAVE_ACPI_RESUME + select HAVE_ACPI_TABLES + select HAVE_CMOS_DEFAULT + select HAVE_OPTION_TABLE + select INTEL_GMA_HAVE_VBT + select INTEL_INT15 + select MAINBOARD_HAS_LIBGFXINIT + select MAINBOARD_USES_IFD_GBE_REGION + select NORTHBRIDGE_INTEL_HASWELL + select SERIRQ_CONTINUOUS_MODE + select SOUTHBRIDGE_INTEL_LYNXPOINT + select SUPERIO_SMSC_SCH555x + +config CBFS_SIZE + default 0x600000 + +config MAINBOARD_DIR + default "dell/optiplex_9020" + +config MAINBOARD_PART_NUMBER + default "OptiPlex 7020/9020 SFF" if BOARD_DELL_OPTIPLEX_9020_SFF + default "OptiPlex 7020/9020 MT" if BOARD_DELL_OPTIPLEX_9020_MT + +config OVERRIDE_DEVICETREE + default "overridetree_mt.cb" if BOARD_DELL_OPTIPLEX_9020_MT + +endif -- cgit v1.2.3