u-boot/arch
Siarhei Siamashka 52d093112a sunxi: clock: Set AHB1 clock frequency to 200MHz on Allwinner H3
The 3.4 kernel from the Allwinner SDK is clocking AHB1 at 200MHz
on Allwinner H3 and using PLL6 as the clock source (PLL6/3).
This can be verified by reading the value of the AHB1_APB1_CFG_REG
register via /dev/mem. It always reads as 0x3180 regardless of
the current cpufreq operating point. So this configuration should
be safe for use in U-Boot too.

PLL6 also needs to be configured before it is used as the clock
source, according to the "CCU / Programming Guidelines" section
of the Allwinner manual.

The current low AHB1 clock speed is limiting the USB transfer
speed when booting via FEL. This patch can increase the FEL USB
transfer speed from ~510 KB/s to ~950 KB/s.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2015-11-22 11:31:00 +01:00
..
arc board: axs10x switch serial port and Ethernet to driver model 2015-11-18 00:39:22 +03:00
arm sunxi: clock: Set AHB1 clock frequency to 200MHz on Allwinner H3 2015-11-22 11:31:00 +01:00
avr32 avr32: Use the generic bitops headers 2015-11-05 10:52:31 -05:00
blackfin Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
m68k Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
microblaze microblaze: Fix C99/gnu99 compatiblity for inline functions 2015-11-19 13:09:41 +01:00
mips Merge branch 'master' of git://git.denx.de/u-boot-mips 2015-11-06 09:17:17 -05:00
nds32 nds32: Use the generic bitops headers 2015-11-05 10:52:21 -05:00
nios2 nios2: zap ioremap 2015-11-18 21:18:30 +08:00
openrisc openrisc: updating build tools naming convention 2015-11-12 18:13:20 -05:00
powerpc Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
sandbox dm: test: usb: sandbox: Add keyboard tests for sandbox 2015-11-19 20:27:52 -07:00
sh Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
sparc Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
x86 x86: qemu: Convert to use driver model keyboard 2015-11-19 20:13:42 -07:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig arm, powerpc: select SYS_GENERIC_BOARD 2015-10-24 13:50:38 -04:00