ipq40xx: dts: fix incorrect PCIe bus number
authorShiji Yang <[email protected]>
Sun, 1 Jun 2025 05:56:30 +0000 (13:56 +0800)
committerHauke Mehrtens <[email protected]>
Sun, 20 Jul 2025 13:33:03 +0000 (15:33 +0200)
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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18725
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-wtr-m2133hp.dts

index ec746b14088590b0be957818275ded7dee4afb05..6187d125bf3cba65c4372f2b8438dd9e915e684d 100644 (file)
@@ -67,7 +67,7 @@
 &pcie_bridge0 {
        wifi@0,0 {
                compatible = "qcom,ath10k";
-               reg = <0x00000000 0 0 0 0>;
+               reg = <0x00010000 0 0 0 0>;
                ieee80211-freq-limit = <5490000 5835000>;
                qcom,ath10k-calibration-variant = "linksys-whw03";
        };
index 4de35683556f4b3203b2ca1bc1eaa9fa02249b32..819220725bc721cc1015873ef12a824a83cfe724 100644 (file)
 &pcie_bridge0 {
        wifi@0,0 {
                compatible = "qcom,ath10k";
-               reg = <0 0 0 0 0>;
+               reg = <0x00010000 0 0 0 0>;
                nvmem-cell-names = "pre-calibration", "mac-address";
                nvmem-cells = <&precal_art_9000>, <&macaddr_orgdata_32>;
                qcom,ath10k-calibration-variant = "Buffalo-WTR-M2133HP";