Re: [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain

From: Andy Shevchenko

Date: Fri Dec 04 2026 - 06:52:34 EST


On Wed, Dec 02, 2026 at 08:55:45PM +0000, Daniel Golle wrote:
> The MaxLinear (formerly Intel) Lightning Mountain SoCs, such as the
> URX641, are network processors built around Atom Airmont cores. They
> have no ACPI and no BIOS or UEFI: a U-Boot based boot loader passes a
> device tree to the kernel. Drivers for several of their peripherals
> have been in the tree for years (clk-lgm, reset-intel-gw, the Lantiq
> ASC UART, pinctrl-equilibrium, ...), while the tree has no device tree
> for any board using them.
>
> This series adds what is needed to boot the MxL25641-HDK-6 reference
> board (URX641, two cores) into a shell on the serial console:
>
> - clk-lgm probes with a clock controller node which follows its
> binding, which only allows the "intel,cgu-lgm" compatible
> - the "intel,lgm-asc" compatible, matched by the ASC driver, is
> documented
> - the HPET binding is converted to DT schema, so that the new device
> tree passes dtbs_check without warnings
> - root node compatibles, a platform Kconfig option and the device
> trees themselves, in arch/x86/boot/dts
>
> The x86 device tree code already sets up the local APIC, the I/O APIC,
> the HPET and the secondary CPU from this device tree, no change is
> needed there.
>
> Booting: the vendor U-Boot (2022.01-MXL) starts a bzImage with the
> standard boot protocol and passes the device tree as SETUP_DTB:
>
> tftpboot 0x8000000 mxl25641-hdk-6.dtb
> tftpboot 0x8200000 bzImage
> setenv fdtaddr 0x8000000
> setenv bootargs mem=4G
> zboot 0x8200000
>
> mem=4G is required with this boot loader, its e820 map reports RAM
> from 4 GiB to 17 GiB which the board does not have. The console is
> taken from stdout-path.
>
> Tested on a MxL25641-HDK-6 on top of next-20261127: boots into a
> busybox shell from an initramfs with both CPUs online, serial console
> input and output work, reboot resets the board through the RCU restart
> handler. dt_binding_check and dtbs_check are clean for the touched
> bindings and the new device tree.

Wow! Nice to see a more or less modern x86 HW with DT!
Please, Cc me on this series in the future.

> Known limitations, to be addressed separately:
> - a panic or emergency restart hangs, as
> native_machine_emergency_restart() never reaches the restart
> handler of the reset controller

> - the kernel probes for a CMOS RTC which the SoC does not have, which
> costs about a second during boot

The similar case I believe is for Intel MID. Perhaps we may find a common
solution for it?

> Tool use: An LLM coding assistant (Claude Code) was used to find out
> which of our downstream changes mainline still needs for a console
> boot, by booting unmodified linux-next on the board and analysing the
> failures, and it drafted the patches and changelogs of this series.
> I personally review every line of code before submission, and test
> manually on the hardware, then add my SoB. LLM is producing drafts
> queued for human review and submission.

--
With Best Regards,
Andy Shevchenko