imx: imx8ulp: cgc: Switch to NICLPAV to FRO192 before PLL4 init
authorYe Li <ye.li@nxp.com>
Wed, 6 Apr 2022 06:30:14 +0000 (14:30 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 15:33:56 +0000 (17:33 +0200)
commit509b8e7ba13a7c262fb673fbf77a997977b14991
tree3af461cf79abb5eff3e251b43327e15360161834
parent4ab38f6822d9564da7b85649e6bc7d5c9d603350
imx: imx8ulp: cgc: Switch to NICLPAV to FRO192 before PLL4 init

When reset with dual boot mode, the LPAV domain won't power down
due to its master is not assigned to APD. So the NICLPAV keeps the
last setting to use PLL4PFD1. So before SPL initialize the PLL4,
we need to switch NICLPAV to FRO192, otherwise system will hang.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8ulp/cgc.c