summaryrefslogtreecommitdiff
path: root/firmware/export/config/xduoox3.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-08-07 00:44:55 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-08-07 11:42:45 -0400
commiteb0e41c1ccb0dcf35efa7e1434bb0e35c9df1543 (patch)
tree8989f4d1bfe2c24d67d72026f97ec8e0cc11f949 /firmware/export/config/xduoox3.h
parent62146ed73513ec62b57163d229c6719b9349c640 (diff)
downloadrockbox-eb0e41c1ccb0dcf35efa7e1434bb0e35c9df1543.tar.gz
rockbox-eb0e41c1ccb0dcf35efa7e1434bb0e35c9df1543.zip
jz4760: Support dynamic reclocking!
default/low speed is 192 MHz, Max is 576 Downclock PCLK/MCLK/etc to 96MHz to save a bit of juice Honestly the high speed could be dialed down to, eg 384 as this thing is so bloody fast.. Change-Id: Ie65597c74290f1603e65f69dae8e75b59c8ba0b4
Diffstat (limited to 'firmware/export/config/xduoox3.h')
-rw-r--r--firmware/export/config/xduoox3.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/firmware/export/config/xduoox3.h b/firmware/export/config/xduoox3.h
index f510495bd9..999b6b9912 100644
--- a/firmware/export/config/xduoox3.h
+++ b/firmware/export/config/xduoox3.h
@@ -148,8 +148,18 @@
148/* Define this if you have a Ingenic JZ4760B */ 148/* Define this if you have a Ingenic JZ4760B */
149#define CONFIG_CPU JZ4760B 149#define CONFIG_CPU JZ4760B
150 150
151/* Define this to the CPU frequency */ 151/* We have adjustable frequency */
152#define CPU_FREQ 480000000 /* CPU clock: 480 MHz -- Keep a multiple of 48MHz! */ 152#define CPUFREQ_MAX 576000000 // datasheet sez 600MHz max. Must be multiple of 48!
153#define CPUFREQ_MIN 192000000
154#define CPUFREQ_DEFAULT CPUFREQ_MIN
155
156#define HAVE_ADJUSTABLE_CPU_FREQ
157#ifdef HAVE_ADJUSTABLE_CPU_FREQ
158//#define HAVE_GUI_BOOST
159#define CPUFREQ_NORMAL CPUFREQ_MIN
160#else
161#define CPU_FREQ CPUFREQ_MAX
162#endif
153 163
154/* Define this if you want to use the JZ47XX i2c interface */ 164/* Define this if you want to use the JZ47XX i2c interface */
155#define CONFIG_I2C I2C_JZ47XX 165#define CONFIG_I2C I2C_JZ47XX