From: Daniel Golle <daniel@makrotopia.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Daniel Lezcano <daniel.lezcano@kernel.org>,
Thomas Gleixner <tglx@kernel.org>,
Daniel Golle <daniel@makrotopia.org>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Kees Cook <kees+treewide@kernel.org>,
John Crispin <john@phrozen.org>,
Songjun Wu <songjun.wu@linux.intel.com>,
Yi xin Zhu <yzhu@maxlinear.com>,
Rahul Tanwar <rtanwar@maxlinear.com>,
linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
devicetree@vger.kernel.org, linux-clk@vger.kernel.org
Subject: [PATCH 6/6] x86/dts: Add MaxLinear MxL25641-HDK-6 board
Date: Wed, 2 Dec 2026 20:58:44 +0000 [thread overview]
Message-ID: <3e045651bcb25b2852aa8703e94fd55fb0ebec95.1796234065.git.daniel@makrotopia.org> (raw)
In-Reply-To: <cover.1796234065.git.daniel@makrotopia.org>
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
next prev parent reply other threads:[~2026-12-02 20:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Daniel Golle [this message]
2026-12-03 14:39 ` [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain Krzysztof Kozlowski
2026-12-03 15:02 ` Dave Hansen
2026-12-03 15:06 ` Krzysztof Kozlowski
2026-12-03 15:17 ` Dave Hansen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3e045651bcb25b2852aa8703e94fd55fb0ebec95.1796234065.git.daniel@makrotopia.org \
--to=daniel@makrotopia.org \
--cc=bmasney+clk@redhat.com \
--cc=bp@alien8.de \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@kernel.org \
--cc=dave.hansen@linux.intel.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hpa@zytor.com \
--cc=jbrunet+clk@baylibre.com \
--cc=jirislaby@kernel.org \
--cc=john@phrozen.org \
--cc=kees+treewide@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=robh@kernel.org \
--cc=rtanwar@maxlinear.com \
--cc=sboyd@kernel.org \
--cc=songjun.wu@linux.intel.com \
--cc=tglx@kernel.org \
--cc=x86@kernel.org \
--cc=yzhu@maxlinear.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®