]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: imx8qm-mek: fix boot
authorPeng Fan <peng.fan@nxp.com>
Sat, 19 Oct 2024 00:51:25 +0000 (08:51 +0800)
committerFabio Estevam <festevam@gmail.com>
Fri, 25 Oct 2024 12:04:29 +0000 (09:04 -0300)
serial_init runs into panic because no serial device found.
Update the device tree to include bootph-some-ram for some critial
devices needed in pre-reloc stage

Also update usdhc related properties to avoid card initialization
failure.

Fixes: 8c103c33fb1 ("dm: dts: Convert driver model tags to use new schema")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi
arch/arm/dts/fsl-imx8qm-mek.dts

index 6e5379e53c5312266ce057114c82a0432b14db66..38925d530652b9d5bc2529013019b155ef047cf7 100644 (file)
@@ -7,18 +7,48 @@
 
 &{/imx8qm-pm} {
 
+       bootph-some-ram;
        bootph-pre-ram;
 };
 
 &mu {
+       bootph-some-ram;
        bootph-pre-ram;
 };
 
 &clk {
+       bootph-some-ram;
        bootph-pre-ram;
 };
 
 &iomuxc {
+       bootph-some-ram;
+       bootph-pre-ram;
+};
+
+&reg_usdhc2_vmmc {
+       bootph-pre-ram;
+};
+
+&{/mu@5d1c0000/iomuxc/imx8qm-mek} {
+       bootph-some-ram;
+       bootph-pre-ram;
+};
+
+&pinctrl_usdhc2_gpio {
+       bootph-pre-ram;
+};
+
+&pinctrl_usdhc2 {
+       bootph-pre-ram;
+};
+
+&pinctrl_lpuart0 {
+       bootph-some-ram;
+       bootph-pre-ram;
+};
+
+&pinctrl_usdhc1 {
        bootph-pre-ram;
 };
 
 };
 
 &pd_dma {
+       bootph-some-ram;
        bootph-pre-ram;
 };
 
 &pd_dma_lpuart0 {
+       bootph-some-ram;
        bootph-pre-ram;
 };
 
 };
 
 &lpuart0 {
+       bootph-some-ram;
        bootph-pre-ram;
 };
 
index 63908ba6bf1ff27102d60ca30b2456e4472331bd..6cf7ce3d5e03ed6c8be0aac8a4a4a5ded3338ee1 100644 (file)
@@ -6,7 +6,6 @@
 /dts-v1/;
 
 #include "fsl-imx8qm.dtsi"
-#include "fsl-imx8qm-mek-u-boot.dtsi"
 
 / {
        model = "Freescale i.MX8QM MEK";