ARM: shmobile: r8a7779 dtsi: Correct #address-cells/#size-cells for clocks
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 23 May 2014 07:46:19 +0000 (09:46 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:59 +0000 (11:15 +0100)
Warning (ranges_format): /clocks has empty "ranges" property but its #address-cells (2) differs from / (1)
Warning (ranges_format): /clocks has empty "ranges" property but its #size-cells (2) differs from / (1)

As r8a7779 doesn't support LPAE, change #address-cells and #size-cells from
"<2>" to "<1>", and update the affected "reg" properties to fix this.

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>
(cherry picked from commit 5cc8afcbc47c5f33732fb1a4b37a35841e7494e8)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7779.dtsi

index 27bf227..61d08f4 100644 (file)
        };
 
        clocks {
-               #address-cells = <2>;
-               #size-cells = <2>;
+               #address-cells = <1>;
+               #size-cells = <1>;
                ranges;
 
                /* External root clock */
                /* Special CPG clocks */
                cpg_clocks: clocks@ffc80000 {
                        compatible = "renesas,r8a7779-cpg-clocks";
-                       reg = <0 0xffc80000 0 0x30>;
+                       reg = <0xffc80000 0x30>;
                        clocks = <&extal_clk>;
                        #clock-cells = <1>;
                        clock-output-names = "plla", "z", "zs", "s",
                mstp0_clks: clocks@ffc80030 {
                        compatible = "renesas,r8a7779-mstp-clocks",
                                     "renesas,cpg-mstp-clocks";
-                       reg = <0 0xffc80030 0 4>;
+                       reg = <0xffc80030 4>;
                        clocks = <&cpg_clocks R8A7779_CLK_S>,
                                 <&cpg_clocks R8A7779_CLK_P>,
                                 <&cpg_clocks R8A7779_CLK_P>,
                mstp1_clks: clocks@ffc80034 {
                        compatible = "renesas,r8a7779-mstp-clocks",
                                     "renesas,cpg-mstp-clocks";
-                       reg = <0 0xffc80034 0 4>, <0 0xffc80044 0 4>;
+                       reg = <0xffc80034 4>, <0xffc80044 4>;
                        clocks = <&cpg_clocks R8A7779_CLK_P>,
                                 <&cpg_clocks R8A7779_CLK_P>,
                                 <&cpg_clocks R8A7779_CLK_S>,
                mstp3_clks: clocks@ffc8003c {
                        compatible = "renesas,r8a7779-mstp-clocks",
                                     "renesas,cpg-mstp-clocks";
-                       reg = <0 0xffc8003c 0 4>;
+                       reg = <0xffc8003c 4>;
                        clocks = <&s4_clk>, <&s4_clk>, <&s4_clk>, <&s4_clk>,
                                 <&s4_clk>, <&s4_clk>;
                        #clock-cells = <1>;