ARM: shmobile: r8a7794: Add VIN clock to device tree
authorKoji Matsuoka <koji.matsuoka.xm@renesas.com>
Thu, 30 Oct 2014 05:58:55 +0000 (14:58 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 4 Nov 2014 00:09:52 +0000 (09:09 +0900)
Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.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 088e79c6551ca4b8fea1c136745245a708ab3360..95f656d22fdeca800bce5c3cd3c978b8b7ce460c 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 = <&p_clk>;
+                       clocks = <&zg_clk>, <&zg_clk>, <&p_clk>;
                        #clock-cells = <1>;
                        renesas,clock-indices = <
-                               R8A7794_CLK_ETHER
+                               R8A7794_CLK_VIN1 R8A7794_CLK_VIN0 R8A7794_CLK_ETHER
                        >;
                        clock-output-names =
-                               "ether";
+                               "vin1", "vin0", "ether";
                };
                mstp11_clks: mstp11_clks@e615099c {
                        compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
index 9ac1043e25bce45a20b45cf116404a0ccb9cdd26..fd7cdee6a666b696f1656c85f397c859456529f3 100644 (file)
@@ -61,6 +61,8 @@
 #define R8A7794_CLK_SCIF0              21
 
 /* MSTP8 */
+#define R8A7794_CLK_VIN1               10
+#define R8A7794_CLK_VIN0               11
 #define R8A7794_CLK_ETHER              13
 
 /* MSTP9 */