From: Eugen.Hristev at microchip.com Date: Tue, 6 Oct 2020 07:05:36 +0000 Subject: [PATCH 4/7] ARM: dts: sam9x60: use u-boot,dm-pre-reloc In-Reply-To: References: <1601909923-31137-1-git-send-email-claudiu.beznea@microchip.com> <1601909923-31137-5-git-send-email-claudiu.beznea@microchip.com> <5599e3d2-a032-536f-8cc0-a7684b44d290@microchip.com> Message-ID: <4c7b5818-bc79-cf6d-313e-6d87d7996a9d@microchip.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 06.10.2020 09:57, Claudiu Beznea - M18063 wrote: > Hi Eugen, > > On 06.10.2020 09:39, Eugen Hristev - M18282 wrote: >> On 05.10.2020 17:58, Claudiu Beznea wrote: >>> Use u-boot,dm-pre-reloc for slow xtal and main xtal. >>> >>> Signed-off-by: Claudiu Beznea >>> --- >> >> Hi Claudiu, >> >> For this patch and the following DT patches: >> >> the u-boot,dm-pre-reloc property must be added to the file >> sam9x60ek-u-boot.dtsi (or sam9x60-u-boot.dtsi if needed to be created ) > > For clocks section in device tree (which contains these fixed clocks) there > is no entry in sam9x60ek-u-boot.dtsi. Would you like me to add > u-boot,dm-pre-reloc only per section or for each clock in the clocks section? If your patch adds u-boot,dm-pre-reloc in a section, then add this section to the sam9x60ek-u-boot.dtsi file (you can add just a pointer to the section like §ion { u-boot-dm,pre-reloc; }; ) If your patch adds the property to a clock, then you can just add a pointer to that clock in the sam9x60ek-u-boot.dtsi file > > Thank you, > Claudiu Beznea > >> >> Eugen >> >>> arch/arm/dts/sam9x60.dtsi | 2 ++ >>> 1 file changed, 2 insertions(+) >>> >>> diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi >>> index 51de586e1900..a4e2576d8e0f 100644 >>> --- a/arch/arm/dts/sam9x60.dtsi >>> +++ b/arch/arm/dts/sam9x60.dtsi >>> @@ -30,11 +30,13 @@ >>> slow_xtal: slow_xtal { >>> compatible = "fixed-clock"; >>> #clock-cells = <0>; >>> + u-boot,dm-pre-reloc; >>> }; >>> >>> main_xtal: main_xtal { >>> compatible = "fixed-clock"; >>> #clock-cells = <0>; >>> + u-boot,dm-pre-reloc; >>> }; >>> }; >>> >>>