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.fr...@gmail.com>
---
v2: fixed alignment
 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..97394cc5b0 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-or...@linaro.org>
  */
 
+/ {
+       soc {
+               u-boot,dm-pre-reloc;
+
+               clock-controller@300000 {
+                       u-boot,dm-pre-reloc;
+               };
+
+               serial@75b0000 {
+                       u-boot,dm-pre-reloc;
+                       };
+               };
+};
+
 &pm8994_pon {
        key_vol_down {
                gpios = <&pm8994_pon 1 0>;
-- 
2.17.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to