]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: rockchip: Drop unneeded address+size-cells on px30
authorDiederik de Haas <didi.debian@cknow.org>
Wed, 9 Jul 2025 13:15:22 +0000 (15:15 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 15 Jul 2025 18:19:24 +0000 (20:19 +0200)
On nodes with compatible "rockchip,px30-usb2phy-grf", the #address-cells
and #size-cells are required and consequently their child nodes should
have unit addresses. That is not the case for the px30-pmugrf and
px30-grf nodes, so remove them there.

This fixes the following DTB validation warnings:

  unnecessary #address-cells/#size-cells without "ranges",
  "dma-ranges" or child "reg" property

Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Link: https://lore.kernel.org/r/20250709132323.128757-10-didi.debian@cknow.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/px30.dtsi

index 5034ad8019a8f9fcbff2c73dfdf33829a7a57cf5..46f64cd33b9b2671f8421e4ec8f7e8c2fb6dd340 100644 (file)
        pmugrf: syscon@ff010000 {
                compatible = "rockchip,px30-pmugrf", "syscon", "simple-mfd";
                reg = <0x0 0xff010000 0x0 0x1000>;
-               #address-cells = <1>;
-               #size-cells = <1>;
 
                pmu_io_domains: io-domains {
                        compatible = "rockchip,px30-pmu-io-voltage-domain";
        grf: syscon@ff140000 {
                compatible = "rockchip,px30-grf", "syscon", "simple-mfd";
                reg = <0x0 0xff140000 0x0 0x1000>;
-               #address-cells = <1>;
-               #size-cells = <1>;
 
                io_domains: io-domains {
                        compatible = "rockchip,px30-io-voltage-domain";