[PATCH 00/11] Rockchip RK3568 support

Sascha Hauer s.hauer at pengutronix.de
Tue Jun 15 07:16:30 PDT 2021


After I have posted the drivers for the Rockchip RK3568 separately here
comes the SoC support and support for the RK3568 EVB board. With this
series the RK3568 EVB board is supported including network support, SD
and eMMC, so everything needed to start up with that hardware. The board
also needs some binary files which I just found publically available
in the rkbin repository at https://github.com/rockchip-linux/rkbin.
Unfortunately the BL32 firmware doesn't come up here with these files,
this needs further investigation. This shouldn't prevent us from merging
the board and SoC support though, so here it is.

Sascha

Sascha Hauer (11):
  clk: Add clk_name_* functions
  clk: rockchip rk3568: Initialize clocks
  filetype: Add Rockchip boot image type
  ARM: Rockchip: Add rkimage tool
  ARM: Add relocate_to_adr_full()
  ARM: Rockchip: Add rk3568 dtsi files
  ARM: Rockchip: Add rk3568 support
  ARM: Add atf common support
  ARM: rockchip: Add bootm handler for RKNS images
  ARM: Rockchip: Add rk3568 evb board support
  Add rockchip_v8_defconfig

 Documentation/boards/rockchip.rst             |   39 +
 arch/arm/Kconfig                              |    6 +-
 arch/arm/boards/Makefile                      |    1 +
 arch/arm/boards/rockchip-rk3568-evb/Makefile  |    2 +
 arch/arm/boards/rockchip-rk3568-evb/board.c   |   36 +
 .../arm/boards/rockchip-rk3568-evb/lowlevel.c |   47 +
 arch/arm/configs/rockchip_v8_defconfig        |  120 +
 arch/arm/cpu/Makefile                         |    1 +
 arch/arm/cpu/atf.c                            |   80 +
 arch/arm/cpu/setupc_64.S                      |   13 +-
 arch/arm/dts/Makefile                         |    1 +
 arch/arm/dts/rk3568-evb1-v10.dts              |  487 +++
 arch/arm/dts/rk3568-pinctrl.dtsi              | 3111 +++++++++++++++++
 arch/arm/dts/rk3568.dtsi                      |  885 +++++
 arch/arm/dts/rockchip-pinconf.dtsi            |  344 ++
 arch/arm/include/asm/atf_common.h             |  163 +
 arch/arm/include/asm/barebox-arm.h            |    1 +
 arch/arm/mach-rockchip/Kconfig                |   18 +
 arch/arm/mach-rockchip/Makefile               |    5 +-
 arch/arm/mach-rockchip/atf.c                  |   57 +
 arch/arm/mach-rockchip/bootm.c                |  116 +
 arch/arm/mach-rockchip/include/mach/atf.h     |   18 +
 arch/arm/mach-rockchip/include/mach/bbu.h     |   14 +
 .../arm/mach-rockchip/include/mach/debug_ll.h |    8 +
 .../mach-rockchip/include/mach/rk3568-regs.h  |   18 +
 .../arm/mach-rockchip/include/mach/rockchip.h |   11 +
 arch/arm/mach-rockchip/rk3568.c               |  176 +
 arch/arm/mach-rockchip/rockchip.c             |    2 +
 commands/clk.c                                |   18 +-
 common/Kconfig                                |   10 +-
 common/filetype.c                             |    3 +
 drivers/clk/clk.c                             |   22 +
 drivers/clk/rockchip/clk-rk3568.c             |   28 +
 firmware/Makefile                             |    2 +-
 images/Makefile.rockchip                      |   10 +
 include/bootsource.h                          |    1 +
 include/filetype.h                            |    1 +
 include/linux/clk.h                           |    4 +
 scripts/Makefile                              |    3 +
 scripts/rkimage.c                             |  260 ++
 40 files changed, 6117 insertions(+), 25 deletions(-)
 create mode 100644 arch/arm/boards/rockchip-rk3568-evb/Makefile
 create mode 100644 arch/arm/boards/rockchip-rk3568-evb/board.c
 create mode 100644 arch/arm/boards/rockchip-rk3568-evb/lowlevel.c
 create mode 100644 arch/arm/configs/rockchip_v8_defconfig
 create mode 100644 arch/arm/cpu/atf.c
 create mode 100644 arch/arm/dts/rk3568-evb1-v10.dts
 create mode 100644 arch/arm/dts/rk3568-pinctrl.dtsi
 create mode 100644 arch/arm/dts/rk3568.dtsi
 create mode 100644 arch/arm/dts/rockchip-pinconf.dtsi
 create mode 100644 arch/arm/include/asm/atf_common.h
 create mode 100644 arch/arm/mach-rockchip/atf.c
 create mode 100644 arch/arm/mach-rockchip/bootm.c
 create mode 100644 arch/arm/mach-rockchip/include/mach/atf.h
 create mode 100644 arch/arm/mach-rockchip/include/mach/bbu.h
 create mode 100644 arch/arm/mach-rockchip/include/mach/rk3568-regs.h
 create mode 100644 arch/arm/mach-rockchip/rk3568.c
 create mode 100644 scripts/rkimage.c

-- 
2.29.2




More information about the barebox mailing list