[PATCH v2 00/12] arm64: dts: rockchip: Add NanoPi M6 board
Jonas Karlman
jonas at kwiboo.se
Fri Jul 10 16:36:17 PDT 2026
Hi Joachim,
On 7/11/2026 12:11 AM, Joachim Eastwood via B4 Relay wrote:
> This patch series add support for the NanoPi M6. This board is very
> similar to the NanoPi R6C and R6S boards which are already supported.
>
> Main differences:
> * M.2 M-key slot with PCIe (Also present on R6C)
> * M.2 E-key slot with PCIe and USB (from hub)
> * 1 additional USB 2.0 port from an on-board USB hub
> * RT5616 audio CODEC
>
> Patch 2 and 3 moves a bit code around. Please let me know if those two
> should be squashed together.
> Next few patches adds some missing bits the common nanopi dtsi file.
> While the final patch adds support for NanoPi M6. Support for M6 has
> been split into two files one dtsi and one dts file. This is to make
> it easier to add support to the new M6V2 board at a later stage.
In my personal opinion I think it would make more sense to sort
patches in following order:
- adding/fixing missing bits to the common nanopi-r6 dtsi
- extract M6/R6 common parts from nanopi-r6 dtsi to nanopi dtsi,
nanopi-r6 dtsi includes the nanopi dtsi and no changes to dts files
- final parts that adds the M6 board
Should probably make it a little bit easier to cherry-pick and bisect.
Regards,
Jonas
>
> All changes have been verified using the schematics for M6, R6C and R6S.
> Only M6 have been boot and runtime tested. Tester for R6x are welcome.
>
> Signed-off-by: Joachim Eastwood <joachim.eastwood at gmail.com>
> ---
> Changes in v2:
> - Organize DT such that adding support to NanoPi M6V2 later is easier
> - Use correct clk id for I2C mclk out as suggested by Diederik.
> - Add a couple of acks from Krzysztof Kozlowski.
> - Link to v1: https://patch.msgid.link/20260703-nanopi-m6-v1-0-8344a1559519@gmail.com
>
> ---
> Joachim Eastwood (12):
> dt-bindings: arm: rockchip: add FriendlyElec NanoPi M6
> arm64: dts: rockchip: refactor rk3588s-nanopi* to support M6
> arm64: dts: rockchip: move NanoPi R6 code into common dtsi
> arm64: dts: rockchip: rk3588s-nanopi: add missing sdmmc cd pinctrl
> arm64: dts: rockchip: rk3588s-nanopi: remove pull up on rtc int pin
> arm64: dts: rockchip: rk3588s-nanopi: add missing pcie rst pinctrl
> arm64: dts: rockchip: rk3588s-nanopi: pcie2x1l2: add clkreq
> arm64: dts: rockchip: rk3588s-nanopi: remove always-on from vdd_npu_s0 reg
> arm64: dts: rockchip: rk3588s-nanopi: remove useless vcc_3v3_pcie20
> arm64: dts: rockchip: rk3588s-nanopi: add gmac1 add phy-supply
> arm64: dts: rockchip: rk3588s-nanopi: remove bogus vcc5v0_usb regulator
> arm64: dts: rockchip: add support for NanoPi M6 board
>
> .../devicetree/bindings/arm/rockchip.yaml | 3 +-
> arch/arm64/boot/dts/rockchip/Makefile | 1 +
> .../arm64/boot/dts/rockchip/rk3588s-nanopi-m6.dtsi | 142 ++++
> .../boot/dts/rockchip/rk3588s-nanopi-m6v1.dts | 67 ++
> .../arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi | 792 --------------------
> .../arm64/boot/dts/rockchip/rk3588s-nanopi-r6c.dts | 1 +
> .../arm64/boot/dts/rockchip/rk3588s-nanopi-r6s.dts | 1 +
> arch/arm64/boot/dts/rockchip/rk3588s-nanopi.dtsi | 800 +++++++++++++++++++++
> 8 files changed, 1014 insertions(+), 793 deletions(-)
> ---
> base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
> change-id: 20260701-nanopi-m6-ffeef7252fd7
>
> Best regards,
> --
> Joachim Eastwood <joachim.eastwood at gmail.com>
>
>
>
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip
More information about the Linux-rockchip
mailing list