ipq40xx: dts: fix incorrect PCIe bus number

On the ipq40xx platform, the bus range is 1 - 255. Therefore, bus
number 0 is clearly incorrect. Change the bus number to 1, just
like other ipq40xx devices. This patch fixes the following dtc
warnings on 6.12 kernel:

qcom-ipq4019.dtsi:476.5-29: Warning (pci_device_bus_num): /soc/pcie@40000000/pcie@0/wifi@0,0:bus-range: PCI bus number 0 out of range, expected (1 - 255)
qcom-ipq4019.dtsi:476.5-29: Warning (pci_device_bus_num): /soc/pcie@40000000/pcie@0/wifi@0,0:bus-range: PCI bus number 0 out of range, expected (1 - 255)

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18725
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Shiji Yang 2025-06-01 13:56:30 +08:00 committed by Hauke Mehrtens
parent cfb15d7f83
commit 8d2744dfe5
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@
&pcie_bridge0 { &pcie_bridge0 {
wifi@0,0 { wifi@0,0 {
compatible = "qcom,ath10k"; compatible = "qcom,ath10k";
reg = <0x00000000 0 0 0 0>; reg = <0x00010000 0 0 0 0>;
ieee80211-freq-limit = <5490000 5835000>; ieee80211-freq-limit = <5490000 5835000>;
qcom,ath10k-calibration-variant = "linksys-whw03"; qcom,ath10k-calibration-variant = "linksys-whw03";
}; };

View file

@ -237,7 +237,7 @@
&pcie_bridge0 { &pcie_bridge0 {
wifi@0,0 { wifi@0,0 {
compatible = "qcom,ath10k"; compatible = "qcom,ath10k";
reg = <0 0 0 0 0>; reg = <0x00010000 0 0 0 0>;
nvmem-cell-names = "pre-calibration", "mac-address"; nvmem-cell-names = "pre-calibration", "mac-address";
nvmem-cells = <&precal_art_9000>, <&macaddr_orgdata_32>; nvmem-cells = <&precal_art_9000>, <&macaddr_orgdata_32>;
qcom,ath10k-calibration-variant = "Buffalo-WTR-M2133HP"; qcom,ath10k-calibration-variant = "Buffalo-WTR-M2133HP";