ARM: dts: r8a7792: add GPIO clocks
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 5 Jul 2016 22:01:22 +0000 (01:01 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 8 Aug 2016 10:52:52 +0000 (12:52 +0200)
Describe the GPIO clocks in the R8A7792 device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7792.dtsi

index 0b746ddd5cd6e048f86e65e0579791e0ec93e5f5..da3eb295c6f1ad637f835f2210d970255408d2fa 100644 (file)
                        clock-output-names = "hscif1", "hscif0", "scif3",
                                             "scif2", "scif1", "scif0";
                };
+               mstp9_clks: mstp9_clks@e6150994 {
+                       compatible = "renesas,r8a7792-mstp-clocks",
+                                    "renesas,cpg-mstp-clocks";
+                       reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
+                       clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
+                                <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
+                                <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>;
+                       #clock-cells = <1>;
+                       clock-indices = <
+                               R8A7792_CLK_GPIO7 R8A7792_CLK_GPIO6
+                               R8A7792_CLK_GPIO5 R8A7792_CLK_GPIO4
+                               R8A7792_CLK_GPIO3 R8A7792_CLK_GPIO2
+                               R8A7792_CLK_GPIO1 R8A7792_CLK_GPIO0
+                               R8A7792_CLK_GPIO11 R8A7792_CLK_GPIO10
+                               R8A7792_CLK_GPIO9 R8A7792_CLK_GPIO8
+                       >;
+                       clock-output-names =
+                               "gpio7", "gpio6", "gpio5", "gpio4",
+                               "gpio3", "gpio2", "gpio1", "gpio0",
+                               "gpio11", "gpio10", "gpio9", "gpio8";
+               };
        };
 
        /* External root clock */