]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dts: sandbox: Add 'osc' clock for Common Clock Framework [CCF] testing
authorLukasz Majewski <lukma@denx.de>
Mon, 24 Jun 2019 13:50:47 +0000 (15:50 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 19 Jul 2019 12:50:30 +0000 (14:50 +0200)
This patch adds the 'osc' fixed clock to facilitate the CCF testing in
the sandbox U-Boot. It is a starting point for building CCF hierarchy of
clocks.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
arch/sandbox/dts/test.dts

index 531c1afc973e123b4e497d2be162a31938f6198b..0dd5e8da5ad8a6de19e5fa92f59f52bbb03b1d4c 100644 (file)
                        clock-mult = <2>;
                        clocks = <&clk_fixed>;
                };
+
+               osc {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <20000000>;
+               };
        };
 
        clk_sandbox: clk-sbox {