Skip to contentSkip to conversation

Add Radxa Rock 4D support

PATCH Applied Detlev Casanova 2 participants 4 messages Feb 18, 2025 – Feb 22, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v5 cover Add Radxa Rock 4D support

Add the basic support for the board. (Not officially released yet) It is based on the Rockchip rk3576 SoC, so I haven't added the following devices yet:
- VOP/HDMI
- UFS
as the support for those has not been merged yet, but are close to be and I already validated that they work.
It will come with another patch set.

The following devices are supported and working:
- UART
- SD Card
- Ethernet
- USB
- RTC

Changes since v4:
- Add the correct pinctrls when needed
- Move #clock- and #gpio- props to their corresponding props
- Add mmc0 alias
- Rename gpio to gpios
- Remove unnecessary blank lines

Changes since v3:
- Reorder nodes alphabetically
- Add missing cpu supply

Changes since v2:
- Move and rename snps,reset-* props to the PHY node
- Rename phy@1 to phy-ethernet@1

Changes since v1:
- Add missing dt bindings
- Remove clock-frequency in rtc node
- Add line break in pmic pinctrls

Detlev Casanova (1):
dt-bindings: arm: rockchip: Add Radxa ROCK 4D board

Stephen Chen (1):
arm64: dts: rockchip: Add Radxa ROCK 4D device tree

 .../devicetree/bindings/arm/rockchip.yaml     |   5 +
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3576-rock-4d.dts      | 689 ++++++++++++++++++
 3 files changed, 695 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts
Signature · 1 line
2.48.1
#1 lore raw

PATCH v5 1/2 dt-bindings: arm: rockchip: Add Radxa ROCK 4D board

The board is based on the Rockchip rk3576 SoC.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index 522a6f0450eae..9ddb20890627f 100644
@@ -862,6 +862,11 @@ properties:
           - const: radxa,rock-4c-plus
           - const: rockchip,rk3399
 
+      - description: Radxa ROCK 4D
+        items:
+          - const: radxa,rock-4d
+          - const: rockchip,rk3576
+
       - description: Radxa ROCK 4SE
         items:
           - const: radxa,rock-4se
Signature · 1 line
2.48.1
#2 lore raw

PATCH v5 2/2 arm64: dts: rockchip: Add Radxa ROCK 4D device tree

In reply to Detlev Casanova

From: Stephen Chen <[email protected]>

The Radxa ROCK 4D board is based on the Rockchip rk3576 SoC.

The device tree adds support for basic devices:
- UART
- SD Card
- Ethernet
- USB
- RTC

It has 4 USB ports but only 3 are usable as the top left one is used for maskrom.

It has a USB-C port that is only used for powering the board.

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3576-rock-4d.dts      | 689 ++++++++++++++++++
 2 files changed, 690 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index def1222c1907e..a112aeb37948a 100644
@@ -132,6 +132,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-display-vz.dtbo
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-io-expander.dtbo
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-evb1-v10.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-rock-4d.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3582-radxa-e52c.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-armsom-sige7.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-armsom-w3.dtb
arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts new file +689 -0

689 lines not on this page · raw message

Signature · 1 line
2.48.1
maintainer Applied
#3 lore raw
In reply to Detlev Casanova
Quoted 10 lines · Detlev Casanova

Add the basic support for the board. (Not officially released yet) It is based on the Rockchip rk3576 SoC, so I haven't added the following devices yet:
- VOP/HDMI
- UFS
as the support for those has not been merged yet, but are close to be and I already validated that they work.
It will come with another patch set.

[...]

Applied, thanks!

[1/2] dt-bindings: arm: rockchip: Add Radxa ROCK 4D board [2/2] arm64: dts: rockchip: Add Radxa ROCK 4D device tree

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>