]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: filogic: fix WiFi MAC address invalid length dtc warnings
authorShiji Yang <yangshiji66@outlook.com>
Sun, 18 May 2025 23:46:59 +0000 (07:46 +0800)
committerShiji Yang <yangshiji66@outlook.com>
Mon, 19 May 2025 12:01:00 +0000 (20:01 +0800)
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@11300000/pcie@0,0/mt7996@0,0/band@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@11300000/pcie@0,0/mt7996@0,0/band@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@11300000/pcie@0,0/mt7996@0,0/band@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@11300000/pcie@0,0/mt7996@0,0/band@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@11300000/pcie@0,0/mt7996@0,0/band@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@11300000/pcie@0,0/mt7996@0,0/band@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@11300000/pcie@0,0/mt7996@0,0/band@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@11300000/pcie@0,0/mt7996@0,0/band@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@11300000/pcie@0,0/mt7996@0,0/band@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@18000000/band@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@18000000/band@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@18000000/band@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@18000000/band@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@18000000/band@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@18000000/band@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@18000000/band@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@18000000/band@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@18000000/band@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@18000000/band@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@18000000/band@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@18000000/band@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@18000000/band@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
target/linux/mediatek/dts/mt7981b-cmcc-a10.dtsi
target/linux/mediatek/dts/mt7981b-gatonetworks-gdsp.dts
target/linux/mediatek/dts/mt7981b-huasifei-wh3000.dts
target/linux/mediatek/dts/mt7981b-openembed-som7981.dts
target/linux/mediatek/dts/mt7981b-openwrt-one.dts
target/linux/mediatek/dts/mt7981b-routerich-ax3000-v1.dts
target/linux/mediatek/dts/mt7986a-dlink-aquila-pro-ai-m60-a1.dts
target/linux/mediatek/dts/mt7986b-mercusys-mr90x-v1-ubi.dts
target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi
target/linux/mediatek/dts/mt7988d-asus-zenwifi-bt8-ubootmod.dts
target/linux/mediatek/dts/mt7988d-asus-zenwifi-bt8.dts

index fe132aa66a1d62f3923c6a1b8ab7db15f33327bc..06d829e0874ffe48a37320fddd44b2eea18758ea 100644 (file)
 };
 
 &wifi {
+       #address-cells = <1>;
+       #size-cells = <0>;
        nvmem-cells = <&eeprom_factory_0>;
        nvmem-cell-names = "eeprom";
        status = "okay";
index 50ae12b9638f0bd2e8a03b2a647ea32759d686a2..219fd8993471451a22a64ba0bf5979a8902b4b2f 100644 (file)
 };
 
 &wifi {
+       #address-cells = <1>;
+       #size-cells = <0>;
        mediatek,mtd-eeprom = <&factory 0x0>;
        status = "okay";
 
index 47a6ef254dd272feea3de2063cd20193bc63e95b..7dd2f79f8afb8dfc1a924ed4212a677e2c3dad3d 100644 (file)
 };
 
 &wifi {
+       #address-cells = <1>;
+       #size-cells = <0>;
        nvmem-cells = <&eeprom_factory_0>;
        nvmem-cell-names = "eeprom";
        status = "okay";
index d2cca4ee95f514a3f71f3e5c4d55b7008db6d1f4..348b83d036539f0b521b359cff0068554022560e 100644 (file)
 };
 
 &wifi {
+       #address-cells = <1>;
+       #size-cells = <0>;
        nvmem-cells = <&eeprom_factory_0>;
        nvmem-cell-names = "eeprom";
        status = "okay";
index 77de6775a9838995e82ba09dcbc7ff2883e2c13d..ad08525807da478df4aeefd0d74f7ca438ce8367 100644 (file)
 };
 
 &wifi {
+       #address-cells = <1>;
+       #size-cells = <0>;
        nvmem-cells = <&eeprom_factory_0>;
        nvmem-cell-names = "eeprom";
        status = "okay";
index 09c555b73c0502aa266036ce4661f823bce78099..ba70fc807b778b9a4eeab6babc0f285fafbf2450 100644 (file)
 
 &wifi {
        status = "okay";
+       #address-cells = <1>;
+       #size-cells = <0>;
        nvmem-cell-names = "eeprom";
        nvmem-cells = <&eeprom_factory_0>;
 
index 80c4c143672194c3e2309f7ebf5e7aa3c379ee3f..10c53596e50240aa42b48bd010331d63435958e7 100644 (file)
 };
 
 &wifi {
+       #address-cells = <1>;
+       #size-cells = <0>;
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&wf_2g_5g_pins>;
index cfa195034d6d32e96096ab67528dccbe2d2f267a..b2e4ab91f9e25f9bbfaaec14e9da1dca6d4c9ba6 100644 (file)
 };
 
 &wifi {
+       #address-cells = <1>;
+       #size-cells = <0>;
        nvmem-cells = <&eeprom_factory_0>;
        nvmem-cell-names = "eeprom";
 
index cf3f3a0cc527664a63a290b8c08f262f15eafcbe..92ebc3a864c005f64f3a291912db73b0c1a50360 100644 (file)
 
                mt7996@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>;
index bee997f3db38c13457441ba85cd82bb49bb7bbad..7cf84d99bd723d9c9dc4bf20dfcfded87492f0aa 100644 (file)
@@ -74,6 +74,8 @@
 };
 
 &mt7996_wifi {
+       #address-cells = <1>;
+       #size-cells = <0>;
        nvmem-cells = <&eeprom_factory_0>;
        nvmem-cell-names = "eeprom";
 
index b2cb1ceb726b763997a2bc414d3807e03641fe81..02c1be1457ef3b66c604420ef6e5ad956cbfb282 100644 (file)
@@ -70,6 +70,8 @@
 };
 
 &mt7996_wifi {
+       #address-cells = <1>;
+       #size-cells = <0>;
        nvmem-cells = <&eeprom_factory_0>;
        nvmem-cell-names = "eeprom";