public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] sunxi: set the default CPUx frequency of H5 to 816MHz
@ 2017-10-30 23:36 Icenowy Zheng
  2017-10-31  7:57 ` Jagan Teki
  0 siblings, 1 reply; 15+ messages in thread
From: Icenowy Zheng @ 2017-10-30 23:36 UTC (permalink / raw)
  To: u-boot

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>
---
 arch/arm/mach-sunxi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 09cfec6f57..1fededd0a3 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -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
-- 
2.13.6

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-12-02 16:27 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-30 23:36 [U-Boot] [PATCH] sunxi: set the default CPUx frequency of H5 to 816MHz Icenowy Zheng
2017-10-31  7:57 ` Jagan Teki
2017-10-31  8:05   ` icenowy at aosc.io
2017-10-31  8:53     ` Jagan Teki
2017-10-31  9:08       ` Icenowy Zheng
2017-10-31 13:54     ` Maxime Ripard
2017-11-01  0:31       ` Icenowy Zheng
2017-11-01  2:10         ` [U-Boot] [linux-sunxi] " Ondřej Jirman
2017-11-01  2:20           ` Ondřej Jirman
2017-11-01  9:16           ` Jagan Teki
2017-11-02 13:56         ` [U-Boot] " Maxime Ripard
2017-11-03  8:51           ` Jagan Teki
2017-11-03 16:30             ` Maxime Ripard
2017-11-06  8:10               ` Jagan Teki
2017-12-02 16:27                 ` Jagan Teki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox