OSDN Git Service

ARM: shmobile: r8a7794: Add USBDMAC[01] clocks to device tree
authorKazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Mon, 8 Dec 2014 00:54:36 +0000 (09:54 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Sun, 21 Dec 2014 07:57:18 +0000 (16:57 +0900)
Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
[horms: merged per-clock patches]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm/boot/dts/r8a7794.dtsi
include/dt-bindings/clock/r8a7794-clock.h

index e537654..13e4a8d 100644 (file)
                mstp3_clks: mstp3_clks@e615013c {
                        compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
                        reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
-                       clocks = <&rclk_clk>;
+                       clocks = <&rclk_clk>, <&hp_clk>, <&hp_clk>;
                        #clock-cells = <1>;
                        clock-indices = <
-                               R8A7794_CLK_CMT1
+                               R8A7794_CLK_CMT1 R8A7794_CLK_USBDMAC0
+                               R8A7794_CLK_USBDMAC1
                        >;
                        clock-output-names =
-                               "cmt1";
+                               "cmt1", "usbdmac0", "usbdmac1";
                };
                mstp7_clks: mstp7_clks@e615014c {
                        compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
index 94e2bbf..52492d8 100644 (file)
@@ -51,6 +51,8 @@
 
 /* MSTP3 */
 #define R8A7794_CLK_CMT1               29
+#define R8A7794_CLK_USBDMAC0           30
+#define R8A7794_CLK_USBDMAC1           31
 
 /* MSTP5 */
 #define R8A7794_CLK_THERMAL            22