arm: dts: imx8mp: move firmware/optee node to common imx8mp-u-boot.dtsi
authorTim Harvey <tharvey@gateworks.com>
Thu, 24 Aug 2023 19:01:43 +0000 (12:01 -0700)
committerStefano Babic <sbabic@denx.de>
Mon, 16 Oct 2023 06:46:01 +0000 (08:46 +0200)
Move the firmware/optee node to the common imx8mp-u-boot.dtsi and
protect it with an ifdef CONFIG_OPTEE as it is a meaningless node
without the optee driver enabled.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
arch/arm/dts/imx8mp-beacon-kit-u-boot.dtsi
arch/arm/dts/imx8mp-evk-u-boot.dtsi
arch/arm/dts/imx8mp-icore-mx8mp-edimm2.2-u-boot.dtsi
arch/arm/dts/imx8mp-rsb3720-a1-u-boot.dtsi
arch/arm/dts/imx8mp-u-boot.dtsi
arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi
arch/arm/dts/imx8mp-verdin-wifi-dev-u-boot.dtsi

index b56f3a2..c69f7c9 100644 (file)
                wdt = <&wdog1>;
                bootph-pre-ram;
        };
-
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
 };
 
 &{/soc@0/bus@30800000/i2c@30a20000/pmic@25} {
index 6784ed2..17965c5 100644 (file)
                wdt = <&wdog1>;
                bootph-pre-ram;
        };
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
 };
 
 &reg_usdhc2_vmmc {
index d411cf7..fe20938 100644 (file)
                wdt = <&wdog1>;
                bootph-pre-ram;
        };
-
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
 };
 
 &reg_usdhc2_vmmc {
index c4ea536..22171bd 100644 (file)
                wdt = <&wdog1>;
                bootph-pre-ram;
        };
-
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
 };
 
 &iomuxc {
index 200938a..694dea1 100644 (file)
@@ -8,6 +8,15 @@
        binman: binman {
                multiple-images;
        };
+
+#ifdef CONFIG_OPTEE
+       firmware {
+               optee {
+                       compatible = "linaro,optee-tz";
+                       method = "smc";
+               };
+       };
+#endif
 };
 
 &soc {
index 501bc0c..240fbc1 100644 (file)
@@ -6,13 +6,6 @@
 #include "imx8mp-u-boot.dtsi"
 
 / {
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
-
        wdt-reboot {
                compatible = "wdt-reboot";
                bootph-pre-ram;
index 0162f9b..fc87d3f 100644 (file)
@@ -6,13 +6,6 @@
 #include "imx8mp-u-boot.dtsi"
 
 / {
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
-
        wdt-reboot {
                compatible = "wdt-reboot";
                bootph-pre-ram;