Skip to content

Commit

Permalink
arm64: dts: rockchip: drop #address-cells, #size-cells from rk3328 gr…
Browse files Browse the repository at this point in the history
…f node

The device tree compiler gives the following warning:

    /syscon@ff100000: unnecessary #address-cells/#size-cells without
    "ranges" or child "reg" property

Since none of the grf node's direct child nodes have any reg properties,
remove the two properties from the grf node to silence the warning.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20200327030414.5903-5-wens@kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
  • Loading branch information
Chen-Yu Tsai authored and Heiko Stuebner committed Apr 19, 2020
1 parent e559bb8 commit 743a646
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm64/boot/dts/rockchip/rk3328.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,6 @@
grf: syscon@ff100000 {
compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
reg = <0x0 0xff100000 0x0 0x1000>;
#address-cells = <1>;
#size-cells = <1>;

io_domains: io-domains {
compatible = "rockchip,rk3328-io-voltage-domain";
Expand Down

0 comments on commit 743a646

Please sign in to comment.