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

Tim Harvey tharvey at gateworks.com
Fri Apr 15 22:41:54 CEST 2022


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

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";
 				};
 			};
 		};
-- 
2.17.1



More information about the U-Boot mailing list