Skip to contentSkip to conversation

arm64: dts: rockchip: Add ROCK 2A/2F, Sige1 and NanoPi Zero2

PATCH Superseded Jonas Karlman 3 participants 14 messages Jul 10, 2025 – Jul 12, 2025

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v2 cover arm64: dts: rockchip: Add ROCK 2A/2F, Sige1 and NanoPi Zero2

This series adds dt-bindings and initial device tree for the following Rockchip RK3528A boards:
- Radxa ROCK 2A/2F
- ArmSoM Sige1
- FriendlyElec NanoPi Zero2

The bt/wifi_reg_on pins are described in the device tree using rfkill-gpio nodes.

Changes in v2:
- Limit sdmmc max-frequency to 100 MHz on ROCK 2A/2F
- Drop clock-output-names prop from rtc node on Sige1 and NanoPi Zero2
- Drop regulator-boot-on from usb 2.0 host regulators on Sige1
- Add bluetooth and wifi nodes on Sige1
- Collect t-b tag for NanoPi Zero2

These boards can be booted from emmc or sd-card using the U-Boot 2025.07 generic-rk3528 target or work-in-progress patches for these boards [1].

The patch "arm64: dts: rockchip: Fix pinctrl node names for RK3528" [2] is recommended to remove a few CHECK_DTBS=y W=2 node_name_chars_strict warnings for these boards.

For working bluetooth on ArmSoM Sige1 the patch "arm64: dts: rockchip:
Fix UART DMA support for RK3528" [3] is also required.

[1] https://source.denx.de/u-boot/contributors/kwiboo/u-boot/-/commits/rk3528
[2] https://lore.kernel.org/r/[email protected]
[3] https://lore.kernel.org/r/[email protected]

Jonas Karlman (6):
dt-bindings: arm: rockchip: Add Radxa ROCK 2A/2F
arm64: dts: rockchip: Add Radxa ROCK 2A/2F
dt-bindings: arm: rockchip: Add ArmSoM Sige1
arm64: dts: rockchip: Add ArmSoM Sige1
dt-bindings: arm: rockchip: Add FriendlyElec NanoPi Zero2
arm64: dts: rockchip: Add FriendlyElec NanoPi Zero2

 .../devicetree/bindings/arm/rockchip.yaml     |  17 +
 arch/arm64/boot/dts/rockchip/Makefile         |   4 +
 .../boot/dts/rockchip/rk3528-armsom-sige1.dts | 467 ++++++++++++++++++
 .../boot/dts/rockchip/rk3528-nanopi-zero2.dts | 340 +++++++++++++
 .../boot/dts/rockchip/rk3528-rock-2.dtsi      | 293 +++++++++++
 .../boot/dts/rockchip/rk3528-rock-2a.dts      |  82 +++
 .../boot/dts/rockchip/rk3528-rock-2f.dts      |  10 +
 7 files changed, 1213 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3528-rock-2.dtsi
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3528-rock-2a.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3528-rock-2f.dts
Signature · 1 line
2.49.0
#1 lore raw

PATCH v2 1/6 dt-bindings: arm: rockchip: Add Radxa ROCK 2A/2F

The ROCK 2A and ROCK 2F is a high-performance single board computer developed by Radxa, based on the Rockchip RK3528A SoC.

Add devicetree binding documentation for the Radxa ROCK 2A and ROCK 2F boards.

---
v2: No change

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +7 -0
index 28db6bd6aa5b..c5690098f2ed 100644
@@ -881,6 +881,13 @@ properties:
           - const: radxa,rock
           - const: rockchip,rk3188
 
+      - description: Radxa ROCK 2A/2F
+        items:
+          - enum:
+              - radxa,rock-2a
+              - radxa,rock-2f
+          - const: rockchip,rk3528
+
       - description: Radxa ROCK Pi 4A/A+/B/B+/C
         items:
           - enum:
Signature · 1 line
2.49.0
Acked-by on v2 1/6
#2 lore raw

Re: [PATCH v2 1/6] dt-bindings: arm: rockchip: Add Radxa ROCK 2A/2F

Quoted 6 lines · Jonas Karlman

The ROCK 2A and ROCK 2F is a high-performance single board computer developed by Radxa, based on the Rockchip RK3528A SoC.

Add devicetree binding documentation for the Radxa ROCK 2A and ROCK 2F boards.

Quoted 6 lines

---
v2: No change

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

Best regards,
Krzysztof

#3 lore raw

PATCH v2 2/6 arm64: dts: rockchip: Add Radxa ROCK 2A/2F

In reply to Jonas Karlman

The ROCK 2A and ROCK 2F is a high-performance single board computer developed by Radxa, based on the Rockchip RK3528A SoC.

Add initial device tree for the Radxa ROCK 2A and ROCK 2F boards.

---
v2: Limit sdmmc max-frequency to 100 MHz (Yao Zi)

Schematics:
- https://dl.radxa.com/rock2/2a/v1.2/radxa_rock_2a_v1.2_schematic.pdf
- https://dl.radxa.com/rock2/2f/radxa_rock2f_v1.01_schematic.pdf

---
 arch/arm64/boot/dts/rockchip/Makefile         |   2 +
 .../boot/dts/rockchip/rk3528-rock-2.dtsi      | 293 ++++++++++++++++++
 .../boot/dts/rockchip/rk3528-rock-2a.dts      |  82 +++++
 .../boot/dts/rockchip/rk3528-rock-2f.dts      |  10 +
 4 files changed, 387 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3528-rock-2.dtsi
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3528-rock-2a.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3528-rock-2f.dts
arch/arm64/boot/dts/rockchip/Makefile +2 -0
index 099520962ffb..4cb6106b16f2 100644
@@ -90,6 +90,8 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399pro-rock-pi-n10.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-radxa-e20c.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-rock-2a.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-rock-2f.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3562-evb2-v10.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-anbernic-rg-arc-d.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-anbernic-rg-arc-s.dtb
arch/arm64/boot/dts/rockchip/rk3528-rock-2.dtsi new file +293 -0

293 lines not on this page · raw message

arch/arm64/boot/dts/rockchip/rk3528-rock-2a.dts new file +82 -0

82 lines not on this page · raw message

arch/arm64/boot/dts/rockchip/rk3528-rock-2f.dts new file +10 -0
new file mode 100644
index 000000000000..3e2b9b685cb2
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+/dts-v1/;
+
+#include "rk3528-rock-2.dtsi"
+
+/ {
+	model = "Radxa ROCK 2F";
+	compatible = "radxa,rock-2f", "rockchip,rk3528";
+};
Signature · 1 line
2.49.0
#4 lore raw

PATCH v2 3/6 dt-bindings: arm: rockchip: Add ArmSoM Sige1

In reply to Jonas Karlman

The Sige1 is a single board computer developed by ArmSoM, based on the Rockchip RK3528A SoC.

Add devicetree binding documentation for the ArmSoM Sige1 board.

---
v2: No change

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index c5690098f2ed..43f6403ecad6 100644
@@ -54,6 +54,11 @@ properties:
           - const: ariaboard,photonicat
           - const: rockchip,rk3568
 
+      - description: ArmSoM Sige1 board
+        items:
+          - const: armsom,sige1
+          - const: rockchip,rk3528
+
       - description: ArmSoM Sige5 board
         items:
           - const: armsom,sige5
Signature · 1 line
2.49.0
#6 lore raw

PATCH v2 4/6 arm64: dts: rockchip: Add ArmSoM Sige1

In reply to Jonas Karlman

The Sige1 is a single board computer developed by ArmSoM, based on the Rockchip RK3528A SoC.

Add initial device tree for the ArmSoM Sige1 board.

---
Changes in v2:
- Drop regulator-boot-on from usb 2.0 host regulators (Chukun Pan)
- Change rfkill to sdio-pwrseq (Chukun Pan)
- Drop clock-output-names prop from rtc node (Chukun Pan)
- Add bluetooth and wifi nodes (Chukun Pan)
- Enable use of DMA for bluetooth on uart2

Schematics: https://drive.google.com/drive/folders/15uvc2lcOAKP0enXezASUhVFLuzkq3IEX

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3528-armsom-sige1.dts | 467 ++++++++++++++++++
 2 files changed, 468 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 4cb6106b16f2..206fb8572cf7 100644
@@ -89,6 +89,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rockpro64-screen.dtbo
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399pro-rock-pi-n10.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-armsom-sige1.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-radxa-e20c.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-rock-2a.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-rock-2f.dtb
arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts new file +467 -0

467 lines not on this page · raw message

Signature · 1 line
2.49.0
#7 lore raw

Re: [PATCH v2 4/6] arm64: dts: rockchip: Add ArmSoM Sige1

Hi,

arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts line 47

Quoted 6 lines
arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts new file +6 -0
+	leds {
+		compatible = "gpio-leds";
+		pinctrl-names = "default";
+		pinctrl-0 = <&g_led>, <&r_led>;
+
+		led-green {

Should this label be named as led-0/led-1?

arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts line 408

Quoted 12 lines

+&sdio0 {

arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts new file +11 -0
+	bus-width = <4>;
+	cap-sd-highspeed;
+	cap-sdio-irq;
+	disable-wp;
+	keep-power-in-suspend;
+	mmc-pwrseq = <&sdio_pwrseq>;
+	no-mmc;
+	no-sd;
+	non-removable;
+	pinctrl-names = "default";
+	pinctrl-0 = <&sdio0_bus4>, <&sdio0_clk>, <&sdio0_cmd>;

This pinctrl is the same as that of rk3528.dtsi, we can remove it.

BTW there is a fan connector on the board (connected to pwm6m2), so pwm6 should be enabled.

arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts line 457

Quoted 12 lines

+&uart2 {

arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts new file +11 -0
+	dma-names = "tx", "rx";
+	pinctrl-names = "default";
+	pinctrl-0 = <&uart2m1_xfer>, <&uart2m1_ctsn>, <&uart2m1_rtsn>;
+	uart-has-rtscts;
+	status = "okay";
+
+	bluetooth {
+		compatible = "brcm,bcm43438-bt";
+		clocks = <&cru CLK_DEEPSLOW>;
+		clock-names = "lpo";
+		device-wakeup-gpios = <&gpio3 RK_PC3 GPIO_ACTIVE_HIGH>;

Is host-wakeup-gpios needed?

Thanks,
Chukun

--
2.25.1

#8 lore raw

Re: [PATCH v2 4/6] arm64: dts: rockchip: Add ArmSoM Sige1

Hi,

Quoted 10 lines · Chukun Pan

Hi,

arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts line 47

Quoted 6 lines
arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts new file +6 -0
+	leds {
+		compatible = "gpio-leds";
+		pinctrl-names = "default";
+		pinctrl-0 = <&g_led>, <&r_led>;
+
+		led-green {

Should this label be named as led-0/led-1?

The nodes must include 'led' anywhere in their name according to schema:

"""
patternProperties:
# The first form is preferred, but fall back to just 'led' anywhere in the

  # node name to at least catch some child nodes.
  "(^led-[0-9a-f]$|led)":
"""

Using the color name similar to the the pin labels in schematics made most sense to me.

Do you want me to change these to conform to the more restricted ^led-[0-9a-f]$ pattern?

Quoted 15 lines

arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts line 408

Quoted 13 lines

+&sdio0 {

arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts new file +11 -0
+	bus-width = <4>;
+	cap-sd-highspeed;
+	cap-sdio-irq;
+	disable-wp;
+	keep-power-in-suspend;
+	mmc-pwrseq = <&sdio_pwrseq>;
+	no-mmc;
+	no-sd;
+	non-removable;
+	pinctrl-names = "default";
+	pinctrl-0 = <&sdio0_bus4>, <&sdio0_clk>, <&sdio0_cmd>;

This pinctrl is the same as that of rk3528.dtsi, we can remove it.

I will drop the pinctrl props in a v3.

Quoted 3 lines

BTW there is a fan connector on the board (connected to pwm6m2), so pwm6 should be enabled.

I only try to enable controllers for devices that are properly described, so I ignored the pwm-fan and its required pwm6 controller. Mostly because it make more sense to describe the fan once thermal support is completed, work [1] currently being blocked by a rk356x otp series [2] and that depends on a rk3576 thermal series [3].

[1] https://github.com/Kwiboo/linux-rockchip/commits/next-20250620-rk3528/
[2] https://lore.kernel.org/r/[email protected]
[3] https://lore.kernel.org/r/[email protected]

Quoted 15 lines

arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts line 457

Quoted 13 lines

+&uart2 {

arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts new file +11 -0
+	dma-names = "tx", "rx";
+	pinctrl-names = "default";
+	pinctrl-0 = <&uart2m1_xfer>, <&uart2m1_ctsn>, <&uart2m1_rtsn>;
+	uart-has-rtscts;
+	status = "okay";
+
+	bluetooth {
+		compatible = "brcm,bcm43438-bt";
+		clocks = <&cru CLK_DEEPSLOW>;
+		clock-names = "lpo";
+		device-wakeup-gpios = <&gpio3 RK_PC3 GPIO_ACTIVE_HIGH>;

Is host-wakeup-gpios needed?

The host-wakeup interrupt is described using interrupt* props, not using the deprecated host-wakeup-gpios prop.

Regards,
Jonas

Quoted 7 lines

Thanks,
Chukun

--
2.25.1

#9 lore raw

Re: [PATCH v2 4/6] arm64: dts: rockchip: Add ArmSoM Sige1

Hi,

Quoted 11 lines
Quoted 1 line

Should this label be named as led-0/led-1?

The nodes must include 'led' anywhere in their name according to schema:

"""
patternProperties:
# The first form is preferred, but fall back to just 'led' anywhere in the

  # node name to at least catch some child nodes.
  "(^led-[0-9a-f]$|led)":
"""
Quoted 5 lines

Using the color name similar to the the pin labels in schematics made most sense to me.

Do you want me to change these to conform to the more restricted ^led-[0-9a-f]$ pattern?

This will be better.

Quoted 5 lines

I only try to enable controllers for devices that are properly described, so I ignored the pwm-fan and its required pwm6 controller. Mostly because it make more sense to describe the fan once thermal support is completed, work [1] currently being blocked by a rk356x otp series [2] and that depends on a rk3576 thermal series [3].

Ok, I got it. Is usb2.0 also stuck?

Thanks,
Chukun

--
2.25.1

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#10 lore raw

Re: [PATCH v2 4/6] arm64: dts: rockchip: Add ArmSoM Sige1

Hi,

Quoted 13 lines · Chukun Pan

Hi,

Quoted 11 lines
Quoted 1 line

Should this label be named as led-0/led-1?

The nodes must include 'led' anywhere in their name according to schema:

"""
patternProperties:
# The first form is preferred, but fall back to just 'led' anywhere in the

  # node name to at least catch some child nodes.
  "(^led-[0-9a-f]$|led)":
"""
Quoted 7 lines
Quoted 5 lines

Using the color name similar to the the pin labels in schematics made most sense to me.

Do you want me to change these to conform to the more restricted ^led-[0-9a-f]$ pattern?

This will be better.

Will change the node names of the leds in a v3.

Quoted 8 lines
Quoted 6 lines

I only try to enable controllers for devices that are properly described, so I ignored the pwm-fan and its required pwm6 controller. Mostly because it make more sense to describe the fan once thermal support is completed, work [1] currently being blocked by a rk356x otp series [2] and that depends on a rk3576 thermal series [3].

Ok, I got it. Is usb2.0 also stuck?

USB2.0 is mostly stuck due to my limited time and possible power-domain, will try to send the USB2.0 patches to mailing list tomorrow.

Regards,
Jonas

Quoted 7 lines

Thanks,
Chukun

--
2.25.1

#11 lore raw

PATCH v2 5/6 dt-bindings: arm: rockchip: Add FriendlyElec NanoPi Zero2

In reply to Jonas Karlman

The NanoPi Zero2 is small single board computer developed by FriendlyElec, based on the Rockchip RK3528A SoC.

Add devicetree binding documentation for the FriendlyElec NanoPi Zero2 board.

---
v2: No change

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index 43f6403ecad6..e3d3d483de4a 100644
@@ -325,6 +325,11 @@ properties:
               - friendlyarm,nanopi-r6s
           - const: rockchip,rk3588s
 
+      - description: FriendlyElec NanoPi Zero2
+        items:
+          - const: friendlyarm,nanopi-zero2
+          - const: rockchip,rk3528
+
       - description: FriendlyElec NanoPC T6 series boards
         items:
           - enum:
Signature · 1 line
2.49.0
Acked-by on v2 5/6
#12 lore raw

Re: [PATCH v2 5/6] dt-bindings: arm: rockchip: Add FriendlyElec NanoPi Zero2

Quoted 6 lines · Jonas Karlman

The NanoPi Zero2 is small single board computer developed by FriendlyElec, based on the Rockchip RK3528A SoC.

Add devicetree binding documentation for the FriendlyElec NanoPi Zero2 board.

Quoted 6 lines

---
v2: No change

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)

Best regards,
Krzysztof

#13 lore raw

PATCH v2 6/6 arm64: dts: rockchip: Add FriendlyElec NanoPi Zero2

In reply to Jonas Karlman

The NanoPi Zero2 is a small single board computer developed by FriendlyElec, based on the Rockchip RK3528A SoC.

Add initial device tree for the FriendlyElec NanoPi Zero2 board.

---
Changes in v2:
- Drop clock-output-names prop from rtc node (Chukun Pan)
- Collect t-b tag

Schematics: https://wiki.friendlyelec.com/wiki/images/3/37/NanoPi_Zero2_2407_SCH.pdf

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3528-nanopi-zero2.dts | 340 ++++++++++++++++++
 2 files changed, 341 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 206fb8572cf7..0662fcf00628 100644
@@ -90,6 +90,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399pro-rock-pi-n10.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-armsom-sige1.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-nanopi-zero2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-radxa-e20c.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-rock-2a.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-rock-2f.dtb
arch/arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts new file +340 -0

340 lines not on this page · raw message

Signature · 1 line
2.49.0