Again the RK3568 support with some updates Changes since v1: - move clk_name_* prototypes to correct location - register softrst handlers - rk3568 EVB: Fix 2nd stage booting, need to relocate to current addr then - Make OP-TEE firmware optional Sascha Hauer (12): 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 fixup! clk: Rockchip: Add rk3568 clk support 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 | 49 + 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 | 24 + arch/arm/mach-rockchip/Makefile | 5 +- arch/arm/mach-rockchip/atf.c | 62 + 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 | 34 + firmware/Makefile | 3 +- 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, 6137 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 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox