]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: shmobile: r8a7794: Add MMP and VSP1 clocks to device tree
authorYoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com>
Wed, 12 Nov 2014 08:55:57 +0000 (17:55 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 19 Nov 2014 00:22:12 +0000 (09:22 +0900)
Signed-off-by: Yoshifumi Hosoya <yoshifumi.hosoya.wj@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 b6f8f451e3b1e5bb0d12f5b8cc0d341faf6463d4..19c9de3f2a5ade334488161a027133538bdacc7f 100644 (file)
                mstp1_clks: mstp1_clks@e6150134 {
                        compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
                        reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
-                       clocks = <&p_clk>, <&zg_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
-                                <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>;
+                       clocks = <&zs_clk>, <&zs_clk>, <&p_clk>, <&zg_clk>, <&zs_clk>,
+                                <&zs_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>, <&cp_clk>,
+                                <&zs_clk>, <&zs_clk>;
                        #clock-cells = <1>;
                        renesas,clock-indices = <
-                               R8A7794_CLK_TMU1 R8A7794_CLK_3DG R8A7794_CLK_TMU3
-                               R8A7794_CLK_TMU2 R8A7794_CLK_CMT0 R8A7794_CLK_TMU0
+                               R8A7794_CLK_VCP0 R8A7794_CLK_VPC0 R8A7794_CLK_TMU1
+                               R8A7794_CLK_3DG R8A7794_CLK_2DDMAC R8A7794_CLK_FDP1_0
+                               R8A7794_CLK_TMU3 R8A7794_CLK_TMU2 R8A7794_CLK_CMT0
+                               R8A7794_CLK_TMU0 R8A7794_CLK_VSP1_DU0 R8A7794_CLK_VSP1_S
                        >;
                        clock-output-names =
-                               "tmu1", "3dg", "tmu3", "tmu2", "cmt0", "tmu0";
+                               "vcp0", "vpc0", "tmu1", "3dg", "2ddmac", "fdp1-0",
+                               "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du0", "vsps";
                };
                mstp2_clks: mstp2_clks@e6150138 {
                        compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
index 9066213f5a96471aff139ba4b45a002c42a07c4b..aa9c286e60c0a322d10d45273686adb034591fa1 100644 (file)
 #define R8A7794_CLK_MSIOF0             0
 
 /* MSTP1 */
+#define R8A7794_CLK_VCP0               1
+#define R8A7794_CLK_VPC0               3
 #define R8A7794_CLK_TMU1               11
 #define R8A7794_CLK_3DG                        12
+#define R8A7794_CLK_2DDMAC             15
+#define R8A7794_CLK_FDP1_0             19
 #define R8A7794_CLK_TMU3               21
 #define R8A7794_CLK_TMU2               22
 #define R8A7794_CLK_CMT0               24
 #define R8A7794_CLK_TMU0               25
+#define R8A7794_CLK_VSP1_DU0           28
+#define R8A7794_CLK_VSP1_S             31
 
 /* MSTP2 */
 #define R8A7794_CLK_SCIFA2             2