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