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>
diff --git a/arch/arm/dts/dragonboard410c-uboot.dtsi b/arch/arm/dts/dragonboard410c-uboot.dtsi
index c94455c..17ee55a 100644
--- a/arch/arm/dts/dragonboard410c-uboot.dtsi
+++ b/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;
+ };
+ };
};
diff --git a/arch/arm/dts/dragonboard410c.dts b/arch/arm/dts/dragonboard410c.dts
index 4d76eda..d9d5831 100644
--- a/arch/arm/dts/dragonboard410c.dts
+++ b/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>;
};