[openwrt/openwrt] qualcommax: fix switch node dtc warnings for Asus RT-AX89X
LEDE Commits
lede-commits at lists.infradead.org
Sun Oct 19 12:56:56 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/3ecef3d965348c5b2a31b1257b41d5b90998771c
commit 3ecef3d965348c5b2a31b1257b41d5b90998771c
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Mon May 19 21:56:58 2025 +0800
qualcommax: fix switch node dtc warnings for Asus RT-AX89X
Add the missing #address-cells and #size-cells to fix the following
dtc warnings:
ipq8074-rt-ax89x.dts:558.5-15: Warning (reg_format): /soc at 0/mdio at 90000/switch at 10/ports/port at 0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
ipq8074-rt-ax89x.dts:566.5-15: Warning (reg_format): /soc at 0/mdio at 90000/switch at 10/ports/port at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
ipq8074-rt-ax89x.dts:572.5-15: Warning (reg_format): /soc at 0/mdio at 90000/switch at 10/ports/port at 2:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
ipq8074-rt-ax89x.dts:578.5-15: Warning (reg_format): /soc at 0/mdio at 90000/switch at 10/ports/port at 3:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
ipq8074-rt-ax89x.dts:584.5-15: Warning (reg_format): /soc at 0/mdio at 90000/switch at 10/ports/port at 4:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
ipq8074-rt-ax89x.dts:590.5-15: Warning (reg_format): /soc at 0/mdio at 90000/switch at 10/ports/port at 5:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
ipq8074-rt-ax89x.dts:596.5-15: Warning (reg_format): /soc at 0/mdio at 90000/switch at 10/ports/port at 6:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18242
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
.../qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-rt-ax89x.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-rt-ax89x.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-rt-ax89x.dts
index 7d5468613f..1fdf394d3f 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-rt-ax89x.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-rt-ax89x.dts
@@ -554,6 +554,9 @@
reg = <0x10>;
ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
port at 0 {
reg = <0>;
label = "cpu";
More information about the lede-commits
mailing list