imx8ulp_evk: Control LPI2C0 PCA6416 and TPM0 for display
The board use IO9 of PCA6416 on LPI2C0 and TPM0 for MIPI DSI MUX and
backlight. However the LPI2C0 and TPM0 are M33 resources, in this
patch we simply access them, but this is a temporary solution.
We will modify it when M33 FW changes to set MIPI DSI panel as default
path and enable backlight after reset.
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
diff --git a/arch/arm/mach-imx/imx8ulp/soc.c b/arch/arm/mach-imx/imx8ulp/soc.c
index f64a8fb..427b5e4 100644
--- a/arch/arm/mach-imx/imx8ulp/soc.c
+++ b/arch/arm/mach-imx/imx8ulp/soc.c
@@ -465,6 +465,11 @@
/* flexspi0 */
trdc_mrc_region_set_access(0, 7, 0x04000000, 0x0c000000, false);
+
+ /* tpm0: PBridge1 slot 21 */
+ trdc_mbc_set_access(2, 7, 1, 21, false);
+ /* lpi2c0: PBridge1 slot 24 */
+ trdc_mbc_set_access(2, 7, 1, 24, false);
return 0;
}