arm64: dts: renesas: salvator-x: Add DU external dot clock sources
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 13 May 2017 23:16:14 +0000 (02:16 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 22 May 2017 12:54:51 +0000 (14:54 +0200)
The DU1 and DU2 external dot clocks are fixed frequency clock generators
running at 33MHz, while the DU0 and DU3 external dot clocks are
generated by an I2C-controlled programmable clock generator.

All those clock generators are available on both the H3 and M3-W
Salvator-X boards. Add them to the salvator-x.dtsi file.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/salvator-x.dtsi

index 7240bcd759183d4e5fd251cc9dca464dc64660fa..35cd7e367234bc472370167fca4b4c2dd42830e1 100644 (file)
                #clock-cells = <0>;
                clock-frequency = <24576000>;
        };
+
+       /* External DU dot clocks */
+       x21_clk: x21-clock {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <33000000>;
+       };
+
+       x22_clk: x22-clock {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <33000000>;
+       };
+
+       x23_clk: x23-clock {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <25000000>;
+       };
 };
 
 &audio_clk_a {
 &i2c4 {
        status = "okay";
 
+       versaclock5: clock-generator@6a {
+               compatible = "idt,5p49v5923";
+               reg = <0x6a>;
+               #clock-cells = <1>;
+               clocks = <&x23_clk>;
+               clock-names = "xin";
+       };
+
        csa_vdd: adc@7c {
                compatible = "maxim,max9611";
                reg = <0x7c>;