diff mbox series

arm: dts: imx8mp: add of-list support to common imx8mp-u-boot.dtsi

Message ID 20220415204154.16141-1-tharvey@gateworks.com
State Accepted
Commit 6a21c695213bf1f2541feaf16fad46a54c00646b
Delegated to: Stefano Babic
Headers show
Series arm: dts: imx8mp: add of-list support to common imx8mp-u-boot.dtsi | expand

Commit Message

Tim Harvey April 15, 2022, 8:41 p.m. UTC
Add support for OF-LIST to common imx8mp-u-boot.dtsi so that it can
be used with boards that have multiple DTB's.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Teresa Remmet <t.remmet@phytec.de>
Cc: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
---
 arch/arm/dts/imx8mp-u-boot.dtsi | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Comments

Fabio Estevam April 16, 2022, 12:11 p.m. UTC | #1
Hi Tim,

On Fri, Apr 15, 2022 at 5:41 PM Tim Harvey <tharvey@gateworks.com> wrote:
>
> Add support for OF-LIST to common imx8mp-u-boot.dtsi so that it can
> be used with boards that have multiple DTB's.
>
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>
> Cc: Peng Fan <peng.fan@nxp.com>
> Cc: Teresa Remmet <t.remmet@phytec.de>
> Cc: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
> Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>

Reviewed-by: Fabio Estevam <festevam@denx.de>
Stefano Babic April 22, 2022, 8:47 a.m. UTC | #2
> Add support for OF-LIST to common imx8mp-u-boot.dtsi so that it can
> be used with boards that have multiple DTB's.
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>
> Cc: Peng Fan <peng.fan@nxp.com>
> Cc: Teresa Remmet <t.remmet@phytec.de>
> Cc: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
> Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> Reviewed-by: Fabio Estevam <festevam@denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/arch/arm/dts/imx8mp-u-boot.dtsi b/arch/arm/dts/imx8mp-u-boot.dtsi
index cfc352ae34af..20edd90cfad8 100644
--- a/arch/arm/dts/imx8mp-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-u-boot.dtsi
@@ -99,8 +99,9 @@ 
 
 		fit {
 			description = "Configuration to load ATF before U-Boot";
-			#address-cells = <1>;
 			fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
+			fit,fdt-list = "of-list";
+			#address-cells = <1>;
 
 			images {
 				uboot {
@@ -129,7 +130,7 @@ 
 					};
 				};
 
-				fdt {
+				@fdt-SEQ {
 					description = "NAME";
 					type = "flat_dt";
 					compression = "none";
@@ -141,13 +142,13 @@ 
 			};
 
 			configurations {
-				default = "conf";
+				default = "@config-DEFAULT-SEQ";
 
-				conf {
+				@config-SEQ {
 					description = "NAME";
+					fdt = "fdt-SEQ";
 					firmware = "uboot";
 					loadables = "atf";
-					fdt = "fdt";
 				};
 			};
 		};