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>
This commit is contained in:
Max Krummenacher 2020-10-28 11:58:14 +02:00 committed by Stefano Babic
parent 423ca964c3
commit b8eecbac6a

View file

@ -124,6 +124,8 @@ int power_init_board(void)
/* set WDOG_B_CFG to cold reset */ /* set WDOG_B_CFG to cold reset */
pmic_reg_write(dev, PCA9450_RESET_CTRL, 0xA1); pmic_reg_write(dev, PCA9450_RESET_CTRL, 0xA1);
pmic_reg_write(dev, PCA9450_CONFIG2, 0x1);
return 0; return 0;
} }