* [RFC PATCH 0/3] ARM: Add initial support for the Novatek NA51089 SoC
@ 2026-12-02 16:15 Evan Zane
2026-12-02 16:15 ` [RFC PATCH 1/3] dt-bindings: arm: novatek: Add " Evan Zane
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Evan Zane @ 2026-12-02 16:15 UTC (permalink / raw)
To: linux-arm-kernel, devicetree
Cc: arnd, linux, robh, krzk+dt, conor+dt, alexandre.belloni, linusw,
fustini, soc, linux-kernel
The Novatek NA51089 is a 32-bit Cortex-A9 SoC in the NT9856x family.
This series adds its root compatible, ARM platform selection and a shared
DTSI describing the CPU, PMU, GIC, PL310 cache, global timer and UART0.
A board can enable UART0 using the existing ns16550a driver.
Would you consider taking the shared DTSI before a board DTS is
available upstream, or should the initial series include a board
compatible and a buildable board DTS? The RFC ends at the shared DTSI
and leaves multi_v7_defconfig unchanged.
On v7.4-rc5, the three patches apply with git am. An ARM zImage built
from multi_v7_defconfig with ARCH_NOVATEK and MACH_NA51089 enabled.
The root binding passed dt_binding_check. A temporary DTS that includes
the shared DTSI and enables UART0 compiled with W=1, and dt-validate
reported no diagnostics for the resulting DTB. Hardware boot testing of
this three-patch configuration is still pending.
Assisted-by: Codex:gpt-6
Evan Zane (3):
dt-bindings: arm: novatek: Add NA51089 SoC
arm: novatek: Add NA51089 SoC support
arm: dts: novatek: Add NA51089 SoC
.../devicetree/bindings/arm/novatek.yaml | 27 +++++++
MAINTAINERS | 14 ++++
arch/arm/Kconfig | 2 +
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/novatek/Makefile | 0
arch/arm/boot/dts/novatek/na51089.dtsi | 76 +++++++++++++++++++
arch/arm/mach-novatek/Kconfig | 22 ++++++
7 files changed, 142 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/novatek.yaml
create mode 100644 arch/arm/boot/dts/novatek/Makefile
create mode 100644 arch/arm/boot/dts/novatek/na51089.dtsi
create mode 100644 arch/arm/mach-novatek/Kconfig
base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244
^ permalink raw reply [flat|nested] 6+ messages in thread
* [RFC PATCH 1/3] dt-bindings: arm: novatek: Add NA51089 SoC
2026-12-02 16:15 [RFC PATCH 0/3] ARM: Add initial support for the Novatek NA51089 SoC Evan Zane
@ 2026-12-02 16:15 ` Evan Zane
2026-12-02 16:22 ` sashiko-bot
2026-12-02 16:15 ` [RFC PATCH 2/3] arm: novatek: Add NA51089 SoC support Evan Zane
2026-12-02 16:15 ` [RFC PATCH 3/3] arm: dts: novatek: Add NA51089 SoC Evan Zane
2 siblings, 1 reply; 6+ messages in thread
From: Evan Zane @ 2026-12-02 16:15 UTC (permalink / raw)
To: linux-arm-kernel, devicetree
Cc: arnd, linux, robh, krzk+dt, conor+dt, alexandre.belloni, linusw,
fustini, soc, linux-kernel
Describe the NA51089 SoC root compatible.
Signed-off-by: Evan Zane <evan.zean@fastmail.com>
---
.../devicetree/bindings/arm/novatek.yaml | 27 +++++++++++++++++++
MAINTAINERS | 6 +++++
2 files changed, 33 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/novatek.yaml
diff --git a/Documentation/devicetree/bindings/arm/novatek.yaml b/Documentation/devicetree/bindings/arm/novatek.yaml
new file mode 100644
index 0000000000000..6a50c5d7b10a8
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/novatek.yaml
@@ -0,0 +1,27 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/novatek.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Novatek NA51089 SoC
+
+maintainers:
+ - Evan Zane <evan.zean@fastmail.com>
+
+description:
+ The Novatek NA51089 SoC combines an ARM Cortex-A9 processor with integrated
+ peripheral controllers.
+
+properties:
+ $nodename:
+ const: '/'
+
+ compatible:
+ contains:
+ const: novatek,na51089
+
+required:
+ - compatible
+
+additionalProperties: true
diff --git a/MAINTAINERS b/MAINTAINERS
index 84cb98ef4c498..ab5350eaacc5a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3369,6 +3369,12 @@ F: drivers/rtc/rtc-ab8500.c
F: drivers/rtc/rtc-pl031.c
F: drivers/soc/ux500/
+ARM/NOVATEK SOC SUPPORT
+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
+
ARM/NUVOTON MA35 ARCHITECTURE
M: Jacky Huang <ychuang3@nuvoton.com>
M: Shan-Chun Hung <schung@nuvoton.com>
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [RFC PATCH 2/3] arm: novatek: Add NA51089 SoC support
2026-12-02 16:15 [RFC PATCH 0/3] ARM: Add initial support for the Novatek NA51089 SoC Evan Zane
2026-12-02 16:15 ` [RFC PATCH 1/3] dt-bindings: arm: novatek: Add " Evan Zane
@ 2026-12-02 16:15 ` Evan Zane
2026-12-02 16:15 ` [RFC PATCH 3/3] arm: dts: novatek: Add NA51089 SoC Evan Zane
2 siblings, 0 replies; 6+ messages in thread
From: Evan Zane @ 2026-12-02 16:15 UTC (permalink / raw)
To: linux-arm-kernel, devicetree
Cc: arnd, linux, robh, krzk+dt, conor+dt, alexandre.belloni, linusw,
fustini, soc, linux-kernel
Add ARMv7 platform support for NA51089.
Signed-off-by: Evan Zane <evan.zean@fastmail.com>
---
MAINTAINERS | 1 +
arch/arm/Kconfig | 2 ++
arch/arm/mach-novatek/Kconfig | 22 ++++++++++++++++++++++
3 files changed, 25 insertions(+)
create mode 100644 arch/arm/mach-novatek/Kconfig
diff --git a/MAINTAINERS b/MAINTAINERS
index ab5350eaacc5a..42951d66a72c0 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/mach-novatek/Kconfig
ARM/NUVOTON MA35 ARCHITECTURE
M: Jacky Huang <ychuang3@nuvoton.com>
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0cc289a7184ab..051ce5addff9e 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -421,6 +421,8 @@ source "arch/arm/mach-mxs/Kconfig"
source "arch/arm/mach-nomadik/Kconfig"
+source "arch/arm/mach-novatek/Kconfig"
+
source "arch/arm/mach-npcm/Kconfig"
source "arch/arm/mach-omap1/Kconfig"
diff --git a/arch/arm/mach-novatek/Kconfig b/arch/arm/mach-novatek/Kconfig
new file mode 100644
index 0000000000000..466cfb84f80d8
--- /dev/null
+++ b/arch/arm/mach-novatek/Kconfig
@@ -0,0 +1,22 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+menuconfig ARCH_NOVATEK
+ bool "Novatek SoC support"
+ depends on ARCH_MULTI_V7
+ help
+ Support for Novatek ARMv7 SoCs.
+
+if ARCH_NOVATEK
+
+config MACH_NA51089
+ bool "Novatek NA51089 SoC support"
+ default ARCH_NOVATEK
+ select ARM_GIC
+ select ARM_GLOBAL_TIMER
+ select CACHE_L2X0
+ select PM
+ select PM_GENERIC_DOMAINS
+ help
+ Support for Novatek NT9856x (NA51089) SoCs.
+
+endif
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [RFC PATCH 3/3] arm: dts: novatek: Add NA51089 SoC
2026-12-02 16:15 [RFC PATCH 0/3] ARM: Add initial support for the Novatek NA51089 SoC Evan Zane
2026-12-02 16:15 ` [RFC PATCH 1/3] dt-bindings: arm: novatek: Add " Evan Zane
2026-12-02 16:15 ` [RFC PATCH 2/3] arm: novatek: Add NA51089 SoC support Evan Zane
@ 2026-12-02 16:15 ` Evan Zane
2026-12-02 16:22 ` sashiko-bot
2 siblings, 1 reply; 6+ messages in thread
From: Evan Zane @ 2026-12-02 16:15 UTC (permalink / raw)
To: linux-arm-kernel, devicetree
Cc: arnd, linux, robh, krzk+dt, conor+dt, alexandre.belloni, linusw,
fustini, soc, linux-kernel
Add the Cortex-A9 CPU, PMU, GIC, global timer, L2 cache and UART0 nodes
for NA51089.
Signed-off-by: Evan Zane <evan.zean@fastmail.com>
---
MAINTAINERS | 7 +++
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/novatek/Makefile | 0
arch/arm/boot/dts/novatek/na51089.dtsi | 76 ++++++++++++++++++++++++++
4 files changed, 84 insertions(+)
create mode 100644 arch/arm/boot/dts/novatek/Makefile
create mode 100644 arch/arm/boot/dts/novatek/na51089.dtsi
diff --git a/MAINTAINERS b/MAINTAINERS
index 42951d66a72c0..34ed78c13bed1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3369,11 +3369,18 @@ F: drivers/rtc/rtc-ab8500.c
F: drivers/rtc/rtc-pl031.c
F: drivers/soc/ux500/
+ARM/NOVATEK NA510XX SOC SUPPORT
+M: Evan Zane <evan.zean@fastmail.com>
+L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
+S: Maintained
+F: arch/arm/boot/dts/novatek/na51089.dtsi
+
ARM/NOVATEK SOC SUPPORT
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/Makefile
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 28fba538d5520..5165111e82f98 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 0000000000000..e69de29bb2d1d
diff --git a/arch/arm/boot/dts/novatek/na51089.dtsi b/arch/arm/boot/dts/novatek/na51089.dtsi
new file mode 100644
index 0000000000000..90071e53aee4d
--- /dev/null
+++ b/arch/arm/boot/dts/novatek/na51089.dtsi
@@ -0,0 +1,76 @@
+// 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>
+
+/ {
+ compatible = "novatek,na51089";
+ #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 {
+ compatible = "arm,cortex-a9";
+ reg = <0>;
+ device_type = "cpu";
+ 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;
+ };
+ };
+};
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [RFC PATCH 1/3] dt-bindings: arm: novatek: Add NA51089 SoC
2026-12-02 16:15 ` [RFC PATCH 1/3] dt-bindings: arm: novatek: Add " Evan Zane
@ 2026-12-02 16:22 ` sashiko-bot
0 siblings, 0 replies; 6+ messages in thread
From: sashiko-bot @ 2026-12-02 16:22 UTC (permalink / raw)
To: Evan Zane, devicetree; +Cc: robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: arm: novatek: root compatible uses contains
without board items
--
commit 1ff0d5d16f8c995386e6b5b45a93fb9a6570bdc2
Author: Evan Zane <evan.zean@fastmail.com>
dt-bindings: arm: novatek: Add NA51089 SoC
This commit adds the root-node Device Tree binding schema for the Novatek
NA51089 SoC and its MAINTAINERS entry.
> diff --git a/Documentation/devicetree/bindings/arm/novatek.yaml b/Documentation/devicetree/bindings/arm/novatek.yaml
> new file mode 100644
> index 0000000000000..6a50c5d7b10a8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/novatek.yaml
> @@ -0,0 +1,27 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/arm/novatek.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Novatek NA51089 SoC
> +
> +maintainers:
> + - Evan Zane <evan.zean@fastmail.com>
> +
> +description:
> + The Novatek NA51089 SoC combines an ARM Cortex-A9 processor with integrated
> + peripheral controllers.
> +
> +properties:
> + $nodename:
> + const: '/'
> +
> + compatible:
> + contains:
> + const: novatek,na51089
[Severity: Medium]
Should properties.compatible define an ordered items list pairing the
board compatible string(s) with novatek,na51089 instead of using contains?
Using contains only checks that novatek,na51089 appears somewhere in the
root node's compatible list without bounding its length or order. As a
result, dtbs_check does not validate board compatibles and silently
accepts undocumented board strings, reversed board/SoC ordering, or a bare
SoC compatible on the root node.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1796227386.git.evan.zean@fastmail.com?part=1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFC PATCH 3/3] arm: dts: novatek: Add NA51089 SoC
2026-12-02 16:15 ` [RFC PATCH 3/3] arm: dts: novatek: Add NA51089 SoC Evan Zane
@ 2026-12-02 16:22 ` sashiko-bot
0 siblings, 0 replies; 6+ messages in thread
From: sashiko-bot @ 2026-12-02 16:22 UTC (permalink / raw)
To: Evan Zane, devicetree; +Cc: robh, conor+dt
Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [Low] ARM: dts: novatek: missing SPDX-License-Identifier in Makefile
- [Low] ARM: dts: novatek: na51089.dtsi violates DTS property order and
blank-line style
- [Low] MAINTAINERS: duplicate ARM/NOVATEK NA510XX SOC SUPPORT entry
--
commit 0c9db8c75849875d5572d37dbd9b98770adfb928
Author: Evan Zane <evan.zean@fastmail.com>
arm: dts: novatek: Add NA51089 SoC
This commit adds the base Devicetree source for the Novatek NA51089 SoC
along with its build directory and MAINTAINERS entry.
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 42951d66a72c0..34ed78c13bed1 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -3369,11 +3369,18 @@ F: drivers/rtc/rtc-ab8500.c
> F: drivers/rtc/rtc-pl031.c
> F: drivers/soc/ux500/
>
> +ARM/NOVATEK NA510XX SOC SUPPORT
> +M: Evan Zane <evan.zean@fastmail.com>
> +L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
> +S: Maintained
> +F: arch/arm/boot/dts/novatek/na51089.dtsi
> +
> ARM/NOVATEK SOC SUPPORT
> 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/Makefile
> F: arch/arm/mach-novatek/Kconfig
[Severity: Low]
This isn't a bug, but why split arch/arm/boot/dts/novatek/ across two
MAINTAINERS entries with identical M:, L:, and S: fields? Using
F: arch/arm/boot/dts/novatek/ under ARM/NOVATEK SOC SUPPORT would avoid
the duplicate entry and cover future files added to this directory.
[ ... ]
> diff --git a/arch/arm/boot/dts/novatek/Makefile b/arch/arm/boot/dts/novatek/Makefile
> new file mode 100644
> index 0000000000000..e69de29bb2d1d
[Severity: Low]
This newly added Makefile is 0 bytes and lacks an SPDX-License-Identifier
header, which causes scripts/spdxcheck.py and checkpatch.pl to report a
missing license identifier.
> diff --git a/arch/arm/boot/dts/novatek/na51089.dtsi b/arch/arm/boot/dts/novatek/na51089.dtsi
> new file mode 100644
> index 0000000000000..90071e53aee4d
> --- /dev/null
> +++ b/arch/arm/boot/dts/novatek/na51089.dtsi
> @@ -0,0 +1,76 @@
[ ... ]
> + cpus {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + cpu0: cpu@0 {
> + compatible = "arm,cortex-a9";
> + reg = <0>;
> + device_type = "cpu";
> + next-level-cache = <&l2>;
> + };
> + };
[ ... ]
> + 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";
> + };
[Severity: Low]
Running scripts/dtc/dt-check-style --mode=strict reports two DTS coding
style warnings here: in cpu@0, device_type should appear first before
compatible and reg, and in serial@f0290000, status should be preceded by
a blank line.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1796227386.git.evan.zean@fastmail.com?part=3
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-12-02 16:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 16:15 [RFC PATCH 0/3] ARM: Add initial support for the Novatek NA51089 SoC Evan Zane
2026-12-02 16:15 ` [RFC PATCH 1/3] dt-bindings: arm: novatek: Add " Evan Zane
2026-12-02 16:22 ` sashiko-bot
2026-12-02 16:15 ` [RFC PATCH 2/3] arm: novatek: Add NA51089 SoC support Evan Zane
2026-12-02 16:15 ` [RFC PATCH 3/3] arm: dts: novatek: Add NA51089 SoC Evan Zane
2026-12-02 16:22 ` sashiko-bot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.