]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/sandbox/dts/test.dts
clk: convert API to match reset/mailbox style
[karo-tx-uboot.git] / arch / sandbox / dts / test.dts
index 879b30e3ccc6f8a0566c44ff860b5433b65c600f..9e46f9e815a6628b16669fb427b7f178b1bd5808 100644 (file)
                compatible = "denx,u-boot-fdt-test";
        };
 
-       clk@0 {
+       clk_fixed: clk-fixed {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <1234>;
+       };
+
+       clk_sandbox: clk-sbox {
                compatible = "sandbox,clk";
+               #clock-cells = <1>;
+       };
+
+       clk-test {
+               compatible = "sandbox,clk-test";
+               clocks = <&clk_fixed>,
+                        <&clk_sandbox 1>,
+                        <&clk_sandbox 0>;
+               clock-names = "fixed", "i2c", "spi";
        };
 
        eth@10002000 {