Skip to content

Commit

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

The device tree compiler gives the following warning:

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

Since the pmygrf node only has an io-domains child node that has no
reg property, remove the two properties from the pmugrf node to silence
the warning.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20200327030414.5903-6-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 743a646 commit 5978231
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm64/boot/dts/rockchip/rk3399.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1124,8 +1124,6 @@
pmugrf: syscon@ff320000 {
compatible = "rockchip,rk3399-pmugrf", "syscon", "simple-mfd";
reg = <0x0 0xff320000 0x0 0x1000>;
#address-cells = <1>;
#size-cells = <1>;

pmu_io_domains: io-domains {
compatible = "rockchip,rk3399-pmu-io-voltage-domain";
Expand Down

0 comments on commit 5978231

Please sign in to comment.