Cycling back to my other idea with the new PCIe node. Here was a similar one added to mainline device tree for another RK3588 board: rockchip-rk3588-edge: add ap6275p support by efectn · Pull Request #6335 · armbian/build · GitHub
Ah, and here: rockchip-rk3588-edge: opi5b: add support for pcie wifi by efectn · Pull Request #6486 · armbian/build · GitHub
Related topic in Armbian forum: Orangepi 5b ap6275p support for the edge kernel similar to khadas-edge2 - Orange Pi 5 / 5B - Armbian Community Forums
Checking our kernel output:
[ 3.682659] wifi_disable: no parameters, enabled
[ 3.682722] reg-fixed-voltage wifi-diable-gpio-regulator: wifi_disable supplying 0uV
Interesting node wifi_disable
which is indeed defined without status
attribute. It sounds like, when enabled, it would disable WiFi. But this is also present in 5.10 sources and not changed anywhere.
[ 4.396570] [WLAN_RFKILL]: Enter rfkill_wlan_init
[ 4.396950] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[ 4.396997] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6275p
[ 4.397009] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[ 4.397023] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[ 4.397098] [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,host_wake_irq = 8, flags = 0.
[ 4.397119] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
[ 4.397134] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[ 4.397146] [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 1
[ 4.397158] [WLAN_RFKILL]: Exit rfkill_wlan_probe
It seems the same happens with the same WiFi module on Radxa ZERO 3: Share of Unofficial DietPi - Radxa Zero 3W