diff options
| author | Shiji Yang | 2025-06-01 05:56:30 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-07-20 13:33:03 +0000 |
| commit | 8d2744dfe58a9395ecadf3196d040442fe5c8c09 (patch) | |
| tree | b48850a15f1817c861cf0d04b15ad989ac60ef65 | |
| parent | cfb15d7f83d7982b6619c072df7afd5ed73a3b41 (diff) | |
| download | openwrt-8d2744dfe58a9395ecadf3196d040442fe5c8c09.tar.gz | |
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>
| -rw-r--r-- | target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03.dts | 2 | ||||
| -rw-r--r-- | target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-wtr-m2133hp.dts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03.dts b/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03.dts index ec746b1408..6187d125bf 100644 --- a/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03.dts +++ b/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03.dts @@ -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"; }; diff --git a/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-wtr-m2133hp.dts b/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-wtr-m2133hp.dts index 4de3568355..819220725b 100644 --- a/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-wtr-m2133hp.dts +++ b/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-wtr-m2133hp.dts @@ -237,7 +237,7 @@ &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"; |