[PATCH 6/6] x86/dts: Add MaxLinear MxL25641-HDK-6 board

From: Daniel Golle

Date: Wed Dec 02 2026 - 15:58:55 EST


Add device trees for the Lightning Mountain SoC family, its two-core
member URX641 and the MxL25641-HDK-6 reference board. They describe
what is needed to reach a shell on the serial console: the CPUs, the
local and I/O APIC, the HPET, the clock and reset controllers and the
ASC UART.

The device trees are placed in arch/x86/boot/dts, where the dtbs,
dtbs_check and dtbs_install targets of the top level Makefile find
them.

The e820 map of the vendor boot loader reports RAM above 4 GiB which
the board lacks, so mem=4G has to be passed on the kernel command line.

Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
---
MAINTAINERS | 1 +
arch/x86/boot/dts/Makefile | 2 +
arch/x86/boot/dts/maxlinear/Makefile | 2 +
.../dts/maxlinear/lightning-mountain.dtsi | 87 +++++++++++++++++++
.../x86/boot/dts/maxlinear/mxl25641-hdk-6.dts | 26 ++++++
arch/x86/boot/dts/maxlinear/urx641.dtsi | 13 +++
6 files changed, 131 insertions(+)
create mode 100644 arch/x86/boot/dts/Makefile
create mode 100644 arch/x86/boot/dts/maxlinear/Makefile
create mode 100644 arch/x86/boot/dts/maxlinear/lightning-mountain.dtsi
create mode 100644 arch/x86/boot/dts/maxlinear/mxl25641-hdk-6.dts
create mode 100644 arch/x86/boot/dts/maxlinear/urx641.dtsi

diff --git a/MAINTAINERS b/MAINTAINERS
index aaededbe26f0f..7f8a6175334cf 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -16730,6 +16730,7 @@ MAXLINEAR LIGHTNING MOUNTAIN SOC SUPPORT
M: Daniel Golle <daniel@xxxxxxxxxxxxxx>
S: Maintained
F: Documentation/devicetree/bindings/x86/maxlinear.yaml
+F: arch/x86/boot/dts/maxlinear/

MAXLINEAR MXL862XX SWITCH DRIVER
M: Daniel Golle <daniel@xxxxxxxxxxxxxx>
diff --git a/arch/x86/boot/dts/Makefile b/arch/x86/boot/dts/Makefile
new file mode 100644
index 0000000000000..d1ff013a06201
--- /dev/null
+++ b/arch/x86/boot/dts/Makefile
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
+subdir-y += maxlinear
diff --git a/arch/x86/boot/dts/maxlinear/Makefile b/arch/x86/boot/dts/maxlinear/Makefile
new file mode 100644
index 0000000000000..e4e8d079e4374
--- /dev/null
+++ b/arch/x86/boot/dts/maxlinear/Makefile
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
+dtb-$(CONFIG_X86_MAXLINEAR_LGM) += mxl25641-hdk-6.dtb
diff --git a/arch/x86/boot/dts/maxlinear/lightning-mountain.dtsi b/arch/x86/boot/dts/maxlinear/lightning-mountain.dtsi
new file mode 100644
index 0000000000000..fd430456c1c8e
--- /dev/null
+++ b/arch/x86/boot/dts/maxlinear/lightning-mountain.dtsi
@@ -0,0 +1,87 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/*
+ * Copyright (C) 2026 Daniel Golle <daniel@xxxxxxxxxxxxxx>
+ */
+
+#include <dt-bindings/clock/intel,lgm-clk.h>
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ cpu0: cpu@0 {
+ device_type = "cpu";
+ reg = <0x0>;
+ };
+
+ cpu1: cpu@2 {
+ device_type = "cpu";
+ reg = <0x2>;
+ };
+
+ cpu2: cpu@8 {
+ device_type = "cpu";
+ reg = <0x8>;
+ };
+
+ cpu3: cpu@a {
+ device_type = "cpu";
+ reg = <0xa>;
+ };
+ };
+
+ soc {
+ compatible = "simple-bus";
+ ranges;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ interrupt-parent = <&ioapic>;
+
+ rcu: reset-controller@e0000000 {
+ compatible = "intel,rcu-lgm";
+ reg = <0xe0000000 0x20000>;
+ #reset-cells = <2>;
+ intel,global-reset = <0x10 30>;
+ };
+
+ cgu: clock-controller@e0200000 {
+ compatible = "intel,cgu-lgm";
+ reg = <0xe0200000 0x33c>;
+ #clock-cells = <1>;
+ };
+
+ asc0: serial@e0a00000 {
+ compatible = "intel,lgm-asc";
+ reg = <0xe0a00000 0x1000>;
+ interrupts = <128 1>;
+ clocks = <&cgu LGM_CLK_NOC4>, <&cgu LGM_GCLK_ASC0>;
+ clock-names = "freq", "asc";
+
+ status = "disabled";
+ };
+
+ ioapic: interrupt-controller@fec00000 {
+ compatible = "intel,ce4100-ioapic";
+ reg = <0xfec00000 0x1000>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ hpet: timer@fed00000 {
+ compatible = "intel,ce4100-hpet";
+ reg = <0xfed00000 0x400>;
+ };
+
+ lapic: interrupt-controller@fee00000 {
+ compatible = "intel,ce4100-lapic";
+ reg = <0xfee00000 0x1000>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ intel,virtual-wire-mode;
+ };
+ };
+};
diff --git a/arch/x86/boot/dts/maxlinear/mxl25641-hdk-6.dts b/arch/x86/boot/dts/maxlinear/mxl25641-hdk-6.dts
new file mode 100644
index 0000000000000..16be62aa28357
--- /dev/null
+++ b/arch/x86/boot/dts/maxlinear/mxl25641-hdk-6.dts
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/*
+ * Copyright (C) 2026 Daniel Golle <daniel@xxxxxxxxxxxxxx>
+ */
+
+/dts-v1/;
+
+#include "urx641.dtsi"
+
+/ {
+ model = "MaxLinear MxL25641-HDK-6";
+ compatible = "maxlinear,mxl25641-hdk-6", "maxlinear,urx641",
+ "intel,lgm";
+
+ aliases {
+ serial0 = &asc0;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+};
+
+&asc0 {
+ status = "okay";
+};
diff --git a/arch/x86/boot/dts/maxlinear/urx641.dtsi b/arch/x86/boot/dts/maxlinear/urx641.dtsi
new file mode 100644
index 0000000000000..9897e1fdbc2d8
--- /dev/null
+++ b/arch/x86/boot/dts/maxlinear/urx641.dtsi
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/*
+ * Copyright (C) 2026 Daniel Golle <daniel@xxxxxxxxxxxxxx>
+ */
+
+#include "lightning-mountain.dtsi"
+
+/ {
+ cpus {
+ /delete-node/ cpu@8;
+ /delete-node/ cpu@a;
+ };
+};
--
2.56.1