1*c66ec88fSEmmanuel Vadot* Qualcomm Atheros ath9k wireless devices 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThis node provides properties for configuring the ath9k wireless device. The 4*c66ec88fSEmmanuel Vadotnode is expected to be specified as a child node of the PCI controller to 5*c66ec88fSEmmanuel Vadotwhich the wireless chip is connected. 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel VadotRequired properties: 8*c66ec88fSEmmanuel Vadot- compatible: For PCI and PCIe devices this should be an identifier following 9*c66ec88fSEmmanuel Vadot the format as defined in "PCI Bus Binding to Open Firmware" 10*c66ec88fSEmmanuel Vadot Revision 2.1. One of the possible formats is "pciVVVV,DDDD" 11*c66ec88fSEmmanuel Vadot where VVVV is the PCI vendor ID and DDDD is PCI device ID. 12*c66ec88fSEmmanuel Vadot Typically QCA's PCI vendor ID 168c is used while the PCI device 13*c66ec88fSEmmanuel Vadot ID depends on the chipset - see the following (possibly 14*c66ec88fSEmmanuel Vadot incomplete) list: 15*c66ec88fSEmmanuel Vadot - 0023 for AR5416 16*c66ec88fSEmmanuel Vadot - 0024 for AR5418 17*c66ec88fSEmmanuel Vadot - 0027 for AR9160 18*c66ec88fSEmmanuel Vadot - 0029 for AR9220 and AR9223 19*c66ec88fSEmmanuel Vadot - 002a for AR9280 and AR9283 20*c66ec88fSEmmanuel Vadot - 002b for AR9285 21*c66ec88fSEmmanuel Vadot - 002c for AR2427 22*c66ec88fSEmmanuel Vadot - 002d for AR9227 23*c66ec88fSEmmanuel Vadot - 002e for AR9287 24*c66ec88fSEmmanuel Vadot - 0030 for AR9380, AR9381 and AR9382 25*c66ec88fSEmmanuel Vadot - 0032 for AR9485 26*c66ec88fSEmmanuel Vadot - 0033 for AR9580 and AR9590 27*c66ec88fSEmmanuel Vadot - 0034 for AR9462 28*c66ec88fSEmmanuel Vadot - 0036 for AR9565 29*c66ec88fSEmmanuel Vadot - 0037 for AR9485 30*c66ec88fSEmmanuel Vadot- reg: Address and length of the register set for the device. 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel VadotOptional properties: 33*c66ec88fSEmmanuel Vadot- qca,no-eeprom: Indicates that there is no physical EEPROM connected to the 34*c66ec88fSEmmanuel Vadot ath9k wireless chip (in this case the calibration / 35*c66ec88fSEmmanuel Vadot EEPROM data will be loaded from userspace using the 36*c66ec88fSEmmanuel Vadot kernel firmware loader). 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel VadotThe MAC address will be determined using the optional properties defined in 39*c66ec88fSEmmanuel Vadotnet/ethernet.txt. 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel VadotIn this example, the node is defined as child node of the PCI controller: 42*c66ec88fSEmmanuel Vadot&pci0 { 43*c66ec88fSEmmanuel Vadot wifi@168c,002d { 44*c66ec88fSEmmanuel Vadot compatible = "pci168c,002d"; 45*c66ec88fSEmmanuel Vadot reg = <0x7000 0 0 0 0x1000>; 46*c66ec88fSEmmanuel Vadot qca,no-eeprom; 47*c66ec88fSEmmanuel Vadot }; 48*c66ec88fSEmmanuel Vadot}; 49