imx: imx8ulp: add ND/LD clock
authorPeng Fan <peng.fan@nxp.com>
Wed, 6 Apr 2022 06:30:12 +0000 (14:30 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 15:33:56 +0000 (17:33 +0200)
commita092f33305d8f64c30794305746a1807c55f2063
tree5a803a1771c7942bb1be577fa6ec3b4bf25d6f66
parent4ddb33dac51e23c6ab93cb8b266ccb2c24b630d3
imx: imx8ulp: add ND/LD clock

Add a new ddr script, defconfig for ND
Configure the clock for ND mode
changing A35 to 960MHz for OD mode
Update NIC CLK for the various modes
Introduce clock_init_early/late, late is used after pmic voltage
setting, early is used in the very early stage for upower mu, lpuart and
etc.

Note: NIC runs at 324MHz, 442MHz has some random kernel hang issue with
cpuidle enabled now.

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx8ulp/cgc.h
arch/arm/include/asm/arch-imx8ulp/clock.h
arch/arm/mach-imx/imx8ulp/Kconfig
arch/arm/mach-imx/imx8ulp/cgc.c
arch/arm/mach-imx/imx8ulp/clock.c
arch/arm/mach-imx/imx8ulp/soc.c
board/freescale/imx8ulp_evk/Makefile
board/freescale/imx8ulp_evk/lpddr4_timing_266.c [new file with mode: 0644]
board/freescale/imx8ulp_evk/spl.c