ARM: dts: r8a7792: add EtherAVB clocks
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 4 Jul 2016 21:22:38 +0000 (00:22 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 8 Aug 2016 10:52:56 +0000 (12:52 +0200)
Add the EtherAVB clock and its parent, HP clock to the R8A7792 device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7792.dtsi

index d5ab947..f97b034 100644 (file)
                        clock-div = <6>;
                        clock-mult = <1>;
                };
+               hp_clk: hp {
+                       compatible = "fixed-factor-clock";
+                       clocks = <&cpg_clocks R8A7792_CLK_PLL1>;
+                       #clock-cells = <0>;
+                       clock-div = <12>;
+                       clock-mult = <1>;
+               };
                p_clk: p {
                        compatible = "fixed-factor-clock";
                        clocks = <&cpg_clocks R8A7792_CLK_PLL1>;
                        clock-output-names = "hscif1", "hscif0", "scif3",
                                             "scif2", "scif1", "scif0";
                };
+               mstp8_clks: mstp8_clks@e6150990 {
+                       compatible = "renesas,r8a7792-mstp-clocks",
+                                    "renesas,cpg-mstp-clocks";
+                       reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
+                       clocks = <&hp_clk>;
+                       #clock-cells = <1>;
+                       clock-indices = <R8A7792_CLK_ETHERAVB>;
+                       clock-output-names = "etheravb";
+               };
                mstp9_clks: mstp9_clks@e6150994 {
                        compatible = "renesas,r8a7792-mstp-clocks",
                                     "renesas,cpg-mstp-clocks";