summaryrefslogtreecommitdiff
path: root/src/mainboard/aoostar/wtr_r1/Kconfig
diff options
context:
space:
mode:
authorFederico Amedeo Izzo <federico@izzo.pro>2024-04-21 18:14:16 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-05-27 14:07:14 +0000
commita0d453fa4d77bd6e924041d486cc0d681a4f8440 (patch)
tree76783b6d4550e55f6313864c0b0f8a20cc6d23e9 /src/mainboard/aoostar/wtr_r1/Kconfig
parent61f826bdf1f6850b88313c83620ee436ca1313cf (diff)
mb/aoostar: Add Alder Lake based AOOSTAR R1 (WTR_R1)
AOOSTAR R1 is a Chinese NAS based on Intel N100 (Alder Lake N), with two 3.5" HDD slots, an M.2 NVMe 2280 SSD slot and a single DDR4-3200 SODIMM slot up to 32GB. It also comes with 2x 2.5Gb Intel NICs, Intel AX200 WiFi + BT and USB-C Alt-DP Power Delivery. Working: - DDR4 RAM (tested with Crucial 16GB 3200MHz CL22) - Automatic FAN control (IT8613E Super I/O) - M.2 NVME slot - 2x SATA ports (Issue on 3.5" HDD, see below) - USB 2.0 ports - USB 3.0 ports - USB-C port with Alt-DP and PD - HDMI / DisplayPort ports - 2x 2.5Gb NICs - WiFi + BT - MicroSD card reader - ASPM (Unavailable on stock) - Linux (Arch Linux, kernel 6.8.7-arch1-1) UEFI booting with EDK2 - Windows 10 UEFI booting with EDK2 Broken: - Power button (OFF->ON broken, ON->OFF works) - 3.5" SATA HDDs (Detected only after reboot) Untested: - Internal audio - S3 My motivation for doing this port is enabling ASPM, as it makes a great difference on idle power consumption (from 8.4W to 5W measured from the wall). The last remaining annoyance of this port is the power button not working. I spent a few hours double checking the Super I/O registers but then I gave up. A workaround for this is to use the "ON after power loss" feature and reconnect the power cord to turn on the board. It's not a big problem for a NAS that will stay ON 24/7. Any hint on the power button or 3.5" HDD issue is welcome. VBT extracted from vendor UEFI firmware version 1AXFE 0.01 x64 (Build date and time 11/29/2023 10:57:44) Compiled with FSP GOP video initialization, using IFD descriptor and ME blob extracted from vendor UEFI firmware (see above). The board can be flashed externally using a 1.8V adapter, I used a CH341a modded for 3.3V I/O. Internal flashing works, as flash is not read/write protected. Patchset 5: Re-enabled dptf, added default options to Kconfig. Patchset 7: Configured USB port mapping and overcurrent, USB3.0 works Patchset 8: Fixed microSD card reader Patchset 13: Change Super I/O Fan configuration to reduce fan noise Change-Id: I9414eb742b6b90459e010b038c1994537e9801a5 Signed-off-by: Federico Amedeo Izzo <federico@izzo.pro> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82010 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/aoostar/wtr_r1/Kconfig')
-rw-r--r--src/mainboard/aoostar/wtr_r1/Kconfig47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/mainboard/aoostar/wtr_r1/Kconfig b/src/mainboard/aoostar/wtr_r1/Kconfig
new file mode 100644
index 0000000000..fd7ddbf685
--- /dev/null
+++ b/src/mainboard/aoostar/wtr_r1/Kconfig
@@ -0,0 +1,47 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+if BOARD_AOOSTAR_WTR_R1
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOARD_ROMSIZE_KB_16384
+ select DRIVERS_I2C_GENERIC
+ select DRIVERS_INTEL_DPTF
+ select DRIVERS_SPI_ACPI
+ select DRIVERS_USB_ACPI
+ select HAVE_ACPI_RESUME
+ select HAVE_ACPI_TABLES
+ select INTEL_GMA_HAVE_VBT
+ select SOC_INTEL_COMMON_BLOCK_IPU
+ select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
+ select SUPERIO_ITE_IT8613E
+ select DRIVERS_UART_8250IO
+ select USE_LEGACY_8254_TIMER
+ select SOC_INTEL_ALDERLAKE_PCH_N
+
+config MAINBOARD_DIR
+ default "aoostar/wtr_r1"
+
+config MAINBOARD_PART_NUMBER
+ default "WTR R1"
+
+config MAINBOARD_FAMILY
+ string
+ default "AOOSTAR_WTR_R1"
+
+config PCIEXP_ASPM
+ default y
+
+# Setting this makes NVMe SSD not work
+config PCIEXP_L1_SUB_STATE
+ default n
+
+# Setting this makes 2.5Gb NICs not work
+config PCIEXP_CLK_PM
+ default n
+
+# This platform has limited means to display POST codes
+config NO_POST
+ default y
+
+endif #BOARD_AOOSTAR_WTR_R1