[U-Boot] [PATCH 1/7] db820c: set clk node to be probed before relocation

Ramon Fried ramon.fried at gmail.com
Sat May 12 10:15:52 UTC 2018


The clock and serial nodes are needed before relocation.
This patch ensures that the msm-serial driver will probe
and provide uart output before relocation.

Signed-off-by: Ramon Fried <ramon.fried at gmail.com>
---
 arch/arm/dts/dragonboard820c-uboot.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/dts/dragonboard820c-uboot.dtsi b/arch/arm/dts/dragonboard820c-uboot.dtsi
index 88312b3fa1..81df788fca 100644
--- a/arch/arm/dts/dragonboard820c-uboot.dtsi
+++ b/arch/arm/dts/dragonboard820c-uboot.dtsi
@@ -5,6 +5,20 @@
  * (C) Copyright 2017 Jorge Ramirez-Ortiz <jorge.ramirez-ortiz at linaro.org>
  */
 
+/ {
+	soc {
+		u-boot,dm-pre-reloc;
+
+	clock-controller at 300000 {
+		u-boot,dm-pre-reloc;
+	};
+
+	serial at 75b0000 {
+		u-boot,dm-pre-reloc;
+		};
+	};
+};
+
 &pm8994_pon {
 	key_vol_down {
 		gpios = <&pm8994_pon 1 0>;
-- 
2.14.1



More information about the U-Boot mailing list