]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: drop #address-cells, #size-cells from rk3328 grf node
authorChen-Yu Tsai <wens@csie.org>
Fri, 27 Mar 2020 03:04:12 +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 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>
arch/arm64/boot/dts/rockchip/rk3328.dtsi

index b861b4fd75e66a096d9f2a7336b66907f8fb29ca..a4d591d91533186ce502f861ff647195d2c63cff 100644 (file)
        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";