Skip to contentSkip to conversation

ROCK 5 ITX devicetree

PATCH Applied Heiko Stuebner 1 participant 4 messages Jul 4, 2024 – Jul 8, 2024

Subsystems (2)
lore
Share & tools
lore

Heiko Stuebner

author maintainer
#0 lore raw

v3 cover ROCK 5 ITX devicetree

Add a basic support for the Rock 5 ITX board.

After struggling a bit with the pcie3 ports, thankfully they seem to run pretty nice now thanks to me finding the property for the shared-rx-clk for the pcie3 phy.

changes in v3:
- better sorting (Diederik)
- fix usb supply (vcc5v0_usb is not a supply of the usb3 hub) (Alex)
- drop type-c sink elements, type-c cannot power the board (sigmaris)
- add links to schematics (Dragan)

changes in v2:
- update naming to include a space/dash between 5 and ITX. As Dragan wrote "the name of this board deviates from the standard Radxa naming scheme, which is something like "ROCK <number><letter>" thus, "rock-5a" is fine, but it should be "rock-5-itx", simply because there's a space between "5" and "ITX" in "ROCK 5 ITX"
- spelling fixes (Dragan)
- removed status from adc-keys (Krzysztof)
- added Krzysztof's binding Ack, after asking on IRC about the added "-"
- updated copyright statement to something correct

Heiko Stuebner (2):
dt-bindings: arm: rockchip: Add ROCK 5 ITX board
arm64: dts: rockchip: add ROCK 5 ITX board

 .../devicetree/bindings/arm/rockchip.yaml     |    5 +
 arch/arm64/boot/dts/rockchip/Makefile         |    1 +
 .../boot/dts/rockchip/rk3588-rock-5-itx.dts   | 1178 +++++++++++++++++
 3 files changed, 1184 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
Signature · 1 line
2.39.2
author maintainer
#1 lore raw

PATCH v3 1/2 dt-bindings: arm: rockchip: Add ROCK 5 ITX board

Add devicetree binding for the ROCK 5 ITX board, built around the rk3588.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index d2e887415d5dc..bd5c1ae2487ce 100644
@@ -816,6 +816,11 @@ properties:
           - const: radxa,rock-3c
           - const: rockchip,rk3566
 
+      - description: Radxa ROCK 5 ITX
+        items:
+          - const: radxa,rock-5-itx
+          - const: rockchip,rk3588
+
       - description: Radxa ROCK 5A
         items:
           - const: radxa,rock-5a
Signature · 1 line
2.39.2
author maintainer
#2 lore raw

PATCH v3 2/2 arm64: dts: rockchip: add ROCK 5 ITX board

In reply to Heiko Stuebner

The ROCK 5 ITX as the name suggests is made in the ITX form factor and actually built in a form to be used in a regular case even providing connectors for regular front-panel io.

It can be powered either by 12V, ATX power-supply or PoE.

Notable peripherals are the 4 SATA ports, M.2 M-Key slot, M.2 E-key slot, 2*2.5Gb PCIe-connected Ethernet NICs.

As of yet unsupported display options consist of 2*HDMI, DP via USB-c, eDP + 2*DSI via PCB connectors.

USB ports are 4*USB3 + 2*USB2 on the back panel and 2-port front-panel connector.

Schematics for the board can be found on
- https://dl.radxa.com/rock5/5itx/radxa_rock_5_itx_X1100_schematic.pdf
- https://dl.radxa.com/rock5/5itx/v1110/radxa_rock_5itx_v1110_schematic.pdf

---
 arch/arm64/boot/dts/rockchip/Makefile         |    1 +
 .../boot/dts/rockchip/rk3588-rock-5-itx.dts   | 1178 +++++++++++++++++
 2 files changed, 1179 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index e8eba631da23e..41ee495a91f6b 100644
@@ -129,6 +129,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-nanopc-t6.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-ok3588-c.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-orangepi-5-plus.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-quartzpro64.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5-itx.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b-pcie-ep.dtbo
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b-pcie-srns.dtbo
arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts new file +1178 -0

1,178 lines not on this page · raw message

Signature · 1 line
2.39.2
author maintainer Applied
#3 lore raw
In reply to Heiko Stuebner
Quoted 6 lines · Heiko Stuebner

Add a basic support for the Rock 5 ITX board.

After struggling a bit with the pcie3 ports, thankfully they seem to run pretty nice now thanks to me finding the property for the shared-rx-clk for the pcie3 phy.

Quoted 7 lines

changes in v3:
- better sorting (Diederik)
- fix usb supply (vcc5v0_usb is not a supply of the usb3 hub) (Alex)
- drop type-c sink elements, type-c cannot power the board (sigmaris)
- add links to schematics (Dragan)

[...]

Applied, thanks!

[1/2] dt-bindings: arm: rockchip: Add ROCK 5 ITX board

      commit: 8687469a51af609ad4180c3ac2624b836fd55ff8
[2/2] arm64: dts: rockchip: add ROCK 5 ITX board
      commit: 31390eb8ffbf2b6be7d789708ec08b635d7a3eb8

Dropped the disable-wp from the sdio node as suggested by Johan.

Best regards,

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