summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorZhang Bo <bo.zhang@nxp.com>2018-07-20 12:07:28 +0800
committerJi Luo <ji.luo@nxp.com>2018-08-21 09:44:00 +0800
commitb1fd5ce7f4f4b8ff121415ef7073eb036bcb2e40 (patch)
treef369bc2936039ba929e2d6edade8994ffbe18a12 /board
parent1905f574e3eba223052dd3fe5c8d7225e4b29f14 (diff)
[iot] Change VDD_3V3 to 3.1V and VDD_1V8 to 1.695V
Change the VDD_3V3 and VDD_1V8 to lower one to save power. Change-Id: I61f1f4ed8c6e036173d9adc5358db01bd9c835a2 Signed-off-by: Zhang Bo <bo.zhang@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/5144 Reviewed-by: Wang Haoran <elven.wang@nxp.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/imx8mq_phanbell/spl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/freescale/imx8mq_phanbell/spl.c b/board/freescale/imx8mq_phanbell/spl.c
index fe2580e719..a7e6f68ad5 100644
--- a/board/freescale/imx8mq_phanbell/spl.c
+++ b/board/freescale/imx8mq_phanbell/spl.c
@@ -163,6 +163,12 @@ int power_init_board(void)
/* Set BUCK5 output for DRAM to 1.0V */
pmic_reg_write(p, BD71837_BUCK5_VOLT, 0x3);
+ /* Set BUCK6 output for VDD_3V3 to 3.1V */
+ pmic_reg_write(p, BD71837_BUCK6_VOLT, 0x1);
+
+ /* Set BUCK7 output for VDD_1V8 to 1.695V */
+ pmic_reg_write(p, BD71837_BUCK7_VOLT, 0x1);
+
/* lock the PMIC regs */
pmic_reg_write(p, BD71837_REGLOCK, 0x11);
return 0;