Skip to content

Commit 6cbb072

Browse files
chinawrjrobimarko
authored andcommitted
qualcommax: ipq50xx: ax6000: enable pcie1 for QCA9887
The Xiaomi AX6000 has three radios: - IPQ5018 integrated 2.4 GHz (ath11k AHB, wifi0) - QCN9024 on PCIe0 (ath11k PCI, QCA8074-class 5 GHz) - QCA9887 on PCIe1 (ath10k, 5 GHz) The DTS previously kept pcie1 disabled because the controller could not bring the link up. The real cause was the PERST GPIO polarity: the stock device-tree uses GPIO_ACTIVE_HIGH on GPIO18 for the QCA9887 card, while OpenWrt had GPIO_ACTIVE_LOW, leaving the card held in reset. With the correct polarity the PCIe1 link trains and the QCA9887 enumerates at 01:00.0. ath10k loads firmware-2.bin, registers phy0 with mac80211, and provides a functional 5 GHz AP. Tested on a reworked Xiaomi AX6000 with QCA9887 soldered in. All three radios enumerate, load firmware and beacon successfully; scan, association and data traffic confirmed on each radio. Signed-off-by: chinawrj <chinawrj@gmail.com> Link: openwrt/openwrt#23047 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 1bc0392)
1 parent 0a0ed86 commit 6cbb072

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ax6000.dts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -549,13 +549,9 @@
549549
};
550550

551551
&pcie1 {
552-
/*
553-
* although the pcie1 phy probes successfully, the controller is unable
554-
* to bring it up. So let's disable it until a solution is found.
555-
*/
556-
status = "disabled";
552+
status = "okay";
557553

558-
perst-gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
554+
perst-gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>;
559555

560556
pcie@0 {
561557
wifi@0,0 {

0 commit comments

Comments
 (0)