• Siarhei Siamashka's avatar
    sunxi: clock: Set AHB1 clock frequency to 200MHz on Allwinner H3 · 52d09311
    Siarhei Siamashka authored
    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: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
    Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
    Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
    52d09311
Name
Last commit
Last update
..
clock.h Loading commit data...
clock_sun4i.h Loading commit data...
clock_sun6i.h Loading commit data...
clock_sun9i.h Loading commit data...
cpu.h Loading commit data...
cpu_sun4i.h Loading commit data...
cpu_sun9i.h Loading commit data...
cpucfg_sun6i.h Loading commit data...
display.h Loading commit data...
dma.h Loading commit data...
dma_sun4i.h Loading commit data...
dram.h Loading commit data...
dram_sun4i.h Loading commit data...
dram_sun6i.h Loading commit data...
dram_sun8i_a23.h Loading commit data...
dram_sun8i_a33.h Loading commit data...
dram_sun8i_h3.h Loading commit data...
gpio.h Loading commit data...
i2c.h Loading commit data...
mmc.h Loading commit data...
p2wi.h Loading commit data...
pmic_bus.h Loading commit data...
prcm.h Loading commit data...
rsb.h Loading commit data...
spl.h Loading commit data...
sys_proto.h Loading commit data...
timer.h Loading commit data...
tzpc.h Loading commit data...
usb_phy.h Loading commit data...
watchdog.h Loading commit data...