
This patchset add support for rk3399 with ATF based on Rockchip miniloader as secondary bootloader instead of U-Boot SPL.
Rockchip miniloader init the DRAM and load the ATF and U-Boot to runing address, and then jump to ATF, the ATF do some init and switch to EL2/EL1 mode before jump to next loader which is U-Boot here.
Pls reference board/rockchip/evb_rk3399/README to setup the board.
Will migrate to SPL once its ready for ATF.
This patch set is based on below patch: "board: move all the rockchip board in one folder"
This patch set has been test on rk3399 evb board.
In this version, I split the mmc driver in seperate thread, because when I enable the full-model for mmc driver, Seems bug happen in blk layer, will descript detail in mmc patch.
Changes in v4: remove extra blank line in evb_rk3399.h, remove unnecessary including file in rk3399_common.h, fix base on commend from Andreas, Rebase on U-Boot ToT. move config CONFIG_SYS_NS16550 from chip common to defconfig
Changes in v3: Rebase on patch from Andreas: [PATCH] rockchip: Exclude rk_timer for ARM64 [PATCH] rockchip: Clean up CPU selection
Changes in v2: fix description error on board Kconfig fix a binary path error
Kever Yang (4): dts: add support for Rockchip rk3399 soc ARM64: rockchip: add support for rk3399 SoC based evb config: add config file for evb-rk3399 ARM64: evb-rk3399: add a README for this board setup
arch/arm/Kconfig | 2 - arch/arm/dts/Makefile | 3 +- arch/arm/dts/rk3399-evb.dts | 104 ++++ arch/arm/dts/rk3399.dtsi | 1028 ++++++++++++++++++++++++++++++++ arch/arm/mach-rockchip/Kconfig | 18 + arch/arm/mach-rockchip/rk3399/Kconfig | 18 + board/rockchip/evb_rk3399/Kconfig | 15 + board/rockchip/evb_rk3399/MAINTAINERS | 0 board/rockchip/evb_rk3399/Makefile | 7 + board/rockchip/evb_rk3399/README | 73 +++ board/rockchip/evb_rk3399/evb-rk3399.c | 40 ++ configs/evb-rk3399_defconfig | 33 + include/configs/evb_rk3399.h | 24 + include/configs/rk3399_common.h | 71 +++ include/dt-bindings/clock/rk3399-cru.h | 746 +++++++++++++++++++++++ 15 files changed, 2179 insertions(+), 3 deletions(-) create mode 100644 arch/arm/dts/rk3399-evb.dts create mode 100644 arch/arm/dts/rk3399.dtsi create mode 100644 arch/arm/mach-rockchip/rk3399/Kconfig create mode 100644 board/rockchip/evb_rk3399/Kconfig create mode 100644 board/rockchip/evb_rk3399/MAINTAINERS create mode 100644 board/rockchip/evb_rk3399/Makefile create mode 100644 board/rockchip/evb_rk3399/README create mode 100644 board/rockchip/evb_rk3399/evb-rk3399.c create mode 100644 configs/evb-rk3399_defconfig create mode 100644 include/configs/evb_rk3399.h create mode 100644 include/configs/rk3399_common.h create mode 100644 include/dt-bindings/clock/rk3399-cru.h