ramips: dts: correct WiFi band node reg size for Gemtek WVRTM-130ACN
authorShiji Yang <[email protected]>
Mon, 19 May 2025 13:56:59 +0000 (21:56 +0800)
committerHauke Mehrtens <[email protected]>
Sun, 19 Oct 2025 19:55:34 +0000 (21:55 +0200)
The #address-cells should be 1 according to the dt-binding document.
This patch fixes the following dtc warnings:

../dts/mt7621_gemtek_wvrtm-130acn.dts:46.4-14: Warning (reg_format): /pcie@1e140000/pcie@0,0/wifi@0,0/band@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 0)
../dts/mt7621_gemtek_wvrtm-130acn.dts:54.4-14: Warning (reg_format): /pcie@1e140000/pcie@0,0/wifi@0,0/band@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 0)

Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18242
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/ramips/dts/mt7621_gemtek_wvrtm-130acn.dts

index d57c77581ed98728829451bf6fc05963fa31d22d..dd33e37de2cdd0ca47b879f3938000e6caceab3b 100644 (file)
@@ -38,7 +38,7 @@
                reg = <0x0000 0 0 0 0>;
                nvmem-cells = <&eeprom_factory_0>;
                nvmem-cell-names = "eeprom";
-               #address-cells = <2>;
+               #address-cells = <1>;
                #size-cells = <0>;
 
                band@0 {