apm821xx: DTB: fix warnings related to sata-port warnings
authorChristian Lamparter <chunkeey@gmail.com>
Wed, 12 Aug 2020 16:13:47 +0000 (18:13 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 29 Aug 2020 15:14:37 +0000 (17:14 +0200)
This patch silences the following warnings:
>netgear-wndr4700.dts:168.3-13:Warning (reg_format): /plb/sata@bffd1800/sata-port@0:reg:property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
>netgear-wndr4700.dts:167.26-170.4: Warning (avoid_default_addr_size):/plb/sata@bffd1800/sata-port@0: Relying on default #address-cells value
>netgear-wndr4700.dts:167.26-170.4: Warning (avoid_default_addr_size):/plb/sata@bffd1800/sata-port@0: Relying on default #size-cells value

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/apm821xx/dts/apm82181.dtsi

index 65032ba217919c7084091301619fc99d5c66b62f..d17e269a55d0feb63a778fd88346049672175067 100644 (file)
                        dmas = <&AHBDMA0 0 0 1>;
                        dma-names = "sata-dma";
                        status = "disabled";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                };
 
                SATA1: sata@bffd1800 {
                        dmas = <&AHBDMA0 1 0 2>;
                        dma-names = "sata-dma";
                        status = "disabled";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                };
 
                MSI: ppc4xx-msi@c10000000 {