From 90909ef4ba85084d032b30f59c0bc72e45aaf60e Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Wed, 12 Aug 2020 18:13:47 +0200 Subject: [PATCH] apm821xx: DTB: fix warnings related to sata-port warnings 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 --- target/linux/apm821xx/dts/apm82181.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/linux/apm821xx/dts/apm82181.dtsi b/target/linux/apm821xx/dts/apm82181.dtsi index 65032ba217..d17e269a55 100644 --- a/target/linux/apm821xx/dts/apm82181.dtsi +++ b/target/linux/apm821xx/dts/apm82181.dtsi @@ -407,6 +407,8 @@ dmas = <&AHBDMA0 0 0 1>; dma-names = "sata-dma"; status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; }; SATA1: sata@bffd1800 { @@ -417,6 +419,8 @@ dmas = <&AHBDMA0 1 0 2>; dma-names = "sata-dma"; status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; }; MSI: ppc4xx-msi@c10000000 { -- 2.30.2