Skip to contentSkip to conversation

arm64: dts: rockchip: Add Radxa ROCK 5B+

PATCH Superseded FUKAUMI Naoki 3 participants 5 messages Dec 26, 2024 – Dec 29, 2024

Subsystems (2)

v2 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

v2 cover arm64: dts: rockchip: Add Radxa ROCK 5B+

The Radxa ROCK 5B+ is an upgraded version of the Radxa ROCK 5B.

This patch series introduces a shared .dtsi that can be used on the new Radxa ROCK 5B+, the existing Radxa ROCK 5B, and the upcoming Radxa ROCK 5T.

FUKAUMI Naoki (2):
dt-bindings: arm: rockchip: Add Radxa ROCK 5B+
arm64: dts: rockchip: Add Radxa ROCK 5B+

 .../devicetree/bindings/arm/rockchip.yaml     |    5 +
 arch/arm64/boot/dts/rockchip/Makefile         |    1 +
 .../boot/dts/rockchip/rk3588-rock-5.dtsi      | 1042 +++++++++++++++++
 .../boot/dts/rockchip/rk3588-rock-5b-plus.dts |   87 ++
 4 files changed, 1135 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-rock-5.dtsi
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dts
Signature · 7 lines
2.43.0


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

PATCH v2 1/2 dt-bindings: arm: rockchip: Add Radxa ROCK 5B+

Add devicetree binding for the Radxa ROCK 5B+.

The Radxa ROCK 5B+ is an upgraded version of the ROCK 5B based on the Rockchip RK3588 SoC.

---
Changes in v2:
- None

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index 753199a12923..df959dbfa9eb 100644
@@ -895,6 +895,11 @@ properties:
           - const: radxa,rock-5b
           - const: rockchip,rk3588
 
+      - description: Radxa ROCK 5B+
+        items:
+          - const: radxa,rock-5b-plus
+          - const: rockchip,rk3588
+
       - description: Radxa ROCK 5C
         items:
           - const: radxa,rock-5c
Signature · 7 lines
2.43.0


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

PATCH v2 2/2 arm64: dts: rockchip: Add Radxa ROCK 5B+

In reply to FUKAUMI Naoki

The Radxa ROCK 5B+[1] is an upgraded version of the ROCK 5B based on the Rockchip RK3588 SoC.

- Quad Cortex-A76 and quad Cortex-A55 CPU
- 6TOPS NPU
- up to 32GB LPDDR5 RAM
- up to 256GB on-board optional eMMC
- microSD card slot
- 2x USB 3.0 Type-A HOST ports
- 2x USB 2.0 Type-A HOST ports
- USB Type-C OTG port
- USB Type-C PD power port
- WiFi6 / BT5.4
- 2.5 GbE port (supports PoE with additional PoE HAT)
- 2x M.2 M Key connectors with PCIe 3.0 2-lane support
- M.2 B Key connector with 4G module support
- SIM card slot

[1] https://radxa.com/products/rock5/5bp

---
Changes in v2:
- Change fan { cooling-levels } to match with ROCK 5B
- Move usbc0 { status } into rk3588-rock-5.dtsi
- Add "adc-keys"

---
 arch/arm64/boot/dts/rockchip/Makefile         |    1 +
 .../boot/dts/rockchip/rk3588-rock-5.dtsi      | 1042 +++++++++++++++++
 .../boot/dts/rockchip/rk3588-rock-5b-plus.dts |   87 ++
 3 files changed, 1130 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-rock-5.dtsi
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index cac3f39af82a..2b09c8f71cfd 100644
@@ -176,6 +176,7 @@ 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
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b-plus.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-tiger-haikou.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-toybrick-x0.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-turing-rk1.dtb
arch/arm64/boot/dts/rockchip/rk3588-rock-5.dtsi new file +1042 -0

1,042 lines not on this page · raw message

arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dts new file +87 -0

87 lines not on this page · raw message

Signature · 7 lines
2.43.0


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
#4 lore raw
In reply to FUKAUMI Naoki
Quoted 18 lines · FUKAUMI Naoki

The Radxa ROCK 5B+ is an upgraded version of the Radxa ROCK 5B.

This patch series introduces a shared .dtsi that can be used on the new Radxa ROCK 5B+, the existing Radxa ROCK 5B, and the upcoming Radxa ROCK 5T.

FUKAUMI Naoki (2):
dt-bindings: arm: rockchip: Add Radxa ROCK 5B+
arm64: dts: rockchip: Add Radxa ROCK 5B+

 .../devicetree/bindings/arm/rockchip.yaml     |    5 +
 arch/arm64/boot/dts/rockchip/Makefile         |    1 +
 .../boot/dts/rockchip/rk3588-rock-5.dtsi      | 1042 +++++++++++++++++
 .../boot/dts/rockchip/rk3588-rock-5b-plus.dts |   87 ++
 4 files changed, 1135 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-rock-5.dtsi
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dts
Quoted 5 lines

--
2.43.0

My bot found new DTB warnings on the .dts files added or changed in this series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:

  pip3 install dtschema --upgrade

New warnings running 'make CHECK_DTBS=y rockchip/rk3588-rock-5b-plus.dtb' for [email protected]:

arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dtb: phy@fee80000: 'phy-supply' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/phy/rockchip,pcie3-phy.yaml#
arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dtb: keys-0: 'key-0' does not match any of the regexes: '^button-', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/input/adc-keys.yaml#
arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dtb: keys-1: 'key-1' does not match any of the regexes: '^button-', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/input/adc-keys.yaml#