arm64: dts: rockchip: drop #address-cells, #size-cells from rk3399 pmugrf node
authorChen-Yu Tsai <wens@csie.org>
Fri, 27 Mar 2020 03:04:13 +0000 (11:04 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 19 Apr 2020 11:29:35 +0000 (13:29 +0200)
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>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index 74f2c3d490953770e22b1ec8f92fbb949c2a9141..3499d1497127ff8b9e8764aba2be393acfa12991 100644 (file)
        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";