[U-Boot] [PATCH v2 00/13] Allwinner H6 support (w/ SPL)

Icenowy Zheng icenowy at aosc.io
Sat Jul 21 08:20:19 UTC 2018


This patchset trys to add support for Allwinner H6 SoC to U-Boot.

Allwinner H6 is a quite new Allwinner SoC, with several parts changed a
lot (memory map, DRAM controller, CCU, so on). The position which SPL
will be loaded (SRAM A1) also changed to 0x20000.

The Pine H64 board support comes with this patchset, as this is the
first H6 board that I can get (being early bird).

Icenowy Zheng (13):
  sunxi: change SUNXI_HIGH_SRAM option to SUNXI_SRAM_ADDRESS
  sunxi: add basic memory map definitions of H6 SoC
  sunxi: change RMR64's RVBAR address for H6
  sunxi: change ATF position for H6
  sunxi: add config for SPL at 0x20000 on H6
  sunxi: change GIC address on H6
  sunxi: add clock code for H6
  sunxi: use sun6i-style watchdog for H6
  sunxi: add UART0 setup for H6
  sunxi: add MMC support for H6
  sunxi: add DRAM support to H6
  sunxi: add support for Allwinner H6 SoC
  sunxi: add support for Pine H64 board

 arch/arm/dts/Makefile                         |   2 +
 arch/arm/dts/sun50i-h6-pine-h64.dts           | 185 +++++
 arch/arm/dts/sun50i-h6.dtsi                   | 288 +++++++
 arch/arm/include/asm/arch-sunxi/boot0.h       |   4 +
 arch/arm/include/asm/arch-sunxi/clock.h       |   2 +
 .../include/asm/arch-sunxi/clock_sun50i_h6.h  | 320 ++++++++
 arch/arm/include/asm/arch-sunxi/cpu.h         |   2 +
 .../include/asm/arch-sunxi/cpu_sun50i_h6.h    |  73 ++
 arch/arm/include/asm/arch-sunxi/dram.h        |   2 +
 .../include/asm/arch-sunxi/dram_sun50i_h6.h   | 297 +++++++
 arch/arm/include/asm/arch-sunxi/gpio.h        |   1 +
 arch/arm/include/asm/arch-sunxi/mmc.h         |   2 +-
 arch/arm/include/asm/arch-sunxi/spl.h         |   6 +-
 arch/arm/include/asm/arch-sunxi/timer.h       |   2 +-
 arch/arm/mach-sunxi/Kconfig                   |  37 +-
 arch/arm/mach-sunxi/Makefile                  |   2 +
 arch/arm/mach-sunxi/board.c                   |   6 +-
 arch/arm/mach-sunxi/clock_sun50i_h6.c         |  94 +++
 arch/arm/mach-sunxi/cpu_info.c                |   2 +
 arch/arm/mach-sunxi/dram_sun50i_h6.c          | 754 ++++++++++++++++++
 arch/arm/mach-sunxi/rmr_switch.S              |   6 +
 board/sunxi/MAINTAINERS                       |   5 +
 board/sunxi/board.c                           |   7 +
 board/sunxi/mksunxi_fit_atf.sh                |  10 +-
 common/spl/Kconfig                            |   2 +-
 configs/pine_h64_defconfig                    |  15 +
 drivers/mmc/sunxi_mmc.c                       |  13 +-
 include/configs/sun50i.h                      |   5 +
 include/configs/sunxi-common.h                |  24 +-
 include/dt-bindings/clock/sun50i-h6-ccu.h     | 125 +++
 include/dt-bindings/clock/sun50i-h6-r-ccu.h   |  24 +
 include/dt-bindings/reset/sun50i-h6-ccu.h     |  73 ++
 include/dt-bindings/reset/sun50i-h6-r-ccu.h   |  17 +
 33 files changed, 2377 insertions(+), 30 deletions(-)
 create mode 100644 arch/arm/dts/sun50i-h6-pine-h64.dts
 create mode 100644 arch/arm/dts/sun50i-h6.dtsi
 create mode 100644 arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h
 create mode 100644 arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h
 create mode 100644 arch/arm/include/asm/arch-sunxi/dram_sun50i_h6.h
 create mode 100644 arch/arm/mach-sunxi/clock_sun50i_h6.c
 create mode 100644 arch/arm/mach-sunxi/dram_sun50i_h6.c
 create mode 100644 configs/pine_h64_defconfig
 create mode 100644 include/dt-bindings/clock/sun50i-h6-ccu.h
 create mode 100644 include/dt-bindings/clock/sun50i-h6-r-ccu.h
 create mode 100644 include/dt-bindings/reset/sun50i-h6-ccu.h
 create mode 100644 include/dt-bindings/reset/sun50i-h6-r-ccu.h

-- 
2.17.1



More information about the U-Boot mailing list