]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: shmobile: r8a7790: Add MSIOF clocks in device tree
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 19 Dec 2013 15:51:01 +0000 (16:51 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 24 Dec 2013 14:01:11 +0000 (23:01 +0900)
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790.dtsi
include/dt-bindings/clock/r8a7790-clock.h

index 71ec31c6d9b6fa859d4a87da34f0de76a6ca7b62..9c9a9920accede46b8d8574ff5888ccb92c1af9c 100644 (file)
                };
 
                /* Gate clocks */
+               mstp0_clks: mstp0_clks@e6150130 {
+                       compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
+                       reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
+                       clocks = <&mp_clk>;
+                       #clock-cells = <1>;
+                       renesas,clock-indices = <R8A7790_CLK_MSIOF0>;
+                       clock-output-names = "msiof0";
+               };
                mstp1_clks: mstp1_clks@e6150134 {
                        compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
                        reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
                        compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
                        reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
                        clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
-                                <&mp_clk>;
+                                <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>;
                        #clock-cells = <1>;
                        renesas,clock-indices = <
                                R8A7790_CLK_SCIFA2 R8A7790_CLK_SCIFA1 R8A7790_CLK_SCIFA0
-                               R8A7790_CLK_SCIFB0 R8A7790_CLK_SCIFB1 R8A7790_CLK_SCIFB2
+                               R8A7790_CLK_MSIOF2 R8A7790_CLK_SCIFB0 R8A7790_CLK_SCIFB1
+                               R8A7790_CLK_MSIOF1 R8A7790_CLK_MSIOF3 R8A7790_CLK_SCIFB2
                        >;
                        clock-output-names =
-                               "scifa2", "scifa1", "scifa0", "scifb0", "scifb1",
-                               "scifb2";
+                               "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
+                               "scifb1", "msiof1", "msiof3", "scifb2";
                };
                mstp3_clks: mstp3_clks@e615013c {
                        compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
index 420f0b00ae1ed92466863a1ea399f12519cca34e..bbabb8e80113256b8e4f1baf5443c2ef23f68e8e 100644 (file)
@@ -22,6 +22,9 @@
 #define R8A7790_CLK_SD1                        8
 #define R8A7790_CLK_Z                  9
 
+/* MSTP0 */
+#define R8A7790_CLK_MSIOF0             0
+
 /* MSTP1 */
 #define R8A7790_CLK_TMU1               11
 #define R8A7790_CLK_TMU3               21
 #define R8A7790_CLK_SCIFA2             2
 #define R8A7790_CLK_SCIFA1             3
 #define R8A7790_CLK_SCIFA0             4
+#define R8A7790_CLK_MSIOF2             5
 #define R8A7790_CLK_SCIFB0             6
 #define R8A7790_CLK_SCIFB1             7
+#define R8A7790_CLK_MSIOF1             8
+#define R8A7790_CLK_MSIOF3             15
 #define R8A7790_CLK_SCIFB2             16
 #define R8A7790_CLK_SYS_DMAC0          18
 #define R8A7790_CLK_SYS_DMAC1          19