Skip to content

rockchip: rk3328: sync dts and add ROC-RK3328-CC board

Chen-Yu Tsai u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6rockchip: dts: rk3328-evb: Move vcc5v0-host-xhci-drv to -u-boot.dtsiarch/arm/dts/rk3328-evb-u-boot.dtsi arch/arm/dts/rk3328-evb.dts+11 -91 reply
2/6rockchip: dts: rk3328-evb: Move gmac2io related nodes to -u-boot.dtsiarch/arm/dts/rk3328-evb-u-boot.dtsi arch/arm/dts/rk3328-evb.dts+23 -231 reply
3/6dt-bindings: clock: rk3328: sync from upstream Linux kernelinclude/dt-bindings/clock/rk3328-cru.h+106 -1061 reply
4/6dt-bindings: power: rk3328-power: sync from upstream Linux kernelinclude/dt-bindings/power/rk3328-power.h+19 -01 reply
5/6rockchip: dts: rk3328: Sync device tree files from Linuxarch/arm/dts/rk3328-evb-u-boot.dtsi arch/arm/dts/rk3328-evb.dts arch/arm/dts/rk3328-rock64.dts +1 more+1164 -5891 reply
6/6rockchip: rk3328: Add support for ROC-RK3328-CC boardarch/arm/dts/Makefile arch/arm/dts/rk3328-roc-cc-u-boot.dtsi arch/arm/dts/rk3328-roc-cc.dts +7 more+550 -12 replies
6/6rockchip: rk3328: Add support for ROC-RK3328-CC board+0 -01 reply
6/6rockchip: rk3328: Add support for ROC-RK3328-CC board+0 -01 reply
6/6rockchip: rk3328: Add support for ROC-RK3328-CC board+0 -01 reply

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchKever Yang
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b
6/6R-b
6/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] rockchip: rk3328: sync dts and add ROC-RK3328-CC board

From: Chen-Yu Tsai <[email protected]>

Hi everyone,

This series adds proper support for Firefly / Libre Computer ROC-RK3328-CC single board computer.

The ROC-RK3328-CC from Firefly and Libre Computer Project is a credit card size development board based on the Rockchip RK3328 SoC, with:

- 1/2/4 GB DDR4 DRAM
- eMMC connector for optional module
- micro SD card slot
- 1 x USB 3.0 host port
- 2 x USB 2.0 host port
- 1 x USB 2.0 OTG port
- HDMI video output
- TRRS connector with audio and composite video output
- gigabit Ethernet
- consumer IR receiver
- debug UART pins

Originally I started with Loic's patches, and syncing the device tree files from Linux. That didn't get very far, with SPL failing to detect the SD card. Examining the schematics and internal state of GRF and GPIOs, I realized that the logic for the SD card power enable switch is opposite that of what the SD card controller's SDMMC0_PWREN pin would use. Instead, directly using the GPIO is required.

Thus this series creates a special target for this board to handle muxing this specific pin to GPIO state. The GPIO is left in input mode, letting the external pull-down work its magic.

Along the way, there are some clean-ups of existing dts files, moving U-boot only features to -u-boot.dtsi files, and then a wholesale sync from Linux. Only boards already existing in U-boot are synced. DT binding header files are synced separately as there is already one patch floating around. The DT sync also includes clean-up changes only recently posted, and likely won't make it in for at least a few weeks.

Please have a look, and test if possible. I cc-ed a couple people that showed interest in this board on mailing lists recently.

Regards
ChenYu

Chen-Yu Tsai (6):
rockchip: dts: rk3328-evb: Move vcc5v0-host-xhci-drv to -u-boot.dtsi
rockchip: dts: rk3328-evb: Move gmac2io related nodes to -u-boot.dtsi
dt-bindings: clock: rk3328: sync from upstream Linux kernel
dt-bindings: power: rk3328-power: sync from upstream Linux kernel
rockchip: dts: rk3328: Sync device tree files from Linux
rockchip: rk3328: Add support for ROC-RK3328-CC board

 arch/arm/dts/Makefile                         |    1 +
 arch/arm/dts/rk3328-evb-u-boot.dtsi           |   39 +
 arch/arm/dts/rk3328-evb.dts                   |  220 +--
 arch/arm/dts/rk3328-roc-cc-u-boot.dtsi        |   17 +
 .../{rk3328-rock64.dts => rk3328-roc-cc.dts}  |  135 +-
 arch/arm/dts/rk3328-rock64.dts                |  132 +-
 arch/arm/dts/rk3328.dtsi                      | 1420 +++++++++++------
 arch/arm/mach-rockchip/rk3328/Kconfig         |    8 +
 board/firefly/roc-cc-rk3328/Kconfig           |   24 +
 board/firefly/roc-cc-rk3328/MAINTAINERS       |    7 +
 board/firefly/roc-cc-rk3328/Makefile          |    1 +
 board/firefly/roc-cc-rk3328/board.c           |   38 +
 configs/roc-cc-rk3328_defconfig               |   97 ++
 doc/README.rockchip                           |    4 +-
 include/dt-bindings/clock/rk3328-cru.h        |  212 +--
 include/dt-bindings/power/rk3328-power.h      |   19 +
 16 files changed, 1622 insertions(+), 752 deletions(-)
 create mode 100644 arch/arm/dts/rk3328-roc-cc-u-boot.dtsi
 copy arch/arm/dts/{rk3328-rock64.dts => rk3328-roc-cc.dts} (68%)
 create mode 100644 board/firefly/roc-cc-rk3328/Kconfig
 create mode 100644 board/firefly/roc-cc-rk3328/MAINTAINERS
 create mode 100644 board/firefly/roc-cc-rk3328/Makefile
 create mode 100644 board/firefly/roc-cc-rk3328/board.c
 create mode 100644 configs/roc-cc-rk3328_defconfig
 create mode 100644 include/dt-bindings/power/rk3328-power.h
Signature · 1 line
2.25.1