ARM: dts: r8a7793: add m2 clock to device tree
authorSimon Horman <horms+renesas@verge.net.au>
Mon, 30 Nov 2015 07:11:37 +0000 (16:11 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 29 Jan 2016 00:28:39 +0000 (09:28 +0900)
Declare m2 clock in r8a7793 device tree.

Based on similar work for the r8a7791 by Laurent Pinchart.

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

index 530fa9488a4ae0ab22f7f1202d225d745facf1c5..6aabba6ef92c40bfdbb89b850a0c5039f934e25c 100644 (file)
                        clock-mult = <1>;
                        clock-output-names = "p";
                };
+               m2_clk: m2_clk {
+                       compatible = "fixed-factor-clock";
+                       clocks = <&cpg_clocks R8A7793_CLK_PLL1>;
+                       #clock-cells = <0>;
+                       clock-div = <8>;
+                       clock-mult = <1>;
+                       clock-output-names = "m2";
+               };
                rclk_clk: rclk_clk {
                        compatible = "fixed-factor-clock";
                        clocks = <&cpg_clocks R8A7793_CLK_PLL1>;