diff options
Diffstat (limited to 'packages/linux/linux-omap-pm/beagle-cpufreq.diff')
-rw-r--r-- | packages/linux/linux-omap-pm/beagle-cpufreq.diff | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/packages/linux/linux-omap-pm/beagle-cpufreq.diff b/packages/linux/linux-omap-pm/beagle-cpufreq.diff deleted file mode 100644 index 811f1ed626..0000000000 --- a/packages/linux/linux-omap-pm/beagle-cpufreq.diff +++ /dev/null @@ -1,86 +0,0 @@ ---- /tmp/board-omap3beagle.c 2009-01-13 19:49:19.000000000 +0100 -+++ git/arch/arm/mach-omap2/board-omap3beagle.c 2009-01-13 19:51:26.000000000 +0100 -@@ -41,13 +41,72 @@ - #include <mach/usb-ehci.h> - #include <mach/common.h> - #include <mach/gpmc.h> -+#include <mach/omap-pm.h> - #include <mach/nand.h> - #include <mach/mux.h> - #include <mach/omapfb.h> - #include <mach/display.h> -+#include <mach/clock.h> - - #include "twl4030-generic-scripts.h" - #include "mmc-twl4030.h" -+#include "pm.h" -+ -+/* MPU speeds */ -+#define S600M 600000000 -+#define S550M 550000000 -+#define S500M 500000000 -+#define S250M 250000000 -+#define S125M 125000000 -+ -+/* DSP speeds */ -+#define S430M 430000000 -+#define S400M 400000000 -+#define S360M 360000000 -+#define S180M 180000000 -+#define S90M 90000000 -+ -+/* L3 speeds */ -+#define S83M 83000000 -+#define S166M 166000000 -+ -+static struct omap_opp mpu_rate_table[] = { -+ {0, 0, 0}, -+ /*OPP1*/ -+ {S125M, VDD1_OPP1, 0x18}, -+ /*OPP2*/ -+ {S250M, VDD1_OPP2, 0x20}, -+ /*OPP3*/ -+ {S500M, VDD1_OPP3, 0x30}, -+ /*OPP4*/ -+ {S550M, VDD1_OPP4, 0x36}, -+ /*OPP5*/ -+ {S600M, VDD1_OPP5, 0x3C}, -+}; -+ -+static struct omap_opp l3_rate_table[] = { -+ {0, 0, 0}, -+ /*OPP1*/ -+ {0, VDD2_OPP1, 0x18}, -+ /*OPP2*/ -+ {S83M, VDD2_OPP2, 0x20}, -+ /*OPP3*/ -+ {S166M, VDD2_OPP3, 0x2C}, -+}; -+ -+struct omap_opp dsp_rate_table[] = { -+ {0, 0, 0}, -+ /*OPP1*/ -+ {S90M, VDD1_OPP1, 0x18}, -+ /*OPP2*/ -+ {S180M, VDD1_OPP2, 0x20}, -+ /*OPP3*/ -+ {S360M, VDD1_OPP3, 0x30}, -+ /*OPP4*/ -+ {S400M, VDD1_OPP4, 0x36}, -+ /*OPP5*/ -+ {S430M, VDD1_OPP5, 0x3C}, -+}; - - - #define GPMC_CS0_BASE 0x60 -@@ -227,7 +286,9 @@ - - static void __init omap3_beagle_init_irq(void) - { -- omap2_init_common_hw(mt46h32m32lf6_sdrc_params, NULL, NULL, NULL); -+ omap2_init_common_hw(mt46h32m32lf6_sdrc_params, mpu_rate_table, -+ dsp_rate_table, l3_rate_table); -+ - omap_init_irq(); - omap_gpio_init(); - } |