shithub: riscv

Download patch

ref: c2b8bb8eec79c9f3537bbdeab50154a299165d09
parent: a3dc4d80a899b28130729721b90a0506e44b8d76
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Aug 21 19:08:07 EDT 2022

imx8: 1.5Ghz turbo

--- a/sys/src/9/imx8/ccm.c
+++ b/sys/src/9/imx8/ccm.c
@@ -146,7 +146,7 @@
 };
 
 static int input_clk_freq[] = {
-	[ARM_PLL_CLK] 1600*Mhz, 
+	[ARM_PLL_CLK] 1500*Mhz, 
 	[GPU_PLL_CLK] 1600*Mhz,
 	[VPU_PLL_CLK] 800*Mhz,
 	[DRAM_PLL1_CLK] 800*Mhz,
--- a/sys/src/9/imx8/clock.c
+++ b/sys/src/9/imx8/clock.c
@@ -46,7 +46,7 @@
 
 		/* TURBO! */
 		setclkrate("ccm_arm_a53_clk_root", "osc_25m_ref_clk", 25*Mhz);
-		setclkrate("ccm_arm_a53_clk_root", "arm_pll_clk", 1400*Mhz);
+		setclkrate("ccm_arm_a53_clk_root", "arm_pll_clk", 1500*Mhz);
 	}
 	tstart = sysrd(CNTPCT_EL0);
 	do{