mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
linux-am335x-psp: Add 1 GHZ Support for BBB
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
cc36865809
commit
d78b2c21c4
@@ -0,0 +1,41 @@
|
||||
From ec0ec41418ec1193e4352f1983ab29173f10f855 Mon Sep 17 00:00:00 2001
|
||||
From: Steve Kipisz <s-kipisz2@ti.com>
|
||||
Date: Wed, 5 Jun 2013 10:10:44 -0500
|
||||
Subject: [PATCH] am335x:Re-enable Turbo and Nitro modes for Beaglebone Black
|
||||
The Beaglebone Black boards use a speed binned PG2.0 AM335x
|
||||
that operate up to 1GHz so re-enable those modes for
|
||||
Beaglebone Black.
|
||||
|
||||
Signed-off-by: Steve Kipisz <s-kipisz2@ti.com>
|
||||
---
|
||||
arch/arm/mach-omap2/board-am335xevm.c | 14 ++++++++++++++
|
||||
1 file changed, 14 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
|
||||
index bac415c..47e5a9d 100644
|
||||
--- a/arch/arm/mach-omap2/board-am335xevm.c
|
||||
+++ b/arch/arm/mach-omap2/board-am335xevm.c
|
||||
@@ -2529,6 +2529,20 @@ static void am335x_evm_setup(struct memory_accessor *mem_acc, void *context)
|
||||
|
||||
am335x_opp_update();
|
||||
|
||||
+ /*
|
||||
+ * For now, Beaglebone Black uses PG 2.0 that are speed binned and operate
|
||||
+ * up to 1GHz. So re-enable Turbo and Nitro modes,
|
||||
+ */
|
||||
+ if (!strncmp("A335BNLT", config.name, 8)) {
|
||||
+ struct device *mpu_dev;
|
||||
+
|
||||
+ mpu_dev = omap_device_get_by_hwmod_name("mpu");
|
||||
+ opp_enable(mpu_dev,
|
||||
+ AM33XX_ES2_0_OPPTURBO_FREQ);
|
||||
+ opp_enable(mpu_dev,
|
||||
+ AM33XX_ES2_0_OPPNITRO_FREQ);
|
||||
+ }
|
||||
+
|
||||
/* SmartReflex also requires board information. */
|
||||
am33xx_sr_init();
|
||||
|
||||
--
|
||||
1.7.9.5
|
||||
|
||||
@@ -15,7 +15,7 @@ DEPENDS += "am33x-cm3"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
# The main PR is now using MACHINE_KERNEL_PR, for ti33x see conf/machine/include/ti33x.inc
|
||||
MACHINE_KERNEL_PR_append = "g+gitr${SRCPV}"
|
||||
MACHINE_KERNEL_PR_append = "h+gitr${SRCPV}"
|
||||
|
||||
BRANCH = "v3.2-staging"
|
||||
|
||||
@@ -88,7 +88,9 @@ PATCHES += "file://0001-am335x-enable-pullup-on-the-WLAN-enable-pin-fo.patch"
|
||||
PATCHES += "file://0001-ARM-OMAP2-AM335x-Update-SPI-flash-layout.patch"
|
||||
|
||||
# Add support for Beaglebone Black
|
||||
PATCHES += "file://0001-am335x-Add-minimal-support-for-Beaglebone-Black.patch"
|
||||
PATCHES += "file://0001-am335x-Add-minimal-support-for-Beaglebone-Black.patch \
|
||||
file://0001-am335x-Re-enable-Turbo-and-Nitro-modes-for-Beaglebon.patch \
|
||||
"
|
||||
|
||||
# Copy the am33x-cm3 firmware if it is available
|
||||
do_configure_append() {
|
||||
|
||||
Reference in New Issue
Block a user