arm: dts: imx8qxp-mek: fix boot
Subsystems (2)
PATCH 1/2 arm: dts: imx8qxp-mek: fix boot
From: Peng Fan <[email protected]>
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 tage
---
CI: passed
arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi | 18 +++++++++++++++++- arch/arm/dts/fsl-imx8qxp-mek.dts | 1 - 2 files changed, 17 insertions(+), 2 deletions(-)
arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi +17 -1
@@ -6,19 +6,32 @@ #include "imx8qxp-u-boot.dtsi" &{/imx8qx-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; +}; + +&{/mu@5d1c0000/iomuxc/imx8qxp-mek} { + bootph-some-ram; + bootph-pre-ram; +}; + +&pinctrl_lpuart0 { + bootph-some-ram; bootph-pre-ram; };
@@ -75,10 +88,12 @@ }; &pd_dma { + bootph-some-ram; bootph-pre-ram; }; &pd_dma_lpuart0 { + bootph-some-ram; bootph-pre-ram; };
@@ -131,6 +146,7 @@ }; &lpuart0 { + bootph-some-ram; bootph-pre-ram; };
arch/arm/dts/fsl-imx8qxp-mek.dts +0 -1
@@ -6,7 +6,6 @@ /dts-v1/; #include "fsl-imx8qxp.dtsi" -#include "fsl-imx8qxp-mek-u-boot.dtsi" / { model = "Freescale i.MX8QXP MEK";
Signature · 1 line
2.35.3
PATCH 2/2 arm: dts: imx8qm-mek: fix boot
From: Peng Fan <[email protected]>
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.
---
CI: passed
arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi | 33 +++++++++++++++++++++++++ arch/arm/dts/fsl-imx8qm-mek.dts | 1 - 2 files changed, 33 insertions(+), 1 deletion(-)
arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi +33 -0
@@ -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; +}; + +®_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; };
@@ -75,10 +105,12 @@ }; &pd_dma { + bootph-some-ram; bootph-pre-ram; }; &pd_dma_lpuart0 { + bootph-some-ram; bootph-pre-ram; };
@@ -131,6 +163,7 @@ }; &lpuart0 { + bootph-some-ram; bootph-pre-ram; };
arch/arm/dts/fsl-imx8qm-mek.dts +0 -1
@@ -6,7 +6,6 @@ /dts-v1/; #include "fsl-imx8qm.dtsi" -#include "fsl-imx8qm-mek-u-boot.dtsi" / { model = "Freescale i.MX8QM MEK";
Signature · 1 line
2.35.3
Quoted 9 lines · Peng Fan (OSS)
From: Peng Fan <[email protected]>
serial_initruns into panic because no serial device found. Update the device tree to include bootph-some-ram for some critial devices needed in pre-reloc tageFixes 8c103c33fb1 ("dm: dts: Convert driver model tags to use new schema")Signed-off-by Peng Fan <[email protected]>
Applied all, thanks.