* [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
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ 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] 9+ 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 21:01 ` sashiko-bot
2026-12-02 20:56 ` [PATCH 3/6] dt-bindings: timer: Convert intel,ce4100-hpet to DT schema Daniel Golle
` (4 subsequent siblings)
6 siblings, 1 reply; 9+ 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] 9+ messages in thread* Re: [PATCH 2/6] dt-bindings: serial: lantiq,asc: Add Lightning Mountain
2026-12-02 20:56 ` [PATCH 2/6] dt-bindings: serial: lantiq,asc: Add Lightning Mountain Daniel Golle
@ 2026-12-02 21:01 ` sashiko-bot
0 siblings, 0 replies; 9+ messages in thread
From: sashiko-bot @ 2026-12-02 21:01 UTC (permalink / raw)
To: Daniel Golle, linux-serial, devicetree, linux-clk; +Cc: robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: serial: lantiq,asc: interrupts listed before clocks
--
commit dfe99524d6819457c927271603303f61be3fd091
Author: Daniel Golle <daniel@makrotopia.org>
dt-bindings: serial: lantiq,asc: Add Lightning Mountain
This commit adds the intel,lgm-asc compatible string for the Lightning
Mountain SoC ASC serial controller, describing its single combined
interrupt and required clocks.
> 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:
[ ... ]
> @@ -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";
> + };
[Severity: Low]
In both the new serial@e0a00000 example node and the top-level properties
mapping, interrupts is listed before clocks and clock-names. Should
interrupts be placed after clocks and clock-names to follow the standard
Device Tree property ordering (compatible, reg, clocks, clock-names,
interrupts)?
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1796234065.git.daniel@makrotopia.org?part=2
^ permalink raw reply [flat|nested] 9+ 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
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ 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] 9+ 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
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ 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] 9+ 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
2026-12-02 21:03 ` [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain sashiko-bot
6 siblings, 0 replies; 9+ 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] 9+ 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
2026-12-02 21:03 ` [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain sashiko-bot
6 siblings, 0 replies; 9+ 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] 9+ messages in thread* Re: [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain
2026-12-02 20:55 [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain Daniel Golle
` (5 preceding siblings ...)
2026-12-02 20:58 ` [PATCH 6/6] x86/dts: Add MaxLinear MxL25641-HDK-6 board Daniel Golle
@ 2026-12-02 21:03 ` sashiko-bot
6 siblings, 0 replies; 9+ messages in thread
From: sashiko-bot @ 2026-12-02 21:03 UTC (permalink / raw)
To: Daniel Golle, linux-serial
Sashiko has finished reviewing this 6-patch series:
- Patches 1 and 3-6: no issues found.
- Patch 2 ("dt-bindings: serial: lantiq,asc: Add Lightning Mountain"): 1
potential issue (1 Low)
A detailed review has been sent as a separate reply to patch 2.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1796234065.git.daniel@makrotopia.org
^ permalink raw reply [flat|nested] 9+ messages in thread