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 <claudiu.bez...@microchip.com> >>> --- >> >> 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; >>> }; >>> }; >>> >>>