ARM: dts: r8a7790: Add SCIF2 clock
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 3 Mar 2016 09:32:40 +0000 (10:32 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 19 Apr 2016 22:56:31 +0000 (08:56 +1000)
Based on Rev. 2.00 of the R-Car Gen2 datasheet.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790.dtsi
include/dt-bindings/clock/r8a7790-clock.h

index 60db8e4f57904e3abf0409bef5e05de677acff94..6f4fdfccdcfd9c962a7ff97c3a2070b0c77f5e08 100644 (file)
                mstp3_clks: mstp3_clks@e615013c {
                        compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
                        reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
-                       clocks = <&hp_clk>, <&cp_clk>, <&mmc1_clk>, <&sd3_clk>,
+                       clocks = <&hp_clk>, <&cp_clk>, <&mmc1_clk>, <&p_clk>, <&sd3_clk>,
                                 <&sd2_clk>, <&cpg_clocks R8A7790_CLK_SD1>, <&cpg_clocks R8A7790_CLK_SD0>, <&mmc0_clk>,
                                 <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>,
                                 <&hp_clk>, <&hp_clk>;
                        #clock-cells = <1>;
                        clock-indices = <
-                               R8A7790_CLK_IIC2 R8A7790_CLK_TPU0 R8A7790_CLK_MMCIF1 R8A7790_CLK_SDHI3
+                               R8A7790_CLK_IIC2 R8A7790_CLK_TPU0 R8A7790_CLK_MMCIF1 R8A7790_CLK_SCIF2 R8A7790_CLK_SDHI3
                                R8A7790_CLK_SDHI2 R8A7790_CLK_SDHI1 R8A7790_CLK_SDHI0 R8A7790_CLK_MMCIF0
                                R8A7790_CLK_IIC0 R8A7790_CLK_PCIEC R8A7790_CLK_IIC1 R8A7790_CLK_SSUSB R8A7790_CLK_CMT1
                                R8A7790_CLK_USBDMAC0 R8A7790_CLK_USBDMAC1
                        >;
                        clock-output-names =
-                               "iic2", "tpu0", "mmcif1", "sdhi3",
+                               "iic2", "tpu0", "mmcif1", "scif2", "sdhi3",
                                "sdhi2", "sdhi1", "sdhi0", "mmcif0",
                                "iic0", "pciec", "iic1", "ssusb", "cmt1",
                                "usbdmac0", "usbdmac1";
index 7b1ad8922eecdc50afd5bdeb4bb951c0f0c75e81..fa5e8da809f2e802f3d440dca3d23f1ecb666e82 100644 (file)
@@ -66,6 +66,7 @@
 #define R8A7790_CLK_IIC2               0
 #define R8A7790_CLK_TPU0               4
 #define R8A7790_CLK_MMCIF1             5
+#define R8A7790_CLK_SCIF2              10
 #define R8A7790_CLK_SDHI3              11
 #define R8A7790_CLK_SDHI2              12
 #define R8A7790_CLK_SDHI1              13