From: Ye Li <ye.li@nxp.com>
Date: Sat, 7 Aug 2021 08:01:02 +0000 (+0800)
Subject: arm: imx8ulp: Allocate DCNANO and MIPI_DSI to AD domain
X-Git-Tag: v2025.01-rc5-pxa1908~1754^2~12
X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=16243a1735fcaf3647d209b44b7de5c367d6bbd3;p=u-boot.git

arm: imx8ulp: Allocate DCNANO and MIPI_DSI to AD domain

Configure DCNANO and MIPI_DSI to be controlled by AD for single boot

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 add4618440..e5985c4cf1 100644
--- a/arch/arm/mach-imx/imx8ulp/soc.c
+++ b/arch/arm/mach-imx/imx8ulp/soc.c
@@ -482,6 +482,8 @@ int arch_cpu_init(void)
 			setbits_le32(0x2802B044, BIT(7));
 			/* GPU 2D/3D to APD */
 			setbits_le32(0x2802B04C, BIT(1) | BIT(2));
+			/* DCNANO and MIPI_DSI to APD */
+			setbits_le32(0x2802B04C, BIT(1) | BIT(2) | BIT(3) | BIT(4));
 		}
 
 		/* release xrdc, then allow A35 to write SRAM2 */