ARM: dts: r8a7794: add EtherAVB clock
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 17 Feb 2016 20:43:41 +0000 (23:43 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 19 Feb 2016 05:54:10 +0000 (14:54 +0900)
Add the EtherAVB clock to the R8A7794 device tree.

Based on the commit eaa870b30553 ("ARM: shmobile: r8a7791: add EtherAVB
clock").

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7794.dtsi
include/dt-bindings/clock/r8a7794-clock.h

index 21a02df3609b24aac1c8f412fb7ff68990a961b8..042440b6dc8c4db31c64624678597bc00e3895af 100644 (file)
                mstp8_clks: mstp8_clks@e6150990 {
                        compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
                        reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
-                       clocks = <&zg_clk>, <&zg_clk>, <&p_clk>;
+                       clocks = <&zg_clk>, <&zg_clk>, <&hp_clk>, <&p_clk>;
                        #clock-cells = <1>;
                        clock-indices = <
-                               R8A7794_CLK_VIN1 R8A7794_CLK_VIN0 R8A7794_CLK_ETHER
+                               R8A7794_CLK_VIN1 R8A7794_CLK_VIN0
+                               R8A7794_CLK_ETHERAVB R8A7794_CLK_ETHER
                        >;
                        clock-output-names =
-                               "vin1", "vin0", "ether";
+                               "vin1", "vin0", "etheravb", "ether";
                };
                mstp9_clks: mstp9_clks@e6150994 {
                        compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
index a7a7e0370968d9b4e38c25ecd437c2d8a75beba1..f843de6bf37765e7fe1c2a01a25729afd8300fa1 100644 (file)
@@ -84,6 +84,7 @@
 /* MSTP8 */
 #define R8A7794_CLK_VIN1               10
 #define R8A7794_CLK_VIN0               11
+#define R8A7794_CLK_ETHERAVB           12
 #define R8A7794_CLK_ETHER              13
 
 /* MSTP9 */