Skip to contentSkip to conversation

db410c: set clk node to be probed before relocation

PATCH Superseded Ramon Fried 1 participant 1 message Apr 20, 2018 Arm (32-bit)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---
v2: Moved the u-boot,dm-pre-reloc attribute to the -uboot.dtsi file

 arch/arm/dts/dragonboard410c-uboot.dtsi | 8 ++++++++
 arch/arm/dts/dragonboard410c.dts        | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)
arch/arm/dts/dragonboard410c-uboot.dtsi +8 -0
index c3475c4227..adf6b62f13 100644
@@ -10,6 +10,14 @@
 	config {
 		u-boot,mmc-env-partition = "boot";
 	};
+
+	soc {
+		u-boot,dm-pre-reloc;
+
+	serial at 78b0000 {
+		u-boot,dm-pre-reloc;
+		};
+	};
 };
 
 
arch/arm/dts/dragonboard410c.dts +1 -1
index 5ccfe7f8c8..d6a296ca37 100644
@@ -44,12 +44,12 @@
 			reg = <0x1800000 0x80000>;
 			#address-cells = <0x1>;
 			#size-cells = <0x0>;
+			u-boot,dm-pre-reloc;
 		};
 
 		serial at 78b0000 {
 			compatible = "qcom,msm-uartdm-v1.4";
 			reg = <0x78b0000 0x200>;
-			u-boot,dm-pre-reloc;
 			clock = <&clkc 4>;
 		};
 
Signature · 1 line
2.14.1