Ath9k: probe of 0000:01:00.0 failed with error -12

Hello. I am trying to install a Qualcomm Atheros AR958x 802.11abgn Wireless Network Adapter on OpenWRT on a Raspberry Pi CM4 8GB. However, I'm getting the error "ath9k: probe of 0000:01:00.0 failed with error -12". What should I do? I request your help.

root@OpenWrt:~# lsmod | grep ath9k
ath 28672 3 ath9k,ath9k_common,ath9k_hw
ath9k 106496 0
ath9k_common 20480 1 ath9k
ath9k_hw 335872 2 ath9k,ath9k_common
cfg80211 327680 5 ath9k,ath9k_common,brcmfmac,ath,mac80211
compat 12288 5 ath9k,ath9k_common,brcmfmac,mac80211,cfg80211
mac80211 622592 1 ath9k

root@OpenWrt:~# dmesg | grep pci
[ 0.150108] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 0.150145] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 0.150195] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x067fffffff -> 0x0080000000
[ 0.150244] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x01ffffffff -> 0x0400000000
[ 0.151151] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 0.151177] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.151198] pci_bus 0000:00: root bus resource [mem 0x600000000-0x67fffffff] (bus address [0x80000000-0xffffffff])
[ 0.151250] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 0.151333] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 0.154754] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.154895] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator
[ 0.155030] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator
[ 0.155086] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator
[ 0.274274] brcm-pcie fd500000.pcie: link up, 2.5 GT/s PCIe x1 (SSC)
[ 0.274338] pci 0000:01:00.0: [168c:0033] type 00 class 0x028000
[ 0.274387] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0001ffff 64bit]
[ 0.274455] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.274577] pci 0000:01:00.0: supports D1
[ 0.274592] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[ 0.274870] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.274913] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 0.274938] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x60001ffff 64bit]
[ 0.274972] pci 0000:01:00.0: BAR 6: assigned [mem 0x600020000-0x60002ffff pref]
[ 0.274993] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.275010] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 0.275031] pci_bus 0000:00: resource 4 [mem 0x600000000-0x67fffffff]
[ 0.275048] pci_bus 0000:01: resource 1 [mem 0x600000000-0x6000fffff]
[ 0.275262] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 0.275400] pcieport 0000:00:00.0: PME: Signaling with IRQ 26
[ 0.275663] pcieport 0000:00:00.0: AER: enabled with IRQ 26

root@OpenWrt:~# cat /proc/mtd
cat: can't open '/proc/mtd': No such file or directory

root@OpenWrt:~# lspci | grep Network
01:00.0 Network controller: Qualcomm Atheros AR958x 802.11abgn Wireless Network Adapter (rev 01)

root@OpenWrt:~# dmesg | grep ath9k
[ 8.365058] ath9k 0000:01:00.0: enabling device (0000 -> 0002)
[ 8.501469] ath9k 0000:01:00.0: Failed to initialize device
[ 8.508144] ath9k: probe of 0000:01:00.0 failed with error -12

root@OpenWrt:/tmp/openwrt# dmesg | grep -i ath
[ 8.365058] ath9k 0000:01:00.0: enabling device (0000 -> 0002)
[ 8.494459] ath: EEPROM regdomain: 0x0
[ 8.494464] ath: EEPROM indicates default country code should be used
[ 8.494467] ath: doing EEPROM country->regdmn map search
[ 8.494473] ath: country maps to regdmn code: 0x3a
[ 8.494476] ath: Country alpha2 being used: US
[ 8.494479] ath: Regpair used: 0x3a
[ 8.494615] ath: phy0: Failed to allocate tx descriptors: -12
[ 8.501469] ath9k 0000:01:00.0: Failed to initialize device
[ 8.508144] ath9k: probe of 0000:01:00.0 failed with error -12

What kind of device is this exactly?
Did you buy it as a notebook spare or salvage it from there or did it come out of an old router/ AP?

Only the standalone cards (meant for PCs, notebooks) are equipped with the necessary EPROM for the wifi calibration data (ART). Cards destined for routers/ APs come 'usually' without this crucial EPROM, in favour of putting the data into a partition on the main system flash instead (which you won't have access to outside of its original environment).

EDIT: and with PC/ notebook cards, you are likely to hit ATH9K_SUPPORT_PCOEM (at least on non-x86).

This occurs when installing Dudlelab's NM-DB-3M communication module.
https://techlibrary.doodlelabs.com/doodle-labs-nm-db-3-industrial-wi-fi-transceiver
I need your help.
Any good solutions?

Raspberry CM4 is 64bit and requires AR958x 32bit storage. Configuring DMA solved the problem. Please note.