* [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain
@ 2026-12-02 20:55 Daniel Golle
2026-12-02 20:56 ` [PATCH 1/6] clk: mxl: Look up the CGU regmap by device node Daniel Golle
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Daniel Golle @ 2026-12-02 20:55 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Daniel Lezcano, Thomas Gleixner, Daniel Golle,
Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
Stephen Boyd, Brian Masney, Jerome Brunet, Kees Cook,
John Crispin, Songjun Wu, Yi xin Zhu, Rahul Tanwar, linux-kernel,
linux-serial, devicetree, linux-clk
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.
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
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.
Daniel Golle (6):
clk: mxl: Look up the CGU regmap by device node
dt-bindings: serial: lantiq,asc: Add Lightning Mountain
dt-bindings: timer: Convert intel,ce4100-hpet to DT schema
dt-bindings: x86: Document MaxLinear Lightning Mountain
x86/platform: Add MaxLinear Lightning Mountain SoC option
x86/dts: Add MaxLinear MxL25641-HDK-6 board
.../bindings/serial/lantiq,asc.yaml | 46 ++++++++--
.../bindings/timer/intel,ce4100-hpet.yaml | 37 ++++++++
.../devicetree/bindings/x86/maxlinear.yaml | 29 +++++++
.../devicetree/bindings/x86/timer.txt | 6 --
MAINTAINERS | 6 ++
arch/x86/Kconfig | 16 ++++
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 +++
drivers/clk/x86/clk-lgm.c | 2 +-
12 files changed, 257 insertions(+), 15 deletions(-)
create mode 100644 Documentation/devicetree/bindings/timer/intel,ce4100-hpet.yaml
create mode 100644 Documentation/devicetree/bindings/x86/maxlinear.yaml
delete mode 100644 Documentation/devicetree/bindings/x86/timer.txt
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
base-commit: e5aad2bdbbee783611d32599f89cea3f12f9593d
--
2.56.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/6] clk: mxl: Look up the CGU regmap by device node
2026-12-02 20:55 [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain Daniel Golle
@ 2026-12-02 20:56 ` Daniel Golle
2026-12-02 20:56 ` [PATCH 2/6] dt-bindings: serial: lantiq,asc: Add Lightning Mountain Daniel Golle
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Daniel Golle @ 2026-12-02 20:56 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Daniel Lezcano, Thomas Gleixner, Daniel Golle,
Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
Stephen Boyd, Brian Masney, Jerome Brunet, Kees Cook,
John Crispin, Songjun Wu, Yi xin Zhu, Rahul Tanwar, linux-kernel,
linux-serial, devicetree, linux-clk
The CGU binding defines "intel,cgu-lgm" as the only compatible of the
clock controller node. syscon_node_to_regmap() creates a regmap only for
nodes which also carry the "syscon" compatible and fails for all others,
with -EPROBE_DEFER since commit b73d5593bfde ("mfd: syscon: Return
-EPROBE_DEFER if the syscon is not found"). The driver hence never
probes with a device tree which follows the binding, and the consumers
of its clocks, the console UART included, never probe either.
Use device_node_to_regmap(), which creates the regmap for the node of
the clock controller itself.
Fixes: 036177310bac ("clk: mxl: Switch from direct readl/writel based IO to regmap based IO")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
drivers/clk/x86/clk-lgm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/x86/clk-lgm.c b/drivers/clk/x86/clk-lgm.c
index e3cad72431c3d..7d3c59437d963 100644
--- a/drivers/clk/x86/clk-lgm.c
+++ b/drivers/clk/x86/clk-lgm.c
@@ -434,7 +434,7 @@ static int lgm_cgu_probe(struct platform_device *pdev)
ctx->clk_data.num = CLK_NR_CLKS;
- ctx->membase = syscon_node_to_regmap(np);
+ ctx->membase = device_node_to_regmap(np);
if (IS_ERR(ctx->membase)) {
dev_err(dev, "Failed to get clk CGU iomem\n");
return PTR_ERR(ctx->membase);
--
2.56.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/6] dt-bindings: serial: lantiq,asc: Add Lightning Mountain
2026-12-02 20:55 [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain Daniel Golle
2026-12-02 20:56 ` [PATCH 1/6] clk: mxl: Look up the CGU regmap by device node Daniel Golle
@ 2026-12-02 20:56 ` Daniel Golle
2026-12-02 20:56 ` [PATCH 3/6] dt-bindings: timer: Convert intel,ce4100-hpet to DT schema Daniel Golle
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Daniel Golle @ 2026-12-02 20:56 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Daniel Lezcano, Thomas Gleixner, Daniel Golle,
Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
Stephen Boyd, Brian Masney, Jerome Brunet, Kees Cook,
John Crispin, Songjun Wu, Yi xin Zhu, Rahul Tanwar, linux-kernel,
linux-serial, devicetree, linux-clk
The ASC of the Intel (now MaxLinear) Lightning Mountain SoC is matched
by the driver as "intel,lgm-asc". It signals TX, RX and errors through a
single interrupt and takes its frequency and gate clocks from the CGU.
Add the compatible, describe its single interrupt and require the
clocks for it.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
.../bindings/serial/lantiq,asc.yaml | 46 +++++++++++++++----
1 file changed, 38 insertions(+), 8 deletions(-)
diff --git a/Documentation/devicetree/bindings/serial/lantiq,asc.yaml b/Documentation/devicetree/bindings/serial/lantiq,asc.yaml
index 96e8c79cb0478..1a7a6f8dfa104 100644
--- a/Documentation/devicetree/bindings/serial/lantiq,asc.yaml
+++ b/Documentation/devicetree/bindings/serial/lantiq,asc.yaml
@@ -10,21 +10,18 @@ maintainers:
- John Crispin <john@phrozen.org>
- Songjun Wu <songjun.wu@linux.intel.com>
-allOf:
- - $ref: /schemas/serial/serial.yaml#
-
properties:
compatible:
- const: lantiq,asc
+ enum:
+ - intel,lgm-asc
+ - lantiq,asc
reg:
maxItems: 1
interrupts:
- items:
- - description: TX interrupt
- - description: RX interrupt
- - description: Error interrupt
+ minItems: 1
+ maxItems: 3
clocks:
items:
@@ -41,6 +38,29 @@ required:
- reg
- interrupts
+allOf:
+ - $ref: /schemas/serial/serial.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: intel,lgm-asc
+ then:
+ properties:
+ interrupts:
+ items:
+ - description: Combined TX, RX and error interrupt
+ required:
+ - clocks
+ - clock-names
+ else:
+ properties:
+ interrupts:
+ items:
+ - description: TX interrupt
+ - description: RX interrupt
+ - description: Error interrupt
+
unevaluatedProperties: false
examples:
@@ -54,3 +74,13 @@ examples:
<GIC_SHARED 105 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 106 IRQ_TYPE_LEVEL_HIGH>;
};
+ - |
+ #include <dt-bindings/clock/intel,lgm-clk.h>
+
+ serial@e0a00000 {
+ compatible = "intel,lgm-asc";
+ reg = <0xe0a00000 0x1000>;
+ interrupts = <128 1>;
+ clocks = <&cgu0 LGM_CLK_NOC4>, <&cgu0 LGM_GCLK_ASC0>;
+ clock-names = "freq", "asc";
+ };
--
2.56.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/6] dt-bindings: timer: Convert intel,ce4100-hpet to DT schema
2026-12-02 20:55 [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain Daniel Golle
2026-12-02 20:56 ` [PATCH 1/6] clk: mxl: Look up the CGU regmap by device node Daniel Golle
2026-12-02 20:56 ` [PATCH 2/6] dt-bindings: serial: lantiq,asc: Add Lightning Mountain Daniel Golle
@ 2026-12-02 20:56 ` Daniel Golle
2026-12-02 20:57 ` [PATCH 4/6] dt-bindings: x86: Document MaxLinear Lightning Mountain Daniel Golle
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Daniel Golle @ 2026-12-02 20:56 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Daniel Lezcano, Thomas Gleixner, Daniel Golle,
Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
Stephen Boyd, Brian Masney, Jerome Brunet, Kees Cook,
John Crispin, Songjun Wu, Yi xin Zhu, Rahul Tanwar, linux-kernel,
linux-serial, devicetree, linux-clk
Convert the binding of the HPET found in device tree described Intel
SoCs to DT schema, so that device trees using it can be validated. The
reg property, which the kernel reads to find the timer, becomes
required.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
.../bindings/timer/intel,ce4100-hpet.yaml | 37 +++++++++++++++++++
.../devicetree/bindings/x86/timer.txt | 6 ---
2 files changed, 37 insertions(+), 6 deletions(-)
create mode 100644 Documentation/devicetree/bindings/timer/intel,ce4100-hpet.yaml
delete mode 100644 Documentation/devicetree/bindings/x86/timer.txt
diff --git a/Documentation/devicetree/bindings/timer/intel,ce4100-hpet.yaml b/Documentation/devicetree/bindings/timer/intel,ce4100-hpet.yaml
new file mode 100644
index 0000000000000..bc89703ceb8f3
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/intel,ce4100-hpet.yaml
@@ -0,0 +1,37 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/timer/intel,ce4100-hpet.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Intel High Precision Event Timer (HPET)
+
+maintainers:
+ - Daniel Golle <daniel@makrotopia.org>
+
+description:
+ The HPET of Intel SoCs which are described by a device tree. Like other
+ generic devices of these SoCs it carries the ce4100 name in its compatible
+ because it first appeared in the CE4100 SoC.
+
+properties:
+ compatible:
+ const: intel,ce4100-hpet
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ timer@fed00000 {
+ compatible = "intel,ce4100-hpet";
+ reg = <0xfed00000 0x200>;
+ };
+
+...
diff --git a/Documentation/devicetree/bindings/x86/timer.txt b/Documentation/devicetree/bindings/x86/timer.txt
deleted file mode 100644
index c688af58e3bdb..0000000000000
--- a/Documentation/devicetree/bindings/x86/timer.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-Timers
-------
-
-* High Precision Event Timer (HPET)
- Required property:
- compatible = "intel,ce4100-hpet";
--
2.56.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 4/6] dt-bindings: x86: Document MaxLinear Lightning Mountain
2026-12-02 20:55 [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain Daniel Golle
` (2 preceding siblings ...)
2026-12-02 20:56 ` [PATCH 3/6] dt-bindings: timer: Convert intel,ce4100-hpet to DT schema Daniel Golle
@ 2026-12-02 20:57 ` Daniel Golle
2026-12-02 20:57 ` [PATCH 5/6] x86/platform: Add MaxLinear Lightning Mountain SoC option Daniel Golle
2026-12-02 20:58 ` [PATCH 6/6] x86/dts: Add MaxLinear MxL25641-HDK-6 board Daniel Golle
5 siblings, 0 replies; 7+ messages in thread
From: Daniel Golle @ 2026-12-02 20:57 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Daniel Lezcano, Thomas Gleixner, Daniel Golle,
Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
Stephen Boyd, Brian Masney, Jerome Brunet, Kees Cook,
John Crispin, Songjun Wu, Yi xin Zhu, Rahul Tanwar, linux-kernel,
linux-serial, devicetree, linux-clk
The MaxLinear (formerly Intel) Lightning Mountain SoCs are x86 based
network processors without ACPI, their boot loader passes a device tree
to the kernel.
Document the root node compatibles of the URX641 SoC and of the
MxL25641-HDK-6 reference board built around it.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
.../devicetree/bindings/x86/maxlinear.yaml | 29 +++++++++++++++++++
MAINTAINERS | 5 ++++
2 files changed, 34 insertions(+)
create mode 100644 Documentation/devicetree/bindings/x86/maxlinear.yaml
diff --git a/Documentation/devicetree/bindings/x86/maxlinear.yaml b/Documentation/devicetree/bindings/x86/maxlinear.yaml
new file mode 100644
index 0000000000000..7031ac1cdbff2
--- /dev/null
+++ b/Documentation/devicetree/bindings/x86/maxlinear.yaml
@@ -0,0 +1,29 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/x86/maxlinear.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MaxLinear Lightning Mountain SoC based Platforms
+
+maintainers:
+ - Daniel Golle <daniel@makrotopia.org>
+
+description:
+ Boards with a SoC of the x86 based MaxLinear (formerly Intel) Lightning
+ Mountain family shall have the following properties.
+
+properties:
+ $nodename:
+ const: '/'
+ compatible:
+ oneOf:
+ - items:
+ - enum:
+ - maxlinear,mxl25641-hdk-6
+ - const: maxlinear,urx641
+ - const: intel,lgm
+
+additionalProperties: true
+
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index f2670f0547b2e..aaededbe26f0f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -16726,6 +16726,11 @@ S: Supported
F: drivers/net/phy/mxl-86110.c
F: drivers/net/phy/mxl-gpy.c
+MAXLINEAR LIGHTNING MOUNTAIN SOC SUPPORT
+M: Daniel Golle <daniel@makrotopia.org>
+S: Maintained
+F: Documentation/devicetree/bindings/x86/maxlinear.yaml
+
MAXLINEAR MXL862XX SWITCH DRIVER
M: Daniel Golle <daniel@makrotopia.org>
L: netdev@vger.kernel.org
--
2.56.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 5/6] x86/platform: Add MaxLinear Lightning Mountain SoC option
2026-12-02 20:55 [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain Daniel Golle
` (3 preceding siblings ...)
2026-12-02 20:57 ` [PATCH 4/6] dt-bindings: x86: Document MaxLinear Lightning Mountain Daniel Golle
@ 2026-12-02 20:57 ` Daniel Golle
2026-12-02 20:58 ` [PATCH 6/6] x86/dts: Add MaxLinear MxL25641-HDK-6 board Daniel Golle
5 siblings, 0 replies; 7+ messages in thread
From: Daniel Golle @ 2026-12-02 20:57 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Daniel Lezcano, Thomas Gleixner, Daniel Golle,
Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
Stephen Boyd, Brian Masney, Jerome Brunet, Kees Cook,
John Crispin, Songjun Wu, Yi xin Zhu, Rahul Tanwar, linux-kernel,
linux-serial, devicetree, linux-clk
The MaxLinear (formerly Intel) Lightning Mountain SoC family, with the
URX641 as one member, is built around Atom Airmont cores and has no
ACPI. Its U-Boot based boot loader hands a device tree to the kernel,
from which the local APIC, the I/O APIC, the HPET and the CPUs are set
up by the existing x86 device tree code.
Add a platform option which selects device tree support, for the
device trees of boards with these SoCs to depend on.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
arch/x86/Kconfig | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 289179c857333..97b396d8b1155 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -590,6 +590,7 @@ config X86_EXTENDED_PLATFORM
RDC R-321x SoC
64-bit platforms (CONFIG_64BIT=y):
+ MaxLinear Lightning Mountain SoC
Numascale NumaChip
ScaleMP vSMP
SGI Ultraviolet
@@ -601,6 +602,21 @@ config X86_EXTENDED_PLATFORM
# This is an alphabetically sorted list of 64 bit extended platforms
# Please maintain the alphabetic order if and when there are additions
+config X86_MAXLINEAR_LGM
+ bool "MaxLinear Lightning Mountain SoC"
+ depends on X86_64
+ depends on X86_IO_APIC
+ depends on X86_EXTENDED_PLATFORM
+ select OF
+ select OF_EARLY_FLATTREE
+ help
+ Select for the x86 based MaxLinear (formerly Intel) Lightning
+ Mountain network processor SoC family, such as the URX641. These
+ SoCs have no ACPI, their boot loader describes the hardware to
+ the kernel with a device tree.
+
+ If unsure, say N.
+
config X86_NUMACHIP
bool "Numascale NumaChip"
depends on X86_64
--
2.56.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 6/6] x86/dts: Add MaxLinear MxL25641-HDK-6 board
2026-12-02 20:55 [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain Daniel Golle
` (4 preceding siblings ...)
2026-12-02 20:57 ` [PATCH 5/6] x86/platform: Add MaxLinear Lightning Mountain SoC option Daniel Golle
@ 2026-12-02 20:58 ` Daniel Golle
5 siblings, 0 replies; 7+ messages in thread
From: Daniel Golle @ 2026-12-02 20:58 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Daniel Lezcano, Thomas Gleixner, Daniel Golle,
Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
Stephen Boyd, Brian Masney, Jerome Brunet, Kees Cook,
John Crispin, Songjun Wu, Yi xin Zhu, Rahul Tanwar, linux-kernel,
linux-serial, devicetree, linux-clk
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@makrotopia.org>
---
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@makrotopia.org>
S: Maintained
F: Documentation/devicetree/bindings/x86/maxlinear.yaml
+F: arch/x86/boot/dts/maxlinear/
MAXLINEAR MXL862XX SWITCH DRIVER
M: Daniel Golle <daniel@makrotopia.org>
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@makrotopia.org>
+ */
+
+#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@makrotopia.org>
+ */
+
+/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@makrotopia.org>
+ */
+
+#include "lightning-mountain.dtsi"
+
+/ {
+ cpus {
+ /delete-node/ cpu@8;
+ /delete-node/ cpu@a;
+ };
+};
--
2.56.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-12-02 20:58 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 20:55 [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain Daniel Golle
2026-12-02 20:56 ` [PATCH 1/6] clk: mxl: Look up the CGU regmap by device node Daniel Golle
2026-12-02 20:56 ` [PATCH 2/6] dt-bindings: serial: lantiq,asc: Add Lightning Mountain Daniel Golle
2026-12-02 20:56 ` [PATCH 3/6] dt-bindings: timer: Convert intel,ce4100-hpet to DT schema Daniel Golle
2026-12-02 20:57 ` [PATCH 4/6] dt-bindings: x86: Document MaxLinear Lightning Mountain Daniel Golle
2026-12-02 20:57 ` [PATCH 5/6] x86/platform: Add MaxLinear Lightning Mountain SoC option Daniel Golle
2026-12-02 20:58 ` [PATCH 6/6] x86/dts: Add MaxLinear MxL25641-HDK-6 board Daniel Golle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox