mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Evan Zane <evan.zean@fastmail.com>
To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Cc: Russell King <linux@armlinux.org.uk>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	Linus Walleij <linusw@kernel.org>,
	Drew Fustini <fustini@kernel.org>,
	soc@lists.linux.dev, linux-kernel@vger.kernel.org,
	Evan Zane <evan.zean@fastmail.com>
Subject: [RFC PATCH v3 3/4] arm: dts: novatek: Add NT98560, NT98562 and NT98566 SoCs
Date: Thu,  3 Dec 2026 23:34:39 +0800	[thread overview]
Message-ID: <8b9fdf355b46f68acc49312fdd84132ed5103cc9.1796311961.git.evan.zean@fastmail.com> (raw)
In-Reply-To: <cover.1796311961.git.evan.zean@fastmail.com>

Describe the shared Cortex-A9 CPU, interrupt controller, timers and
UART0. The NT98560 uses board-specific external DRAM. The NT98562
integrates 64 MiB of DDR2L. The pin-compatible NT98566 reuses its
description with 128 MiB of DDR3.

Signed-off-by: Evan Zane <evan.zean@fastmail.com>
---
 MAINTAINERS                            |  1 +
 arch/arm/boot/dts/Makefile             |  1 +
 arch/arm/boot/dts/novatek/Makefile     |  1 +
 arch/arm/boot/dts/novatek/nt98560.dtsi |  7 +++
 arch/arm/boot/dts/novatek/nt98562.dtsi | 12 +++++
 arch/arm/boot/dts/novatek/nt98566.dtsi | 11 ++++
 arch/arm/boot/dts/novatek/nt9856x.dtsi | 75 ++++++++++++++++++++++++++
 7 files changed, 108 insertions(+)
 create mode 100644 arch/arm/boot/dts/novatek/Makefile
 create mode 100644 arch/arm/boot/dts/novatek/nt98560.dtsi
 create mode 100644 arch/arm/boot/dts/novatek/nt98562.dtsi
 create mode 100644 arch/arm/boot/dts/novatek/nt98566.dtsi
 create mode 100644 arch/arm/boot/dts/novatek/nt9856x.dtsi

diff --git a/MAINTAINERS b/MAINTAINERS
index 42951d66a72c..5351cdc60447 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3374,6 +3374,7 @@ M:	Evan Zane <evan.zean@fastmail.com>
 L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
 S:	Maintained
 F:	Documentation/devicetree/bindings/arm/novatek.yaml
+F:	arch/arm/boot/dts/novatek/
 F:	arch/arm/mach-novatek/Kconfig
 
 ARM/NUVOTON MA35 ARCHITECTURE
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 28fba538d552..5165111e82f9 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -20,6 +20,7 @@ subdir-y += marvell
 subdir-y += mediatek
 subdir-y += microchip
 subdir-y += moxa
+subdir-y += novatek
 subdir-y += nspire
 subdir-y += nuvoton
 subdir-y += nvidia
diff --git a/arch/arm/boot/dts/novatek/Makefile b/arch/arm/boot/dts/novatek/Makefile
new file mode 100644
index 000000000000..a4e40e534e6a
--- /dev/null
+++ b/arch/arm/boot/dts/novatek/Makefile
@@ -0,0 +1 @@
+# SPDX-License-Identifier: GPL-2.0-only
diff --git a/arch/arm/boot/dts/novatek/nt98560.dtsi b/arch/arm/boot/dts/novatek/nt98560.dtsi
new file mode 100644
index 000000000000..ee59c9a964f7
--- /dev/null
+++ b/arch/arm/boot/dts/novatek/nt98560.dtsi
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+
+#include "nt9856x.dtsi"
+
+/ {
+	compatible = "novatek,nt98560";
+};
diff --git a/arch/arm/boot/dts/novatek/nt98562.dtsi b/arch/arm/boot/dts/novatek/nt98562.dtsi
new file mode 100644
index 000000000000..7f65ecb975a6
--- /dev/null
+++ b/arch/arm/boot/dts/novatek/nt98562.dtsi
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+
+#include "nt9856x.dtsi"
+
+/ {
+	compatible = "novatek,nt98562";
+
+	memory@0 {
+		device_type = "memory";
+		reg = <0x0 0x04000000>;
+	};
+};
diff --git a/arch/arm/boot/dts/novatek/nt98566.dtsi b/arch/arm/boot/dts/novatek/nt98566.dtsi
new file mode 100644
index 000000000000..58bafdb37ec0
--- /dev/null
+++ b/arch/arm/boot/dts/novatek/nt98566.dtsi
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+
+#include "nt98562.dtsi"
+
+/ {
+	compatible = "novatek,nt98566";
+
+	memory@0 {
+		reg = <0x0 0x08000000>;
+	};
+};
diff --git a/arch/arm/boot/dts/novatek/nt9856x.dtsi b/arch/arm/boot/dts/novatek/nt9856x.dtsi
new file mode 100644
index 000000000000..c2f1876ab595
--- /dev/null
+++ b/arch/arm/boot/dts/novatek/nt9856x.dtsi
@@ -0,0 +1,75 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+
+/ {
+	#address-cells = <1>;
+	#size-cells = <1>;
+	interrupt-parent = <&gic>;
+
+	periph_clk: clock-periph {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <120000000>;
+	};
+
+	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		cpu0: cpu@0 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a9";
+			reg = <0>;
+			next-level-cache = <&l2>;
+		};
+	};
+
+	pmu {
+		compatible = "arm,cortex-a9-pmu";
+		interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-affinity = <&cpu0>;
+	};
+
+	soc {
+		compatible = "simple-bus";
+		ranges;
+		#address-cells = <1>;
+		#size-cells = <1>;
+
+		uart0: serial@f0290000 {
+			compatible = "ns16550a";
+			reg = <0xf0290000 0x1000>;
+			clock-frequency = <24000000>;
+			interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
+			reg-io-width = <4>;
+			reg-shift = <2>;
+
+			status = "disabled";
+		};
+
+		timer@ffd00200 {
+			compatible = "arm,cortex-a9-global-timer";
+			reg = <0xffd00200 0x20>;
+			clocks = <&periph_clk>;
+			interrupts = <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_EDGE_RISING)>;
+		};
+
+		gic: interrupt-controller@ffd01000 {
+			compatible = "arm,cortex-a9-gic";
+			reg = <0xffd01000 0x1000>,
+			      <0xffd00100 0x100>;
+			#address-cells = <0>;
+			#interrupt-cells = <3>;
+			interrupt-controller;
+		};
+
+		l2: cache-controller@ffe00000 {
+			compatible = "arm,pl310-cache";
+			reg = <0xffe00000 0x1000>;
+			cache-level = <2>;
+			cache-unified;
+		};
+	};
+};

  parent reply	other threads:[~2026-12-03 15:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 15:34 [RFC PATCH v3 0/4] ARM: Add initial support for Novatek NT9856x SoCs Evan Zane
2026-12-03 15:34 ` [RFC PATCH v3 1/4] dt-bindings: arm: novatek: Document NT98566 EVB 2V3 Evan Zane
2026-12-03 15:34 ` [RFC PATCH v3 2/4] arm: novatek: Add NT9856x SoC support Evan Zane
2026-12-03 15:34 ` Evan Zane [this message]
2026-12-03 15:34 ` [RFC PATCH v3 4/4] arm: dts: novatek: Add NT98566 EVB 2V3 Evan Zane

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=8b9fdf355b46f68acc49312fdd84132ed5103cc9.1796311961.git.evan.zean@fastmail.com \
    --to=evan.zean@fastmail.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=arnd@arndb.de \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fustini@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=robh@kernel.org \
    --cc=soc@lists.linux.dev \
    /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®