Skip to contentSkip to conversation

arm64: dts: rockchip: Add Radxa ROCK 3B

PATCH Applied Jonas Karlman 2 participants 4 messages Jun 27, 2024 – Jul 8, 2024

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

v3 cover arm64: dts: rockchip: Add Radxa ROCK 3B

This series adds initial support for the Radxa ROCK 3B board.

The Radxa ROCK 3B is a single-board computer based on the Pico-ITX form factor (100mm x 75mm). Two versions of the ROCK 3B exists, a community version based on the RK3568 SoC and an industrial version based on the RK3568J SoC.

Schematic for ROCK 3B can be found at:
https://dl.radxa.com/rock3/docs/hw/3b/Radxa_ROCK_3B_V1.51_SCH.pdf

Changes in v3:
- Rename led node and move led pinctrl
- Add cap-mmc-highspeed to sdhci node

Changes in v2:
- Drop rk809 dt-bindings patches, replaced by series at [1]
- Use regulator-.* nodename for fixed regulators
- Drop rockchip,mic-in-differential prop
- Shorten Ethernet phy reset-deassert-us to 50 ms
- Fix pcie pinctrl
- Add keep-power-in-suspend to sdmmc2
- Collect a-b tag

[1] https://lore.kernel.org/all/[email protected]/

Jonas Karlman (2):
dt-bindings: arm: rockchip: Add Radxa ROCK 3B
arm64: dts: rockchip: Add Radxa ROCK 3B

 .../devicetree/bindings/arm/rockchip.yaml     |   5 +
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3568-rock-3b.dts      | 781 ++++++++++++++++++
 3 files changed, 787 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts
Signature · 1 line
2.45.2
#1 lore raw

PATCH v3 1/2 dt-bindings: arm: rockchip: Add Radxa ROCK 3B

Add devicetree binding documentation for the Radxa ROCK 3B board.

The Radxa ROCK 3B is a single-board computer based on the Pico-ITX form factor (100mm x 75mm). Two versions of the ROCK 3B exists, a community version based on the RK3568 SoC and an industrial version based on the RK3568J SoC.

---
v3: no change
v2: Collect a-b tag

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index d2e887415d5d..bbb2d7c217fc 100644
@@ -811,6 +811,11 @@ properties:
           - const: radxa,rock3a
           - const: rockchip,rk3568
 
+      - description: Radxa ROCK 3B
+        items:
+          - const: radxa,rock-3b
+          - const: rockchip,rk3568
+
       - description: Radxa ROCK 3C
         items:
           - const: radxa,rock-3c
Signature · 1 line
2.45.2
#2 lore raw

PATCH v3 2/2 arm64: dts: rockchip: Add Radxa ROCK 3B

In reply to Jonas Karlman

The Radxa ROCK 3B is a single-board computer based on the Pico-ITX form factor (100mm x 75mm). Two versions of the ROCK 3B exists, a community version based on the RK3568 SoC and an industrial version based on the RK3568J SoC.

Add initial support for eMMC, SD-card, Ethernet, HDMI, PCIe and USB.

---
v3:
- Rename led node and move led pinctrl
- Add cap-mmc-highspeed to sdhci node

v2:
- Use regulator-.* nodename for fixed regulators
- Drop rockchip,mic-in-differential prop
- Shorten Ethernet phy reset-deassert-us to 50 ms
- Fix pcie pinctrl
- Add keep-power-in-suspend to sdmmc2

Following issue is reported by dtbs_check and is fixed by series at [1]:

pmic@20: '#sound-dai-cells', 'assigned-clock-parents', 'assigned-clocks', 'clock-names', 'clocks'
do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/mfd/rockchip,rk809.yaml#

[1] https://lore.kernel.org/all/[email protected]/

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3568-rock-3b.dts      | 781 ++++++++++++++++++
 2 files changed, 782 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 90f5172f37e6..ae0ae02f51e9 100644
@@ -114,6 +114,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-qnap-ts433.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-radxa-e25.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-roc-pc.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-rock-3a.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-rock-3b.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-display-vz.dtbo
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-io-expander.dtbo
arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts new file +781 -0

781 lines not on this page · raw message

Signature · 1 line
2.45.2
maintainer Applied
#3 lore raw
In reply to Jonas Karlman
Quoted 8 lines · Jonas Karlman

This series adds initial support for the Radxa ROCK 3B board.

The Radxa ROCK 3B is a single-board computer based on the Pico-ITX form factor (100mm x 75mm). Two versions of the ROCK 3B exists, a community version based on the RK3568 SoC and an industrial version based on the RK3568J SoC.

[...]

Applied, thanks!

[1/2] dt-bindings: arm: rockchip: Add Radxa ROCK 3B

      commit: 056abbd100ce9ce6dae3e5e64ffee92b56439c0c
[2/2] arm64: dts: rockchip: Add Radxa ROCK 3B
      commit: 846ef7748fa9124c8eea76e2d5e833fa69b3ef7c

Best regards,

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