summaryrefslogtreecommitdiff
path: root/board/toradex/apalis_imx6
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2015-07-08 15:55:58 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2015-07-08 15:55:58 +0200
commit5e0c818ad6a13666e4cb0d1a7c1b97ff7649d175 (patch)
treef0e735abf7c3add2942bba0722f82fe4face2251 /board/toradex/apalis_imx6
parentfde58f26b226a6f1d6c5fad488f106e51e5329ec (diff)
Apalis: production: use GPIO1 to trigger PMIC fusing
use Apalis GPIO1 to switch on VPGM
Diffstat (limited to 'board/toradex/apalis_imx6')
-rw-r--r--board/toradex/apalis_imx6/pf0100.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/toradex/apalis_imx6/pf0100.c b/board/toradex/apalis_imx6/pf0100.c
index ca82aabb5e..fbd4aa6c99 100644
--- a/board/toradex/apalis_imx6/pf0100.c
+++ b/board/toradex/apalis_imx6/pf0100.c
@@ -25,9 +25,10 @@
/* 7-bit I2C bus slave address */
#define PFUZE100_I2C_ADDR (0x08)
+/* use Apalis GPIO1 to switch on VPGM, ON: 1 */
static iomux_v3_cfg_t const pmic_prog_pads[] = {
- MX6_PAD_GPIO_2__GPIO1_IO02 | MUX_PAD_CTRL(NO_PAD_CTRL),
-# define PMIC_PROG_VOLTAGE IMX_GPIO_NR(1, 2)
+ MX6_PAD_NANDF_D4__GPIO2_IO04 | MUX_PAD_CTRL(NO_PAD_CTRL),
+# define PMIC_PROG_VOLTAGE IMX_GPIO_NR(2, 4)
};
unsigned pmic_init(void)