summaryrefslogtreecommitdiff
path: root/board/ti/am43xx
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-12-22 16:26:15 -0600
committerTom Rini <trini@ti.com>2015-01-13 11:53:40 -0500
commitd5c082a32db7568fc03f30f6893cd54ff664e1b1 (patch)
treef9f5aed333d91f290a4713b899d1b8a3857c51cd /board/ti/am43xx
parent8465d6a71a4d23365bfc730b0d5c0750c9721f44 (diff)
board: ti: am43xx: take care of all OPPs
Make sure that all OPPs are checked on scale_vcores(). While at that also fix 600MHz VDD_MPU voltage according to AM437x Data Manual available at [1]. Table 5-3 on that document, lists all valid voltages per frequency. [1] http://www.ti.com/lit/ds/symlink/am4379.pdf Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'board/ti/am43xx')
-rw-r--r--board/ti/am43xx/board.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c
index c418e68464..7f1f98049b 100644
--- a/board/ti/am43xx/board.c
+++ b/board/ti/am43xx/board.c
@@ -385,9 +385,18 @@ void scale_vcores(void)
case 1000:
mpu_vdd = TPS65218_DCDC_VOLT_SEL_1330MV;
break;
+ case 800:
+ mpu_vdd = TPS65218_DCDC_VOLT_SEL_1260MV;
+ break;
+ case 720:
+ mpu_vdd = TPS65218_DCDC_VOLT_SEL_1200MV;
+ break;
case 600:
mpu_vdd = TPS65218_DCDC_VOLT_SEL_1100MV;
break;
+ case 300:
+ mpu_vdd = TPS65218_DCDC_VOLT_SEL_0950MV;
+ break;
default:
puts("Unknown MPU clock, not scaling\n");
return;