]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: imx8m: move CAAM nodes into common u-boot.dtsi
authorTim Harvey <tharvey@gateworks.com>
Thu, 24 Aug 2023 19:03:56 +0000 (12:03 -0700)
committerStefano Babic <sbabic@denx.de>
Mon, 16 Oct 2023 06:46:01 +0000 (08:46 +0200)
Move the crypto and sec_jr* nodes from board-specific
u-boot.dtsi files into the common files. Additionally protect the
nodes with ifdef CONFIG_FSL_CAAM as they don't serve any purpose if
that is not enabled.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
arch/arm/dts/imx8mm-evk-u-boot.dtsi
arch/arm/dts/imx8mm-kontron-bl-common-u-boot.dtsi
arch/arm/dts/imx8mm-u-boot.dtsi
arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi
arch/arm/dts/imx8mn-u-boot.dtsi
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-u-boot.dtsi
arch/arm/dts/imx8mp-verdin-wifi-dev-u-boot.dtsi

index 155670da18d1ad999b623695306707fc77632e54..9a5b0795133b379d7c82632bc9de9252bf804c2e 100644 (file)
        bootph-pre-ram;
 };
 
-&crypto {
-       bootph-pre-ram;
-};
-
-&sec_jr0 {
-       bootph-pre-ram;
-};
-
-&sec_jr1 {
-       bootph-pre-ram;
-};
-
-&sec_jr2 {
-       bootph-pre-ram;
-};
-
 &usbmisc1 {
        bootph-pre-ram;
 };
index 1ad9d49a1118d518354d4f267e5de9b4149c3590..ae542fdcffad96a21b3d6d0a592809846bd9c7ff 100644 (file)
        };
 };
 
-&crypto {
-       bootph-pre-ram;
-};
-
-&sec_jr0 {
-       bootph-pre-ram;
-};
-
-&sec_jr1 {
-       bootph-pre-ram;
-};
-
-&sec_jr2 {
-       bootph-pre-ram;
-};
-
 &i2c1 {
        bootph-pre-ram;
        bootph-all;
index f7eb29c73648955b77fa08ea433f3c29b2b173e0..06f2f73a03f3236aa5acf260a72643d149ed5a24 100644 (file)
 #endif
 };
 
+#ifdef CONFIG_FSL_CAAM
+&crypto {
+       bootph-pre-ram;
+};
+#endif
+
 &soc {
        bootph-all;
        bootph-pre-ram;
        bootph-pre-ram;
 };
 
+#ifdef CONFIG_FSL_CAAM
+&sec_jr0 {
+       bootph-pre-ram;
+};
+
+&sec_jr1 {
+       bootph-pre-ram;
+};
+
+&sec_jr2 {
+       bootph-pre-ram;
+};
+#endif
+
 &spba1 {
        bootph-all;
        bootph-pre-ram;
index 315714f398489a41365691e60039bfb48d1745aa..c31f3dec3de4ec27254974771e4b896599bda03b 100644 (file)
        bootph-pre-ram;
 };
 
-&crypto {
-       bootph-pre-ram;
-};
-
-&sec_jr0 {
-       bootph-pre-ram;
-};
-
-&sec_jr1 {
-       bootph-pre-ram;
-};
-
-&sec_jr2 {
-       bootph-pre-ram;
-};
-
 &usdhc1 {
        bootph-pre-ram;
 };
index 5e07055eb5debcd69d0524def792abfd44339b6d..96b1a1bc80297a582e5318be10b79a0f3d231338 100644 (file)
        /delete-property/ assigned-clock-rates;
 };
 
+#ifdef CONFIG_FSL_CAAM
+&crypto {
+       bootph-pre-ram;
+};
+#endif
+
 &iomuxc {
        bootph-pre-ram;
 };
        bootph-all;
 };
 
+#ifdef CONFIG_FSL_CAAM
+&sec_jr0 {
+       bootph-pre-ram;
+};
+
+&sec_jr1 {
+       bootph-pre-ram;
+};
+
+&sec_jr2 {
+       bootph-pre-ram;
+};
+#endif
+
 &spba1 {
        bootph-pre-ram;
 };
index c69f7c9c32c09dfa8e79470cea7a12cffb30096c..393fd8ec2e5bd9672b7103020980a7b3e8a1f399 100644 (file)
        bootph-pre-ram;
 };
 
-&crypto {
-       bootph-pre-ram;
-};
-
 &eqos {
        /delete-property/ assigned-clocks;
        /delete-property/ assigned-clock-parents;
        u-boot,off-on-delay-us = <20000>;
 };
 
-&sec_jr0 {
-       bootph-pre-ram;
-};
-
-&sec_jr1 {
-       bootph-pre-ram;
-};
-
-&sec_jr2 {
-       bootph-pre-ram;
-};
-
 &tpm {
        compatible = "tcg,tpm_tis-spi";
 };
index 17965c58ba108626809d6b9478e7a04dcc77194e..6d9b229989ac0176fc7544d5a7cbac51eb90cc87 100644 (file)
        bootph-pre-ram;
 };
 
-&crypto {
-       bootph-pre-ram;
-};
-
-&sec_jr0 {
-       bootph-pre-ram;
-};
-
-&sec_jr1 {
-       bootph-pre-ram;
-};
-
-&sec_jr2 {
-       bootph-pre-ram;
-};
-
 &i2c1 {
        bootph-pre-ram;
 };
index fe20938af5362094d9b5cae2f39548824b95a75d..cf2a87a9b9037462422dc15a72f16a349effccaf 100644 (file)
        bootph-pre-ram;
 };
 
-&crypto {
-       bootph-pre-ram;
-};
-
-&sec_jr0 {
-       bootph-pre-ram;
-};
-
-&sec_jr1 {
-       bootph-pre-ram;
-};
-
-&sec_jr2 {
-       bootph-pre-ram;
-};
-
 &i2c1 {
        bootph-pre-ram;
 };
index 694dea149d54075c21996b9ca89a0357afd5374a..4b1a9161fd711d96621f71b9850988e18fee2897 100644 (file)
 #endif
 };
 
+#ifdef CONFIG_FSL_CAAM
+&crypto {
+       bootph-pre-ram;
+};
+#endif
+
 &soc {
        bootph-all;
        bootph-pre-ram;
        bootph-pre-ram;
 };
 
+#ifdef CONFIG_FSL_CAAM
+&sec_jr0 {
+       bootph-pre-ram;
+};
+
+&sec_jr1 {
+       bootph-pre-ram;
+};
+
+&sec_jr2 {
+       bootph-pre-ram;
+};
+#endif
+
 &binman {
         u-boot-spl-ddr {
                filename = "u-boot-spl-ddr.bin";
index fc87d3f4035b4b39e8d79d10a74170a38a966850..2a1aa1935a76ab48eaed0ceba59e4d9c7ce51906 100644 (file)
 
 };
 
-&crypto {
-       bootph-pre-ram;
-};
-
 &gpio1 {
        bootph-pre-ram;
 };
        bootph-pre-ram;
 };
 
-&sec_jr0 {
-       bootph-pre-ram;
-};
-
-&sec_jr1 {
-       bootph-pre-ram;
-};
-
-&sec_jr2 {
-       bootph-pre-ram;
-};
-
 &uart3 {
        bootph-pre-ram;
 };