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 531c1af..0dd5e8d 100644 (file)
                        clock-mult = <2>;
                        clocks = <&clk_fixed>;
                };
+
+               osc {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <20000000>;
+               };
        };
 
        clk_sandbox: clk-sbox {