[openwrt/openwrt] mediatek: filogic: fix WiFi MAC address invalid length dtc warnings
LEDE Commits
lede-commits at lists.infradead.org
Mon May 19 07:11:46 PDT 2025
dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/49d5fc505ffb0346f68ce91cb37109899af6b373
commit 49d5fc505ffb0346f68ce91cb37109899af6b373
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Mon May 19 07:46:59 2025 +0800
mediatek: filogic: fix WiFi MAC address invalid length dtc warnings
Add missing #address-cells and #size-cells to fix the
following dtc warnings:
../dts/mt7988a-smartrg-mt-stuart.dtsi:558.5-15: Warning (reg_format): /soc/pcie at 11300000/pcie at 0,0/mt7996 at 0,0/band at 0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7988a-smartrg-mt-stuart.dtsi:565.5-15: Warning (reg_format): /soc/pcie at 11300000/pcie at 0,0/mt7996 at 0,0/band at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7988a-smartrg-mt-stuart.dtsi:572.5-15: Warning (reg_format): /soc/pcie at 11300000/pcie at 0,0/mt7996 at 0,0/band at 2:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7988d-asus-zenwifi-bt8.dts:78.3-13: Warning (reg_format): /soc/pcie at 11300000/pcie at 0,0/mt7996 at 0,0/band at 0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7988d-asus-zenwifi-bt8.dts:85.3-13: Warning (reg_format): /soc/pcie at 11300000/pcie at 0,0/mt7996 at 0,0/band at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7988d-asus-zenwifi-bt8.dts:92.3-13: Warning (reg_format): /soc/pcie at 11300000/pcie at 0,0/mt7996 at 0,0/band at 2:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7988d-asus-zenwifi-bt8-ubootmod.dts:82.3-13: Warning (reg_format): /soc/pcie at 11300000/pcie at 0,0/mt7996 at 0,0/band at 0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7988d-asus-zenwifi-bt8-ubootmod.dts:89.3-13: Warning (reg_format): /soc/pcie at 11300000/pcie at 0,0/mt7996 at 0,0/band at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7988d-asus-zenwifi-bt8-ubootmod.dts:96.3-13: Warning (reg_format): /soc/pcie at 11300000/pcie at 0,0/mt7996 at 0,0/band at 2:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7981b-cmcc-a10.dtsi:250.3-13: Warning (reg_format): /soc/wifi at 18000000/band at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7986a-dlink-aquila-pro-ai-m60-a1.dts:324.3-13: Warning (reg_format): /soc/wifi at 18000000/band at 0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7986a-dlink-aquila-pro-ai-m60-a1.dts:330.3-13: Warning (reg_format): /soc/wifi at 18000000/band at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7981b-gatonetworks-gdsp.dts:247.3-13: Warning (reg_format): /soc/wifi at 18000000/band at 0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7981b-gatonetworks-gdsp.dts:253.3-13: Warning (reg_format): /soc/wifi at 18000000/band at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7981b-huasifei-wh3000.dts:182.3-13: Warning (reg_format): /soc/wifi at 18000000/band at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7986b-mercusys-mr90x-v1-ubi.dts:114.3-13: Warning (reg_format): /soc/wifi at 18000000/band at 0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7986b-mercusys-mr90x-v1-ubi.dts:120.3-13: Warning (reg_format): /soc/wifi at 18000000/band at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7981b-openembed-som7981.dts:287.3-13: Warning (reg_format): /soc/wifi at 18000000/band at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7981b-openwrt-one.dts:446.3-13: Warning (reg_format): /soc/wifi at 18000000/band at 0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7981b-openwrt-one.dts:452.3-13: Warning (reg_format): /soc/wifi at 18000000/band at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7981b-routerich-ax3000-v1.dts:323.3-13: Warning (reg_format): /soc/wifi at 18000000/band at 0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7981b-routerich-ax3000-v1.dts:329.3-13: Warning (reg_format): /soc/wifi at 18000000/band at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
---
target/linux/mediatek/dts/mt7981b-cmcc-a10.dtsi | 2 ++
target/linux/mediatek/dts/mt7981b-gatonetworks-gdsp.dts | 2 ++
target/linux/mediatek/dts/mt7981b-huasifei-wh3000.dts | 2 ++
target/linux/mediatek/dts/mt7981b-openembed-som7981.dts | 2 ++
target/linux/mediatek/dts/mt7981b-openwrt-one.dts | 2 ++
target/linux/mediatek/dts/mt7981b-routerich-ax3000-v1.dts | 2 ++
target/linux/mediatek/dts/mt7986a-dlink-aquila-pro-ai-m60-a1.dts | 2 ++
target/linux/mediatek/dts/mt7986b-mercusys-mr90x-v1-ubi.dts | 2 ++
target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi | 2 ++
target/linux/mediatek/dts/mt7988d-asus-zenwifi-bt8-ubootmod.dts | 2 ++
target/linux/mediatek/dts/mt7988d-asus-zenwifi-bt8.dts | 2 ++
11 files changed, 22 insertions(+)
diff --git a/target/linux/mediatek/dts/mt7981b-cmcc-a10.dtsi b/target/linux/mediatek/dts/mt7981b-cmcc-a10.dtsi
index fe132aa66a..06d829e087 100644
--- a/target/linux/mediatek/dts/mt7981b-cmcc-a10.dtsi
+++ b/target/linux/mediatek/dts/mt7981b-cmcc-a10.dtsi
@@ -242,6 +242,8 @@
};
&wifi {
+ #address-cells = <1>;
+ #size-cells = <0>;
nvmem-cells = <&eeprom_factory_0>;
nvmem-cell-names = "eeprom";
status = "okay";
diff --git a/target/linux/mediatek/dts/mt7981b-gatonetworks-gdsp.dts b/target/linux/mediatek/dts/mt7981b-gatonetworks-gdsp.dts
index 50ae12b963..219fd89934 100644
--- a/target/linux/mediatek/dts/mt7981b-gatonetworks-gdsp.dts
+++ b/target/linux/mediatek/dts/mt7981b-gatonetworks-gdsp.dts
@@ -240,6 +240,8 @@
};
&wifi {
+ #address-cells = <1>;
+ #size-cells = <0>;
mediatek,mtd-eeprom = <&factory 0x0>;
status = "okay";
diff --git a/target/linux/mediatek/dts/mt7981b-huasifei-wh3000.dts b/target/linux/mediatek/dts/mt7981b-huasifei-wh3000.dts
index 47a6ef254d..7dd2f79f8a 100644
--- a/target/linux/mediatek/dts/mt7981b-huasifei-wh3000.dts
+++ b/target/linux/mediatek/dts/mt7981b-huasifei-wh3000.dts
@@ -176,6 +176,8 @@
};
&wifi {
+ #address-cells = <1>;
+ #size-cells = <0>;
nvmem-cells = <&eeprom_factory_0>;
nvmem-cell-names = "eeprom";
status = "okay";
diff --git a/target/linux/mediatek/dts/mt7981b-openembed-som7981.dts b/target/linux/mediatek/dts/mt7981b-openembed-som7981.dts
index d2cca4ee95..348b83d036 100644
--- a/target/linux/mediatek/dts/mt7981b-openembed-som7981.dts
+++ b/target/linux/mediatek/dts/mt7981b-openembed-som7981.dts
@@ -279,6 +279,8 @@
};
&wifi {
+ #address-cells = <1>;
+ #size-cells = <0>;
nvmem-cells = <&eeprom_factory_0>;
nvmem-cell-names = "eeprom";
status = "okay";
diff --git a/target/linux/mediatek/dts/mt7981b-openwrt-one.dts b/target/linux/mediatek/dts/mt7981b-openwrt-one.dts
index 77de6775a9..ad08525807 100644
--- a/target/linux/mediatek/dts/mt7981b-openwrt-one.dts
+++ b/target/linux/mediatek/dts/mt7981b-openwrt-one.dts
@@ -438,6 +438,8 @@
};
&wifi {
+ #address-cells = <1>;
+ #size-cells = <0>;
nvmem-cells = <&eeprom_factory_0>;
nvmem-cell-names = "eeprom";
status = "okay";
diff --git a/target/linux/mediatek/dts/mt7981b-routerich-ax3000-v1.dts b/target/linux/mediatek/dts/mt7981b-routerich-ax3000-v1.dts
index 09c555b73c..ba70fc807b 100644
--- a/target/linux/mediatek/dts/mt7981b-routerich-ax3000-v1.dts
+++ b/target/linux/mediatek/dts/mt7981b-routerich-ax3000-v1.dts
@@ -314,6 +314,8 @@
&wifi {
status = "okay";
+ #address-cells = <1>;
+ #size-cells = <0>;
nvmem-cell-names = "eeprom";
nvmem-cells = <&eeprom_factory_0>;
diff --git a/target/linux/mediatek/dts/mt7986a-dlink-aquila-pro-ai-m60-a1.dts b/target/linux/mediatek/dts/mt7986a-dlink-aquila-pro-ai-m60-a1.dts
index 80c4c14367..10c53596e5 100644
--- a/target/linux/mediatek/dts/mt7986a-dlink-aquila-pro-ai-m60-a1.dts
+++ b/target/linux/mediatek/dts/mt7986a-dlink-aquila-pro-ai-m60-a1.dts
@@ -311,6 +311,8 @@
};
&wifi {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&wf_2g_5g_pins>;
diff --git a/target/linux/mediatek/dts/mt7986b-mercusys-mr90x-v1-ubi.dts b/target/linux/mediatek/dts/mt7986b-mercusys-mr90x-v1-ubi.dts
index cfa195034d..b2e4ab91f9 100644
--- a/target/linux/mediatek/dts/mt7986b-mercusys-mr90x-v1-ubi.dts
+++ b/target/linux/mediatek/dts/mt7986b-mercusys-mr90x-v1-ubi.dts
@@ -107,6 +107,8 @@
};
&wifi {
+ #address-cells = <1>;
+ #size-cells = <0>;
nvmem-cells = <&eeprom_factory_0>;
nvmem-cell-names = "eeprom";
diff --git a/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi b/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi
index cf3f3a0cc5..92ebc3a864 100644
--- a/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi
+++ b/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi
@@ -551,6 +551,8 @@
mt7996 at 0,0 {
reg = <0x0000 0 0 0 0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
nvmem-cells = <&eeprom_factory_0>;
nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>, <5170000 5835000>, <5945000 7125000>;
diff --git a/target/linux/mediatek/dts/mt7988d-asus-zenwifi-bt8-ubootmod.dts b/target/linux/mediatek/dts/mt7988d-asus-zenwifi-bt8-ubootmod.dts
index bee997f3db..7cf84d99bd 100644
--- a/target/linux/mediatek/dts/mt7988d-asus-zenwifi-bt8-ubootmod.dts
+++ b/target/linux/mediatek/dts/mt7988d-asus-zenwifi-bt8-ubootmod.dts
@@ -74,6 +74,8 @@
};
&mt7996_wifi {
+ #address-cells = <1>;
+ #size-cells = <0>;
nvmem-cells = <&eeprom_factory_0>;
nvmem-cell-names = "eeprom";
diff --git a/target/linux/mediatek/dts/mt7988d-asus-zenwifi-bt8.dts b/target/linux/mediatek/dts/mt7988d-asus-zenwifi-bt8.dts
index b2cb1ceb72..02c1be1457 100644
--- a/target/linux/mediatek/dts/mt7988d-asus-zenwifi-bt8.dts
+++ b/target/linux/mediatek/dts/mt7988d-asus-zenwifi-bt8.dts
@@ -70,6 +70,8 @@
};
&mt7996_wifi {
+ #address-cells = <1>;
+ #size-cells = <0>;
nvmem-cells = <&eeprom_factory_0>;
nvmem-cell-names = "eeprom";
More information about the lede-commits
mailing list