summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Moussalem2025-11-29 17:01:48 +0000
committerRobert Marko2025-12-07 10:25:40 +0000
commit9323ed52d030134f5b23e56dfd139f62167b1af6 (patch)
tree9f98c9cb95cbb4ba055f13c7dd41d3f30e8b979e
parent3bbb4f6ce7b265b8ac13437f519fd0352bd0a3d6 (diff)
downloadopenwrt-9323ed52d030134f5b23e56dfd139f62167b1af6.tar.gz
qualcommax: ipq50xx: fix qca8337 dtc warnings
Add missing address-cells and size-cells properties under the switch's ports node to fix a multitude of below build warnings: Warning (reg_format): /soc@0/mdio@90000/ethernet-switch@11/ports/port@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): /soc@0/mdio@90000/ethernet-switch@11/ports/port@1: Relying on default #address-cells value Signed-off-by: George Moussalem <george.moussalem@outlook.com> Link: https://github.com/openwrt/openwrt/pull/20982 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ax6000.dts3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ax6000.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ax6000.dts
index bfe9589ecd..4782101483 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ax6000.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ax6000.dts
@@ -393,6 +393,9 @@
reg = <17>;
ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
port@1 {
reg = <1>;
label = "lan1";