Browse Source

db410c: set clk node to be probed before relocation

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>
Ramon Fried 7 years ago
parent
commit
707e6ef964
2 changed files with 12 additions and 1 deletions
  1. 12 0
      arch/arm/dts/dragonboard410c-uboot.dtsi
  2. 0 1
      arch/arm/dts/dragonboard410c.dts

+ 12 - 0
arch/arm/dts/dragonboard410c-uboot.dtsi

@@ -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;
+		};
+	};
 };
 
 

+ 0 - 1
arch/arm/dts/dragonboard410c.dts

@@ -48,7 +48,6 @@
 		serial@78b0000 {
 			compatible = "qcom,msm-uartdm-v1.4";
 			reg = <0x78b0000 0x200>;
-			u-boot,dm-pre-reloc;
 			clock = <&clkc 4>;
 		};