lantiq: dts: correct the size of PCIe reg property

Correct PCIe node #address-cells and #size-cells properties to
fix the following dtc warnings:

vr9_avm_fritz3390.dts:297.4-22: Warning (reg_format): /fpi@10000000/pcie@d900000/pcie@0/wifi@0,0:reg: property has invalid length (20 bytes) (#address-cells == 2, #size-cells == 1)
vr9_avm_fritz3390.dts:288.9-300.4: Warning (pci_bridge): /fpi@10000000/pcie@d900000/pcie@0: incorrect #address-cells for PCI bridge
vr9_avm_fritz3390.dts:288.9-300.4: Warning (pci_bridge): /fpi@10000000/pcie@d900000/pcie@0: incorrect #size-cells for PCI bridge
vr9_avm_fritz736x.dtsi:168.4-22: Warning (reg_format): /fpi@10000000/pcie@d900000/pcie@0/wifi@0,0:reg: property has invalid length (20 bytes) (#address-cells == 2, #size-cells == 1)
vr9_avm_fritz736x.dtsi:160.9-170.4: Warning (pci_bridge): /fpi@10000000/pcie@d900000/pcie@0: incorrect #address-cells for PCI bridge
vr9_avm_fritz736x.dtsi:160.9-170.4: Warning (pci_bridge): /fpi@10000000/pcie@d900000/pcie@0: incorrect #size-cells for PCI bridge

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18843
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Shiji Yang 2025-05-19 19:07:17 +08:00 committed by Hauke Mehrtens
parent 1ffe67b00f
commit 5fd4abf74d
3 changed files with 4 additions and 9 deletions

View File

@ -288,8 +288,8 @@
pcie@0 {
reg = <0 0 0 0 0>;
#interrupt-cells = <1>;
#size-cells = <1>;
#address-cells = <2>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
wifi@0,0 {

View File

@ -106,11 +106,6 @@
&pcie0 {
gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
pcie@0 {
#size-cells = <1>;
#address-cells = <2>;
};
};
&eth0 {

View File

@ -161,8 +161,8 @@
pcie@0 {
reg = <0 0 0 0 0>;
#interrupt-cells = <1>;
#size-cells = <1>;
#address-cells = <2>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
wifi: wifi@0,0 {