Skip to contentSkip to conversation

dt-bindings: arm: rockchip: add Radxa E52C

RFC In review FUKAUMI Naoki 3 participants 4 messages Aug 8, 2024

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

RFC v2 1/2 dt-bindings: arm: rockchip: add Radxa E52C

Add devicetree binding for the Radxa E52C.

Radxa E52C is a compact network computer using the Rockchip RK3582 chip.

---
Changes in v2:
- none

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +6 -0
index 2ad835f4068e..ba6d03b37bef 100644
@@ -759,6 +759,12 @@ properties:
           - const: radxa,cm3i
           - const: rockchip,rk3568
 
+      - description: Radxa E52C
+        items:
+          - enum:
+              - radxa,e52c
+          - const: rockchip,rk3588s
+
       - description: Radxa Rock
         items:
           - const: radxa,rock
Signature · 7 lines
2.43.0


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

RFC v2 2/2 arm64: dts: rockchip: add Radxa E52C

Radxa E52C is a compact network computer using the Rockchip RK3582 chip:

- Rockchip RK3582 SoC
- Dual A76 and Quad A55 CPU
- 5TOPS NPU
- 2GB/4GB/8GB LPDDR4x RAM
- 16GB/32GB/64GB eMMC
- Micro SD Card slot
- 2x 2.5GbE port
- 1x USB 3.0 Type-A HOST port
- 1x USB Type-C debug console port
- 1x USB Type-C 5V/3A power port

---
Changes in v2:
- enable LED trigger for led-0
- change LED function for led-1 from POWER to HEARTBEAT

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3588s-radxa-e52c.dts  | 680 ++++++++++++++++++
 2 files changed, 681 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-radxa-e52c.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 4861987457a4..ff64756c432a 100644
@@ -144,5 +144,6 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-indiedroid-nova.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-khadas-edge2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6s.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6c.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-radxa-e52c.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5.dtb
arch/arm64/boot/dts/rockchip/rk3588s-radxa-e52c.dts new file +680 -0

680 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
#3 lore raw

Hello Krzysztof,

(I'm adding Jonas to the Cc list.)

Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · FUKAUMI Naoki

Add devicetree binding for the Radxa E52C.

Radxa E52C is a compact network computer using the Rockchip RK3582 chip.

Quoted 6 lines
Quoted 4 lines

---
Changes in v2:
- none

Why this is not ready for review? Why this is RFC?

AFAIK, there's still no official downstream kernel code from Rockchip that we can use to add support for the new Rockchip RK3582 (and RK3583) SoC variants. These new variants seem to be like the RK3588(s), but with some IP cores (i.e. CPU and GPU cores) disabled in software, due to them being marked as defunct in efuses, as part of the manufacturing and testing processes. Using the efuses, defunct IP cores get disabled in U-Boot by patching the DT.

Thus, we still need to figure out precisely how to do that in U-Boot first, before we can move on to adding the new bindings for the new SoC variants. Jonas is already working on the U-Boot patches.