Hi everyone,

This series adds basic support for A23 based devices. Most of the code
is shared with sun6i. DRAM initialization and RSB (reduced serial bus)
for the AXP223 found on these devices are still missing, so no SPL.

The first patch fixes the default PLL6 clock rate for sun6i.
Hans, this might make MMC on sun6i work.

The second and third patches cleanup some of the sun6i clock code.

The fourth patch adds a function parameter to prcm apb0 enabling code,
so we can reuse it for R_UART.

The fifth patch actually adds A23 support, which will work over FEL mode,
using a micro-SD breakout for the console.

The six patch adds support for the R_UART, which is the unused UART found
on Ippo-q8h, as the console.

The last patch adds build settings for Ippo-q8h.

The series can also be found here:

  https://github.com/wens/u-boot-sunxi/tree/sunxi-a23


I have tested this over FEL mode. To do so, you must get boot0 for FEL
mode from the A23 SDK, and update the blob with the correct DRAM settings
using Allwinner's tools. MMC works when I insert a card in.

In theory boot0 for MMC should work, though I have been unable to get any
response out of my device.

I have not tried booting anything, as there is nothing to boot at the moment.


Cheers
ChenYu


Chen-Yu Tsai (7):
  ARM: sunxi: Fix sun6i PLL6 default to 600MHz
  ARM: sunxi: Fix macro names for mmc and uart reset offsets
  ARM: sunxi: Correct comment for MBUS1 register in sun6i clock
    definitions
  ARM: sunxi: Allow specifying module in prcm apb0 init function
  ARM: sunxi: Add basic A23 support
  ARM: sunxi: Add support for using R_UART as console
  ARM: sunxi: Add A23 based tablet Ippo-q8h

 arch/arm/cpu/armv7/sunxi/Makefile             |  2 ++
 arch/arm/cpu/armv7/sunxi/board.c              |  6 +++++-
 arch/arm/cpu/armv7/sunxi/clock_sun6i.c        |  9 +++++++--
 arch/arm/cpu/armv7/sunxi/cpu_info.c           |  2 ++
 arch/arm/cpu/armv7/sunxi/early_print.c        |  6 ++++++
 arch/arm/cpu/armv7/sunxi/p2wi.c               |  2 +-
 arch/arm/cpu/armv7/sunxi/prcm.c               | 14 ++++++--------
 arch/arm/include/asm/arch-sunxi/clock.h       |  2 +-
 arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 21 +++++++++++---------
 arch/arm/include/asm/arch-sunxi/cpu.h         |  1 +
 arch/arm/include/asm/arch-sunxi/gpio.h        |  9 +++++++++
 arch/arm/include/asm/arch-sunxi/prcm.h        |  2 +-
 board/sunxi/board.c                           |  6 +++---
 boards.cfg                                    |  1 +
 drivers/mmc/sunxi_mmc.c                       | 13 +++++--------
 include/configs/sun8i.h                       | 28 +++++++++++++++++++++++++++
 include/configs/sunxi-common.h                |  1 +
 17 files changed, 91 insertions(+), 34 deletions(-)
 create mode 100644 include/configs/sun8i.h

-- 
2.0.0.rc0

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to