From: Jorge Ramirez-Ortiz Date: Wed, 18 Apr 2018 09:02:02 +0200 Subject: [U-Boot] [PATCH] db410c: set clk node to be probed before relocation In-Reply-To: <20180417120134.23904-1-ramon.fried@linaro.org> References: <20180417120134.23904-1-ramon.fried@linaro.org> Message-ID: <945aa38f-86e1-9f53-c40f-6263ee96b630@baylibre.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/17/2018 02:01 PM, Ramon Fried wrote: > 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 > --- > arch/arm/dts/dragonboard410c.dts | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/dts/dragonboard410c.dts b/arch/arm/dts/dragonboard410c.dts > index 5ccfe7f8c8..f37ef5d523 100644 > --- a/arch/arm/dts/dragonboard410c.dts > +++ b/arch/arm/dts/dragonboard410c.dts > @@ -38,12 +38,14 @@ > #size-cells = <0x1>; > ranges = <0x0 0x0 0x0 0xffffffff>; > compatible = "simple-bus"; > + u-boot,dm-pre-reloc; I think the intent is to make dm-pre-reloc legacy. New platforms should be using "u-boot,dm-spl" even if CONFIG_SPL_BUILD is not enabled (I believe it should work) > > clkc: qcom,gcc at 1800000 { > compatible = "qcom,gcc-apq8016"; > reg = <0x1800000 0x80000>; > #address-cells = <0x1>; > #size-cells = <0x0>; > + u-boot,dm-pre-reloc; > }; > > serial at 78b0000 {