]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
db820c: set clk node to be probed before relocation
authorRamon Fried <ramon.fried@gmail.com>
Wed, 16 May 2018 09:13:36 +0000 (12:13 +0300)
committerTom Rini <trini@konsulko.com>
Sat, 26 May 2018 16:46:50 +0000 (12:46 -0400)
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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/dts/dragonboard820c-uboot.dtsi

index 88312b3fa16092d4c1f3053aee66926fcbee1e99..97394cc5b04a49bd0ff30341b67f2b7c5f216dce 100644 (file)
@@ -5,6 +5,20 @@
  * (C) Copyright 2017 Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@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>;