arm64: dts: ulcb: Add DU external dot clock sources
authorVladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Fri, 7 Jul 2017 02:36:59 +0000 (05:36 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 27 Jul 2017 13:59:38 +0000 (15:59 +0200)
The DU0/DU1/DU2/DU3 external dot clocks are generated by an I2C-controlled
programmable clock generator.

Clock generator is available on both the H3 and M3-W ULCB boards.
Add this to the ulcb.dtsi file.

Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/ulcb.dtsi

index 0467cd05171042362769f40d2d7221ca2338b229..17a1f00ba36ffabe1dc190ee42a3b8f724018ccc 100644 (file)
                #clock-cells = <0>;
                clock-frequency = <24576000>;
        };
+
+       x23_clk: x23-clock {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <25000000>;
+       };
 };
 
 &audio_clk_a {
        status = "okay";
 
        clock-frequency = <400000>;
+
+       versaclock5: clock-generator@6a {
+               compatible = "idt,5p49v5925";
+               reg = <0x6a>;
+               #clock-cells = <1>;
+               clocks = <&x23_clk>;
+               clock-names = "xin";
+       };
 };
 
 &i2c_dvfs {