[openwrt/openwrt] ipq40xx: dts: fix incorrect PCIe bus number
LEDE Commits
lede-commits at lists.infradead.org
Sun Jul 20 06:38:51 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/8d2744dfe58a9395ecadf3196d040442fe5c8c09
commit 8d2744dfe58a9395ecadf3196d040442fe5c8c09
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Sun Jun 1 13:56:30 2025 +0800
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 at 40000000/pcie at 0/wifi at 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 at 40000000/pcie at 0/wifi at 0,0:bus-range: PCI bus number 0 out of range, expected (1 - 255)
Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18725
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
.../ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03.dts | 2 +-
.../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 at 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 at 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";
More information about the lede-commits
mailing list