]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
sunxi: set the default CPUx frequency of H5 to 816MHz
authorIcenowy Zheng <icenowy@aosc.io>
Mon, 30 Oct 2017 23:36:28 +0000 (07:36 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Sat, 2 Dec 2017 16:25:25 +0000 (21:55 +0530)
Some H5 boards are designed to start at 1.1V CPUx voltage (e.g. Nano Pi
NEO2), which may not work properly at 1008MHz if the chip's quality is
not so good.

Lower the default CPUx frequency of H5 to 816MHz.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/mach-sunxi/Kconfig

index 09cfec6f573375da975269e33bfae1afdd8f128c..1fededd0a31a2b10edcb94640ceaadf4d7a495c0 100644 (file)
@@ -397,9 +397,9 @@ config SYS_CLK_FREQ
        default 1008000000 if MACH_SUN5I
        default 1008000000 if MACH_SUN6I
        default 912000000 if MACH_SUN7I
+       default 816000000 if MACH_SUN50I || MACH_SUN50I_H5
        default 1008000000 if MACH_SUN8I
        default 1008000000 if MACH_SUN9I
-       default 816000000 if MACH_SUN50I
 
 config SYS_CONFIG_NAME
        default "sun4i" if MACH_SUN4I