提交 5cc8afcb 编写于 作者: G Geert Uytterhoeven 提交者: Simon Horman

ARM: shmobile: r8a7779 dtsi: Correct #address-cells/#size-cells for clocks

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: NGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 2909b874
...@@ -284,8 +284,8 @@ ...@@ -284,8 +284,8 @@
}; };
clocks { clocks {
#address-cells = <2>; #address-cells = <1>;
#size-cells = <2>; #size-cells = <1>;
ranges; ranges;
/* External root clock */ /* External root clock */
...@@ -300,7 +300,7 @@ ...@@ -300,7 +300,7 @@
/* Special CPG clocks */ /* Special CPG clocks */
cpg_clocks: clocks@ffc80000 { cpg_clocks: clocks@ffc80000 {
compatible = "renesas,r8a7779-cpg-clocks"; compatible = "renesas,r8a7779-cpg-clocks";
reg = <0 0xffc80000 0 0x30>; reg = <0xffc80000 0x30>;
clocks = <&extal_clk>; clocks = <&extal_clk>;
#clock-cells = <1>; #clock-cells = <1>;
clock-output-names = "plla", "z", "zs", "s", clock-output-names = "plla", "z", "zs", "s",
...@@ -345,7 +345,7 @@ ...@@ -345,7 +345,7 @@
mstp0_clks: clocks@ffc80030 { mstp0_clks: clocks@ffc80030 {
compatible = "renesas,r8a7779-mstp-clocks", compatible = "renesas,r8a7779-mstp-clocks",
"renesas,cpg-mstp-clocks"; "renesas,cpg-mstp-clocks";
reg = <0 0xffc80030 0 4>; reg = <0xffc80030 4>;
clocks = <&cpg_clocks R8A7779_CLK_S>, clocks = <&cpg_clocks R8A7779_CLK_S>,
<&cpg_clocks R8A7779_CLK_P>, <&cpg_clocks R8A7779_CLK_P>,
<&cpg_clocks R8A7779_CLK_P>, <&cpg_clocks R8A7779_CLK_P>,
...@@ -382,7 +382,7 @@ ...@@ -382,7 +382,7 @@
mstp1_clks: clocks@ffc80034 { mstp1_clks: clocks@ffc80034 {
compatible = "renesas,r8a7779-mstp-clocks", compatible = "renesas,r8a7779-mstp-clocks",
"renesas,cpg-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>, clocks = <&cpg_clocks R8A7779_CLK_P>,
<&cpg_clocks R8A7779_CLK_P>, <&cpg_clocks R8A7779_CLK_P>,
<&cpg_clocks R8A7779_CLK_S>, <&cpg_clocks R8A7779_CLK_S>,
...@@ -411,7 +411,7 @@ ...@@ -411,7 +411,7 @@
mstp3_clks: clocks@ffc8003c { mstp3_clks: clocks@ffc8003c {
compatible = "renesas,r8a7779-mstp-clocks", compatible = "renesas,r8a7779-mstp-clocks",
"renesas,cpg-mstp-clocks"; "renesas,cpg-mstp-clocks";
reg = <0 0xffc8003c 0 4>; reg = <0xffc8003c 4>;
clocks = <&s4_clk>, <&s4_clk>, <&s4_clk>, <&s4_clk>, clocks = <&s4_clk>, <&s4_clk>, <&s4_clk>, <&s4_clk>,
<&s4_clk>, <&s4_clk>; <&s4_clk>, <&s4_clk>;
#clock-cells = <1>; #clock-cells = <1>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册