db410c: set clk node to be probed before relocation
authorRamon Fried <ramon.fried@linaro.org>
Fri, 20 Apr 2018 19:39:50 +0000 (22:39 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 8 May 2018 22:50:22 +0000 (18:50 -0400)
The clock node is used by the serial driver and it's needed
before relocation.
This patch ensures that the msm-serial driver can actually
use the clock node.

Signed-off-by: Ramon Fried <ramon.fried@linaro.org>
arch/arm/dts/dragonboard410c-uboot.dtsi
arch/arm/dts/dragonboard410c.dts

index c94455c..17ee55a 100644 (file)
@@ -9,6 +9,18 @@
        config {
                u-boot,mmc-env-partition = "boot";
        };
+
+       soc {
+               u-boot,dm-pre-reloc;
+
+       qcom,gcc@1800000 {
+               u-boot,dm-pre-reloc;
+       };
+
+       serial@78b0000 {
+               u-boot,dm-pre-reloc;
+               };
+       };
 };
 
 
index 4d76eda..d9d5831 100644 (file)
@@ -48,7 +48,6 @@
                serial@78b0000 {
                        compatible = "qcom,msm-uartdm-v1.4";
                        reg = <0x78b0000 0x200>;
-                       u-boot,dm-pre-reloc;
                        clock = <&clkc 4>;
                };