summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorfaqiang.zhu <faqiang.zhu@nxp.com>2018-07-25 20:33:43 +0800
committerfaqiang.zhu <faqiang.zhu@nxp.com>2018-11-12 09:18:34 +0800
commit3e5fa4bcfddfb04822d2332899412943de4dd4f5 (patch)
treefecb7dad18b947e565bd1c1546e450404003855d /board
parent2bd8277fd7eceed3aa4b07b6fe238b7beef62530 (diff)
Set VDD_ARM to 0.85v and turn off VDD_GPU and VDD_VPU
Set BUCK2 output for VDD_ARM to 0.85v Set BUCK3 output for VDD_GPU off Set BUCK4 output for VDD_VPU off Change-Id: I26b47b72ae6b8e714d12345b20324490f0947f56 Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/5177 Reviewed-by: zhang bo <bo.zhang@nxp.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/imx8mq_phanbell/spl.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/freescale/imx8mq_phanbell/spl.c b/board/freescale/imx8mq_phanbell/spl.c
index 1aef6cd289..75ecb93b14 100644
--- a/board/freescale/imx8mq_phanbell/spl.c
+++ b/board/freescale/imx8mq_phanbell/spl.c
@@ -160,6 +160,15 @@ int power_init_board(void)
/* unlock the PMIC regs */
pmic_reg_write(p, BD71837_REGLOCK, 0x1);
+ /* Set BUCK2 output for ARM to 0.85v */
+ pmic_reg_write(p, BD71837_BUCK2_VOLT_RUN, 0x0f);
+
+ /* Set BUCK3 output for GPU off */
+ pmic_reg_write(p, BD71837_BUCK3_CTRL, 0x46);
+
+ /* Set BUCK4 output for VPU off */
+ pmic_reg_write(p, BD71837_BUCK4_CTRL, 0x46);
+
/* Set BUCK5 output for DRAM to 0.9V */
pmic_reg_write(p, BD71837_BUCK5_VOLT, 0x2);