aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2020-08-12 18:13:47 +0200
committerChristian Lamparter <chunkeey@gmail.com>2020-08-29 17:14:37 +0200
commit90909ef4ba85084d032b30f59c0bc72e45aaf60e (patch)
tree886fa2a5ab674d5768241ad66da46b93084b17ba /target
parent0facedb515a3be864366463de1c7d28212a4ac1f (diff)
downloadupstream-90909ef4ba85084d032b30f59c0bc72e45aaf60e.tar.gz
upstream-90909ef4ba85084d032b30f59c0bc72e45aaf60e.tar.bz2
upstream-90909ef4ba85084d032b30f59c0bc72e45aaf60e.zip
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 <chunkeey@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/apm821xx/dts/apm82181.dtsi4
1 files changed, 4 insertions, 0 deletions
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 {