arm: dts: socfpga: Add u-boot, dm-pre-reloc for sysmgr and clkmgr nodes
authorLey Foon Tan <ley.foon.tan@intel.com>
Fri, 8 Nov 2019 02:38:18 +0000 (10:38 +0800)
committerMarek Vasut <marex@denx.de>
Tue, 7 Jan 2020 13:38:33 +0000 (14:38 +0100)
Add u-boot,dm-pre-reloc for sysmgr and clkmgr nodes to use it in SPL.
In preparation to get base address from DT.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
arch/arm/dts/socfpga-common-u-boot.dtsi
arch/arm/dts/socfpga.dtsi
arch/arm/dts/socfpga_arria10.dtsi
arch/arm/dts/socfpga_arria10_socdk.dtsi
arch/arm/dts/socfpga_stratix10.dtsi
arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi

index 322c858c4b06b8275a9bd8ee23dce2eee295d877..d55460755fe3cc8d96cf8db59ea9b3158444dd18 100644 (file)
        };
 };
 
+&clkmgr {
+       u-boot,dm-pre-reloc;
+};
+
 &rst {
        u-boot,dm-pre-reloc;
 };
@@ -17,3 +21,7 @@
 &sdr {
        u-boot,dm-pre-reloc;
 };
+
+&sysmgr {
+       u-boot,dm-pre-reloc;
+};
index 51a6a51b5380e920b6db44e095b096fbfbca81a5..eda558f2fe736f468869e64a0d3ca6465d2c5148 100644 (file)
                        status = "disabled";
                };
 
-               clkmgr@ffd04000 {
+               clkmgr: clkmgr@ffd04000 {
                                compatible = "altr,clk-mgr";
                                reg = <0xffd04000 0x1000>;
 
index c11a5c0cc1af10271a78f8e3b966df19f6c90e50..cc529bcd115675a82efb94e2d9d631b08de06693 100644 (file)
@@ -96,7 +96,7 @@
                        fpga-mgr = <&fpga_mgr>;
                };
 
-               clkmgr@ffd04000 {
+               clkmgr: clkmgr@ffd04000 {
                                compatible = "altr,clk-mgr";
                                reg = <0xffd04000 0x1000>;
                                u-boot,dm-pre-reloc;
index 6e5578d7bd3c015193fe1837a756f97a854ef934..ef10708ee867a811afc8d371a27ea3cdb7b922f9 100644 (file)
 &l4_sp_clk {
        u-boot,dm-pre-reloc;
 };
+
+&clkmgr {
+       u-boot,dm-pre-reloc;
+};
+
+&sysmgr {
+       u-boot,dm-pre-reloc;
+};
index bd68a78a37a9b6b22f66e1b33cb2e6822adfddab..a8e61cf7280a3b24f969facd9767002eebfd9c2f 100755 (executable)
@@ -82,7 +82,7 @@
                ranges = <0 0 0 0xffffffff>;
                u-boot,dm-pre-reloc;
 
-               clkmgr@ffd1000 {
+               clkmgr: clkmgr@ffd10000 {
                        compatible = "altr,clk-mgr";
                        reg = <0xffd10000 0x1000>;
                };
index e1cfb522bfce88a9d07381be45eb81a7e4f22511..38855aecd7ea0c4a73703fee392eac67873661eb 100755 (executable)
        };
 };
 
+&clkmgr {
+       u-boot,dm-pre-reloc;
+};
+
 &qspi {
        status = "okay";
        u-boot,dm-pre-reloc;
@@ -23,3 +27,7 @@
        spi-rx-bus-width = <4>;
        u-boot,dm-pre-reloc;
 };
+
+&sysmgr {
+       u-boot,dm-pre-reloc;
+};