ARM: shmobile: r8a7779: Use MSTP for SCIF clocks
authorMagnus Damm <damm+renesas@opensource.se>
Mon, 15 Dec 2014 04:56:08 +0000 (13:56 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Sun, 21 Dec 2014 10:07:20 +0000 (19:07 +0900)
Hook up MSTP clocks to SCIF devices on r8a7779 to allow
clock gating to work as expected.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7779.dtsi

index ee3bb3e..d9e1abf 100644 (file)
                compatible = "renesas,scif-r8a7779", "renesas,scif";
                reg = <0xffe40000 0x100>;
                interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH>;
-               clocks = <&cpg_clocks R8A7779_CLK_P>;
+               clocks = <&mstp0_clks R8A7779_CLK_SCIF0>;
                clock-names = "sci_ick";
                status = "disabled";
        };
                compatible = "renesas,scif-r8a7779", "renesas,scif";
                reg = <0xffe41000 0x100>;
                interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>;
-               clocks = <&cpg_clocks R8A7779_CLK_P>;
+               clocks = <&mstp0_clks R8A7779_CLK_SCIF1>;
                clock-names = "sci_ick";
                status = "disabled";
        };
                compatible = "renesas,scif-r8a7779", "renesas,scif";
                reg = <0xffe42000 0x100>;
                interrupts = <0 90 IRQ_TYPE_LEVEL_HIGH>;
-               clocks = <&cpg_clocks R8A7779_CLK_P>;
+               clocks = <&mstp0_clks R8A7779_CLK_SCIF2>;
                clock-names = "sci_ick";
                status = "disabled";
        };
                compatible = "renesas,scif-r8a7779", "renesas,scif";
                reg = <0xffe43000 0x100>;
                interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>;
-               clocks = <&cpg_clocks R8A7779_CLK_P>;
+               clocks = <&mstp0_clks R8A7779_CLK_SCIF3>;
                clock-names = "sci_ick";
                status = "disabled";
        };
                compatible = "renesas,scif-r8a7779", "renesas,scif";
                reg = <0xffe44000 0x100>;
                interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
-               clocks = <&cpg_clocks R8A7779_CLK_P>;
+               clocks = <&mstp0_clks R8A7779_CLK_SCIF4>;
                clock-names = "sci_ick";
                status = "disabled";
        };
                compatible = "renesas,scif-r8a7779", "renesas,scif";
                reg = <0xffe45000 0x100>;
                interrupts = <0 93 IRQ_TYPE_LEVEL_HIGH>;
-               clocks = <&cpg_clocks R8A7779_CLK_P>;
+               clocks = <&mstp0_clks R8A7779_CLK_SCIF5>;
                clock-names = "sci_ick";
                status = "disabled";
        };