Commit 3e5fa4bcfddfb04822d2332899412943de4dd4f5

Authored by faqiang.zhu
1 parent 2bd8277fd7

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>

Showing 1 changed file with 9 additions and 0 deletions Side-by-side Diff

board/freescale/imx8mq_phanbell/spl.c
... ... @@ -160,6 +160,15 @@
160 160 /* unlock the PMIC regs */
161 161 pmic_reg_write(p, BD71837_REGLOCK, 0x1);
162 162  
  163 + /* Set BUCK2 output for ARM to 0.85v */
  164 + pmic_reg_write(p, BD71837_BUCK2_VOLT_RUN, 0x0f);
  165 +
  166 + /* Set BUCK3 output for GPU off */
  167 + pmic_reg_write(p, BD71837_BUCK3_CTRL, 0x46);
  168 +
  169 + /* Set BUCK4 output for VPU off */
  170 + pmic_reg_write(p, BD71837_BUCK4_CTRL, 0x46);
  171 +
163 172 /* Set BUCK5 output for DRAM to 0.9V */
164 173 pmic_reg_write(p, BD71837_BUCK5_VOLT, 0x2);
165 174