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 c94455ce4ded9d49f7bfa0defeef51c698b95a94..17ee55a20cc98941ee9362e1b511cae324bb73ac 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 4d76edab55a01e413089f65833766b760b47b7e0..d9d5831f4f8b781c17026d4ee4cae33adb53444d 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>;
                };