[PATCH v2 0/2] Add FriendlyElec NanoPi M5 support for Rockchip RK3576

From: John Clark
Date: Fri Jun 20 2025 - 13:21:57 EST


This series adds device tree support for the FriendlyElec NanoPi M5 board,
powered by the Rockchip RK3576 SoC (4x Cortex-A72, 4x Cortex-A53, Mali-G52
MC3 GPU, 6 TOPS NPU). The patches enable basic booting and connectivity,
including dual 1Gbps Ethernet, USB 3.2, microSD, M.2 PCIe NVMe, and HDMI.

Changes in v2:
- Fixed DT schema warnings (Rob Herring):
- Renamed spi-nor@0 to flash@0
- Renamed pmic@23 pinctrl nodes to end with -pins
- Renamed hym8563@51 to rtc@51 and removed clock-frequency
- Renamed button@1 to button-user
- Addressed Heiko Stuebner's feedback:
- Sorted non-addressed nodes alphabetically
- Added blank lines in regulator nodes
- Improved fspi1m1_pins comment to clarify SPI NOR flash pinmux
- Moved status property in saradc to last

Patch 1: Updates DT bindings in rockchip.yaml
Patch 2: Adds NanoPi M5 device tree and Makefile entry

No MAINTAINERS update needed, as the new file is covered by the existing
ARM/Rockchip SoC entry.

Tested on NanoPi M5 with successful boot and feature validation.

Signed-off-by: John Clark <inindev@xxxxxxxxx>
---
John Clark (2):
dt-bindings: arm: rockchip: add FriendlyElec NanoPi M5 board
arm64: dts: rockchip: Add FriendlyElec NanoPi M5 support

.../devicetree/bindings/arm/rockchip.yaml | 6 +
arch/arm64/boot/dts/rockchip/Makefile | 1 +
.../boot/dts/rockchip/rk3576-nanopi-m5.dts | 1001 +++++++++++++++++
3 files changed, 1008 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts

--
2.39.5