MLK-22870 arm64: dts: add OCOTP clock

Use the kexec command to restart the root cell Linux, and the system
will hang up in imx8mm_soc_uid(). The reason is that ocotp root clk is
not enabled when the unique ID is read. Therefore, add CLK_OCOTP_ROOT to
init-on-array in root.dts to ensure that ocotp root clk in the root cell
Linux is always enabled.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
Alice Guo 2020-10-15 11:27:18 +08:00
parent 312c00b37d
commit dd2aefcf94
4 changed files with 8 additions and 4 deletions

View File

@ -17,7 +17,8 @@
&clk {
init-on-array = <IMX8MM_CLK_USDHC3_ROOT
IMX8MM_CLK_NAND_USDHC_BUS
IMX8MM_CLK_UART4_ROOT>;
IMX8MM_CLK_UART4_ROOT
IMX8MM_CLK_OCOTP_ROOT>;
};
&iomuxc {

View File

@ -70,7 +70,8 @@
&clk {
init-on-array = <IMX8MN_CLK_NAND_USDHC_BUS
IMX8MN_CLK_USDHC3_ROOT
IMX8MN_CLK_UART4_ROOT>;
IMX8MN_CLK_UART4_ROOT
IMX8MN_CLK_OCOTP_ROOT>;
};
&uart2 {

View File

@ -25,7 +25,8 @@
init-on-array = <IMX8MP_CLK_USDHC3_ROOT
IMX8MP_CLK_NAND_USDHC_BUS
IMX8MP_CLK_HSIO_ROOT
IMX8MP_CLK_UART4_ROOT>;
IMX8MP_CLK_UART4_ROOT
IMX8MP_CLK_OCOTP_ROOT>;
};
&{/busfreq} {

View File

@ -18,7 +18,8 @@
init-on-array = <IMX8MQ_CLK_UART2_ROOT
IMX8MQ_CLK_UART2
IMX8MQ_CLK_USDHC1_ROOT
IMX8MQ_CLK_NAND_USDHC_BUS>;
IMX8MQ_CLK_NAND_USDHC_BUS
IMX8MQ_CLK_OCOTP_ROOT>;
};
&iomuxc {