]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: armada-38x-controlcenterdc.dts: Move u-boot, dm-pre-reloc to -u-boot...
authorPali Rohár <pali@kernel.org>
Wed, 3 Aug 2022 11:00:53 +0000 (13:00 +0200)
committerStefan Roese <sr@denx.de>
Tue, 9 Aug 2022 06:58:27 +0000 (08:58 +0200)
Move U-Boot specific device tree property u-boot,dm-pre-reloc into U-Boot
specific device tree include file armada-38x-controlcenterdc-u-boot.dtsi.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-38x-controlcenterdc-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/armada-38x-controlcenterdc.dts

diff --git a/arch/arm/dts/armada-38x-controlcenterdc-u-boot.dtsi b/arch/arm/dts/armada-38x-controlcenterdc-u-boot.dtsi
new file mode 100644 (file)
index 0000000..0a94df9
--- /dev/null
@@ -0,0 +1,25 @@
+&gpio0 {
+       u-boot,dm-pre-reloc;
+};
+
+&gpio1 {
+       u-boot,dm-pre-reloc;
+};
+
+&uart1 {
+       u-boot,dm-pre-reloc;
+};
+
+&spi1 {
+       u-boot,dm-pre-reloc;
+};
+
+&I2C0 {
+       u-boot,dm-pre-reloc;
+};
+
+&PCA22 {
+       u-boot,dm-pre-reloc;
+};
+
+#include "mvebu-u-boot.dtsi"
index b5d76f8b22d6ce708b85ec6c457e14c95df0164c..79ea6f09095886976b4a9da9a0093ea0c3f6783f 100644 (file)
 
 #include "armada-388.dtsi"
 
-&gpio0 {
-       u-boot,dm-pre-reloc;
-};
-
-&gpio1 {
-       u-boot,dm-pre-reloc;
-};
-
-&uart1 {
-       u-boot,dm-pre-reloc;
-};
-
 / {
        model = "Controlcenter Digital Compact";
        compatible = "marvell,a385-db", "marvell,armada388",
@@ -71,7 +59,6 @@
                        I2C0: i2c@11000 {
                                status = "okay";
                                clock-frequency = <1000000>;
-                               u-boot,dm-pre-reloc;
                                PCA21: pca9698@21 {
                                        compatible = "nxp,pca9698";
                                        reg = <0x21>;
@@ -80,7 +67,6 @@
                                };
                                PCA22: pca9698@22 {
                                        compatible = "nxp,pca9698";
-                                       u-boot,dm-pre-reloc;
                                        reg = <0x22>;
                                        #gpio-cells = <2>;
                                        gpio-controller;
 
 &spi1 {
        status = "okay";
-       u-boot,dm-pre-reloc;
        spi-flash@0 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "n25q128a11", "jedec,spi-nor";
                reg = <1>; /* Chip select 1 */
                spi-max-frequency = <108000000>;
-               u-boot,dm-pre-reloc;
        };
 };