[openwrt/openwrt] ramips: dts: correct WiFi band node reg size for Gemtek WVRTM-130ACN
LEDE Commits
lede-commits at lists.infradead.org
Sun Oct 19 12:56:57 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/286a5678f948158d37d366fde3b38e3b071d40f0
commit 286a5678f948158d37d366fde3b38e3b071d40f0
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Mon May 19 21:56:59 2025 +0800
ramips: dts: correct WiFi band node reg size for Gemtek WVRTM-130ACN
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 at 1e140000/pcie at 0,0/wifi at 0,0/band at 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 at 1e140000/pcie at 0,0/wifi at 0,0/band at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 0)
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>
---
target/linux/ramips/dts/mt7621_gemtek_wvrtm-130acn.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ramips/dts/mt7621_gemtek_wvrtm-130acn.dts b/target/linux/ramips/dts/mt7621_gemtek_wvrtm-130acn.dts
index d57c77581e..dd33e37de2 100644
--- a/target/linux/ramips/dts/mt7621_gemtek_wvrtm-130acn.dts
+++ b/target/linux/ramips/dts/mt7621_gemtek_wvrtm-130acn.dts
@@ -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 at 0 {
More information about the lede-commits
mailing list