### Problem On **Xunlong Orange Pi 5B** running Armbian **7.3.6-edge-rockchip64** (fdtfile=rockchip/rk3588s-orangepi-5b.dtb), the onboard Broadcom **AP6275P** module (BCM43752 Wi-Fi 6 over PCIe + BCM4362A2 Bluetooth over UART9) is missing after boot — neither lspci nor bluetoothctl list detects the hardware, even though brcmfmac, hci_uart, and all required firmware files (brcmfmac43752-pcie.*, BCM4362A2.hcd) are already present in the image. ### Root Cause In 7.3.x-edge-rockchip64, rk3588s-orangepi-5b.dtb ships with pcie@fe190000 (pcie2x1l2) set to status = "disabled" and omits the uart9 (serial@febc0000) Bluetooth node. The bundled rockchip-rk3588-orangepi-5-ap6275p.dtbo overlay also lacks status = "okay", reset-gpios (GPIO3_D1), and vpcie3v3-supply on pcie2x1l2, so enabling it alone does not initialize Wi-Fi on the 5B. *(Previously documented in GitHub issue [#11651](https://github.com/armbian/build/issues/11651) — reposting here per maintainer request so the DT fix is available for both users and rockchip64 kernel patch maintainers.)* --- ### Working Device Tree Overlay (orangepi-5b-ap6275p-fix.dts) ```dts /dts-v1/; /plugin/; / { compatible = "xunlong,orangepi-5b", "rockchip,rk3588s"; fragment@0 { target = <&pinctrl>; overlay { wireless-wlan { wifi_reg_on_pin: wifi-reg-on-pin { rockchip,pins = <0 24 0 &pcfg_pull_none>; }; pcie2x1l2_reset_pin: pcie2x1l2-reset-pin { rockchip,pins = <3 25 0 &pcfg_pull_none>; }; }; wireless-bluetooth { bt_reset_pin: bt-reset-pin { rockchip,pins = <3 6 0 &pcfg_pull_none>; }; bt_wake_pin: bt-wake-pin { rockchip,pins = <0 22 0 &pcfg_pull_up>; }; }; }; }; fragment@1 { target = <&gpio0>; overlay { wifi-reg-on-h { gpio-hog; gpios = <24 0>; output-high; line-name = "wifi-reg-on-h"; }; }; }; fragment@2 { target = <&pcie2x1l2>; overlay { pinctrl-names = "default"; pinctrl-0 = <&pcie2x1l2_reset_pin>; reset-gpios = <&gpio3 25 0>; vpcie3v3-supply = <&vcc_3v3_s3>; status = "okay"; pcie@0,0 { reg = <0x00400000 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; ranges; device_type = "pci"; bus-range = <0x40 0x4f>; wifi: wifi@0,0 { compatible = "pci14e4,449d"; reg = <0x00410000 0 0 0 0>; clocks = <&hym8563>; clock-names = "lpo"; }; }; }; }; fragment@3 { target = <&uart9>; overlay { pinctrl-names = "default"; pinctrl-0 = <&uart9m2_xfer &uart9m2_ctsn &uart9m2_rtsn>; uart-has-rtscts; status = "okay"; bluetooth { compatible = "brcm,bcm43438-bt"; clocks = <&hym8563>; clock-names = "lpo"; device-wakeup-gpios = <&gpio0 22 0>; shutdown-gpios = <&gpio3 6 0>; max-speed = <1500000>; pinctrl-names = "default"; pinctrl-0 = <&bt_wake_pin &bt_reset_pin>; vbat-supply = <&vcc_3v3_s3>; vddio-supply = <&vcc_1v8_s3>; }; }; }; }; ``` ### Installation & Verification 1. Save the code above as orangepi-5b-ap6275p-fix.dts and apply it: ```bash sudo armbian-add-overlay orangepi-5b-ap6275p-fix.dts ``` 2. Perform a **cold reboot**: run sudo poweroff, unplug power for ~10 seconds so the AP6275P module resets cleanly, then power back on. 3. Verify after boot: - **Wi-Fi:** lspci -nn | grep 14e4 and ip -br a *(note: systemd renames wlan0 to wlP4p65s0)* - **Bluetooth:** bluetoothctl list *(Author: Z3r[0x30])*
fix-opi5b-ap6275p.sh