From: Ramon Fried Date: Fri, 20 Apr 2018 22:39:50 +0300 Subject: [U-Boot] [PATCH v3] db410c: set clk node to be probed before relocation Message-ID: <20180420193950.25712-1-ramon.fried@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Signed-off-by: Ramon Fried --- v2: Moved the u-boot,dm-pre-reloc attribute to the -uboot.dtsi file v3: Moved the forgotten u-boot,dm-pre-reloc also to -uboot.dtsi file arch/arm/dts/dragonboard410c-uboot.dtsi | 12 ++++++++++++ arch/arm/dts/dragonboard410c.dts | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/dragonboard410c-uboot.dtsi b/arch/arm/dts/dragonboard410c-uboot.dtsi index c3475c4227..1de1419edc 100644 --- a/arch/arm/dts/dragonboard410c-uboot.dtsi +++ b/arch/arm/dts/dragonboard410c-uboot.dtsi @@ -10,6 +10,18 @@ config { u-boot,mmc-env-partition = "boot"; }; + + soc { + u-boot,dm-pre-reloc; + + qcom,gcc at 1800000 { + u-boot,dm-pre-reloc; + }; + + serial at 78b0000 { + u-boot,dm-pre-reloc; + }; + }; }; diff --git a/arch/arm/dts/dragonboard410c.dts b/arch/arm/dts/dragonboard410c.dts index 5ccfe7f8c8..aa9b0a138b 100644 --- a/arch/arm/dts/dragonboard410c.dts +++ b/arch/arm/dts/dragonboard410c.dts @@ -49,7 +49,6 @@ serial at 78b0000 { compatible = "qcom,msm-uartdm-v1.4"; reg = <0x78b0000 0x200>; - u-boot,dm-pre-reloc; clock = <&clkc 4>; }; -- 2.14.1