diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-10-28 11:58:14 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-12-06 15:31:37 +0100 |
commit | b8eecbac6a7ad339baf0446f333ce7cc43921b40 (patch) | |
tree | 7e375a24681d5c2cb3ad607a7a909eda821ba062 /board/toradex/verdin-imx8mm | |
parent | 423ca964c3d8829d68676b367b773926d72cd24e (diff) | |
download | u-boot-b8eecbac6a7ad339baf0446f333ce7cc43921b40.tar.gz u-boot-b8eecbac6a7ad339baf0446f333ce7cc43921b40.tar.bz2 u-boot-b8eecbac6a7ad339baf0446f333ce7cc43921b40.zip |
verdin-imx8mm: spl: enable pca9450 i2c level translator
Enable PCA9450 i2c level translator, as this is used for the
on module ADC.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'board/toradex/verdin-imx8mm')
-rw-r--r-- | board/toradex/verdin-imx8mm/spl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/toradex/verdin-imx8mm/spl.c b/board/toradex/verdin-imx8mm/spl.c index 9562cdeb35..72e2e09e25 100644 --- a/board/toradex/verdin-imx8mm/spl.c +++ b/board/toradex/verdin-imx8mm/spl.c @@ -124,6 +124,8 @@ int power_init_board(void) /* set WDOG_B_CFG to cold reset */ pmic_reg_write(dev, PCA9450_RESET_CTRL, 0xA1); + pmic_reg_write(dev, PCA9450_CONFIG2, 0x1); + return 0; } |