git: 9front

Download patch

ref: 84bf88937e12c414d5427632723368482856e80f
parent: 4ec88571a4d7a4d77043c6d0b9268ea52d8ae788
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{
--