diff mbox series

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

Message ID 20180516091342.7509-1-ramon.fried@gmail.com
State Accepted
Commit ffada23ca7fe6f0cff960bbb1288060d227f2d93
Delegated to: Tom Rini
Headers show
Series [U-Boot,v2,1/7] db820c: set clk node to be probed before relocation | expand

Commit Message

Ramon Fried May 16, 2018, 9:13 a.m. UTC
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>
---
v2: fixed alignment
 arch/arm/dts/dragonboard820c-uboot.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Simon Glass May 16, 2018, 8:57 p.m. UTC | #1
On 16 May 2018 at 03:13, Ramon Fried <ramon.fried@gmail.com> wrote:
> 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>
> ---
> v2: fixed alignment
>  arch/arm/dts/dragonboard820c-uboot.dtsi | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
Tom Rini May 28, 2018, 7:12 p.m. UTC | #2
On Wed, May 16, 2018 at 12:13:36PM +0300, Ramon Fried wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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-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>;