aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca956x.dtsi
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2021-12-11 00:09:13 +0100
committerChristian Lamparter <chunkeey@gmail.com>2021-12-11 00:50:02 +0100
commitb2aca5a263e73cb2def1c6cbb36f3be24d38089b (patch)
tree0f29579b048605d873ac9f0f04f46a460f27e098 /target/linux/ath79/dts/qca956x.dtsi
parent03c004977491e911127e75fc36310620135f6eea (diff)
downloadupstream-b2aca5a263e73cb2def1c6cbb36f3be24d38089b.tar.gz
upstream-b2aca5a263e73cb2def1c6cbb36f3be24d38089b.tar.bz2
upstream-b2aca5a263e73cb2def1c6cbb36f3be24d38089b.zip
ath79: fix various dts warnings
ar9344_openmesh_mr600-v1.dts:40.10-44.5: Warning (gpios_property): /leds-ath9k/wifi2g: Missing property '#gpio-cells' in node /ahb/pcie-controller@180c0000/wifi@0,0 or bad phandle => added gpio-controller + #gpio-cells qca955x_zyxel_nbg6x16.dtsi:121.3-13: Warning (reg_format): /ahb/usb@1b000000/port@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) ../dts/qca955x_zyxel_nbg6x16.dtsi:131.3-13: Warning (reg_format): /ahb/usb@1b400000/port@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) qca955x_zyxel_nbg6x16.dtsi:120.20-123.4: Warning (avoid_default_addr_size): /ahb/usb@1b000000/port@1: Relying on default #address-cells value => ath79's usb-nodes are missing the address- and size-cells properties. These are needed for usb led trigger support. ar7242_ubnt_sw.dtsi:54.4-14: Warning (reg_format): /gpio_spi/gpio_spi@0:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1) => the #address-cells and #size-cells had to be nudged. qca9531_dlink_dch-g020-a1.dts:19.6-39.4: Warning (i2c_bus_bridge): /i2c: incorrect #size-cells for I2C bus => #size-cells = <0>; Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts/qca956x.dtsi')
-rw-r--r--target/linux/ath79/dts/qca956x.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca956x.dtsi b/target/linux/ath79/dts/qca956x.dtsi
index 8627f7ee40..f2452e9dc7 100644
--- a/target/linux/ath79/dts/qca956x.dtsi
+++ b/target/linux/ath79/dts/qca956x.dtsi
@@ -200,6 +200,9 @@
phys = <&usb_phy0>;
status = "disabled";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
};
usb1: usb@1b400000 {
@@ -219,6 +222,9 @@
phys = <&usb_phy1>;
status = "disabled";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
};
spi: spi@1f000000 {