[openwrt/openwrt] qualcommax: ipq50xx: fix qca8337 dtc warnings
LEDE Commits
lede-commits at lists.infradead.org
Sun Dec 7 02:25:44 PST 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/9323ed52d030134f5b23e56dfd139f62167b1af6
commit 9323ed52d030134f5b23e56dfd139f62167b1af6
Author: George Moussalem <george.moussalem at outlook.com>
AuthorDate: Sat Nov 29 21:01:48 2025 +0400
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 at 0/mdio at 90000/ethernet-switch at 11/ports/port at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): /soc at 0/mdio at 90000/ethernet-switch at 11/ports/port at 1: Relying on default #address-cells value
Signed-off-by: George Moussalem <george.moussalem at outlook.com>
Link: https://github.com/openwrt/openwrt/pull/20982
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
.../linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ax6000.dts | 3 +++
1 file changed, 3 insertions(+)
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 at 1 {
reg = <1>;
label = "lan1";
More information about the lede-commits
mailing list