]> git.sur5r.net Git - u-boot/commitdiff
ARM64: zynqmp: Add u-boot,dm-pre-reloc to clk nodes
authorMichal Simek <michal.simek@xilinx.com>
Fri, 29 Jul 2016 11:03:29 +0000 (13:03 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 1 Aug 2016 06:35:02 +0000 (08:35 +0200)
Serial driver is getting clk information via DT that's why
also clk node needs to have this flag.

Different behavior was introduced by:
"dm: Use dm_scan_fdt_dev() directly where possible"
(sha1: 911954859d6dece49c3e4835faea004cfe392506)
where simple-bus driver starts to call dm_scan_fdt_dev() which has
additional logic around pre_reloc_only parameter which exclude
clk nodes.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/dts/zynqmp-clk.dtsi
arch/arm/dts/zynqmp-ep108-clk.dtsi

index 341890975929c15f1a289d1599fd0f12b340fd61..0918c686d70ea557a3bc7658b4fbae57388516ad 100644 (file)
@@ -13,6 +13,7 @@
                compatible = "fixed-clock";
                #clock-cells = <0>;
                clock-frequency = <100000000>;
+               u-boot,dm-pre-reloc;
        };
 
        clk125: clk125 {
index 48bb426dafaf2bd4d6eb1c529390e5490d347cc1..b3ce0de549e058c17ab7659dd68a298ee6203df1 100644 (file)
@@ -13,6 +13,7 @@
                compatible = "fixed-clock";
                #clock-cells = <0>;
                clock-frequency = <25000000>;
+               u-boot,dm-pre-reloc;
        };
 
        i2c_clk: i2c_clk {