ARM: shmobile: r8a7790 dtsi: Add GPIO clocks
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 23 Apr 2014 08:25:27 +0000 (10:25 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 13 May 2014 01:48:54 +0000 (10:48 +0900)
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790.dtsi

index bf2db38eade105c1af303337e8acb9471155f0b5..e6130d6ff28eed65e1fed6ed9551085a24924526 100644 (file)
                gpio-ranges = <&pfc 0 0 32>;
                #interrupt-cells = <2>;
                interrupt-controller;
+               clocks = <&mstp9_clks R8A7790_CLK_GPIO0>;
        };
 
        gpio1: gpio@e6051000 {
                gpio-ranges = <&pfc 0 32 32>;
                #interrupt-cells = <2>;
                interrupt-controller;
+               clocks = <&mstp9_clks R8A7790_CLK_GPIO1>;
        };
 
        gpio2: gpio@e6052000 {
                gpio-ranges = <&pfc 0 64 32>;
                #interrupt-cells = <2>;
                interrupt-controller;
+               clocks = <&mstp9_clks R8A7790_CLK_GPIO2>;
        };
 
        gpio3: gpio@e6053000 {
                gpio-ranges = <&pfc 0 96 32>;
                #interrupt-cells = <2>;
                interrupt-controller;
+               clocks = <&mstp9_clks R8A7790_CLK_GPIO3>;
        };
 
        gpio4: gpio@e6054000 {
                gpio-ranges = <&pfc 0 128 32>;
                #interrupt-cells = <2>;
                interrupt-controller;
+               clocks = <&mstp9_clks R8A7790_CLK_GPIO4>;
        };
 
        gpio5: gpio@e6055000 {
                gpio-ranges = <&pfc 0 160 32>;
                #interrupt-cells = <2>;
                interrupt-controller;
+               clocks = <&mstp9_clks R8A7790_CLK_GPIO5>;
        };
 
        thermal@e61f0000 {
                mstp9_clks: mstp9_clks@e6150994 {
                        compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
                        reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
-                       clocks = <&p_clk>, <&p_clk>, <&cpg_clocks R8A7790_CLK_QSPI>, <&cp_clk>,
+                       clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>,
+                                <&cp_clk>, <&cp_clk>, <&cp_clk>,
+                                <&p_clk>, <&p_clk>, <&cpg_clocks R8A7790_CLK_QSPI>, <&cp_clk>,
                                 <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>;
                        #clock-cells = <1>;
                        renesas,clock-indices = <
+                               R8A7790_CLK_GPIO5 R8A7790_CLK_GPIO4 R8A7790_CLK_GPIO3
+                               R8A7790_CLK_GPIO2 R8A7790_CLK_GPIO1 R8A7790_CLK_GPIO0
                                R8A7790_CLK_RCAN1 R8A7790_CLK_RCAN0 R8A7790_CLK_QSPI_MOD R8A7790_CLK_IICDVFS
                                R8A7790_CLK_I2C3 R8A7790_CLK_I2C2 R8A7790_CLK_I2C1 R8A7790_CLK_I2C0
                        >;
                        clock-output-names =
+                               "gpio5", "gpio4", "gpio3", "gpio2", "gpio1", "gpio0",
                                "rcan1", "rcan0", "qspi_mod", "iic3",
                                "i2c3", "i2c2", "i2c1", "i2c0";
                };