1 From b263e0bb9d4585ca3ec04d7257ca5308d21333bb Mon Sep 17 00:00:00 2001
2 From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
3 Date: Sun, 16 Oct 2016 22:59:05 +0200
4 Subject: [PATCH 1/3] Documentation: dt: net: add ath9k wireless device binding
6 Add documentation how devicetree can be used to configure ath9k based
9 Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
10 Acked-by: Rob Herring <robh@kernel.org>
11 Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
13 .../devicetree/bindings/net/wireless/qca,ath9k.txt | 48 ++++++++++++++++++++++
14 1 file changed, 48 insertions(+)
15 create mode 100644 Documentation/devicetree/bindings/net/wireless/qca,ath9k.txt
18 +++ b/Documentation/devicetree/bindings/net/wireless/qca,ath9k.txt
20 +* Qualcomm Atheros ath9k wireless devices
22 +This node provides properties for configuring the ath9k wireless device. The
23 +node is expected to be specified as a child node of the PCI controller to
24 +which the wireless chip is connected.
27 +- compatible: For PCI and PCIe devices this should be an identifier following
28 + the format as defined in "PCI Bus Binding to Open Firmware"
29 + Revision 2.1. One of the possible formats is "pciVVVV,DDDD"
30 + where VVVV is the PCI vendor ID and DDDD is PCI device ID.
31 + Typically QCA's PCI vendor ID 168c is used while the PCI device
32 + ID depends on the chipset - see the following (possibly
37 + - 0029 for AR9220 and AR9223
38 + - 002a for AR9280 and AR9283
43 + - 0030 for AR9380, AR9381 and AR9382
45 + - 0033 for AR9580 and AR9590
49 +- reg: Address and length of the register set for the device.
52 +- qca,no-eeprom: Indicates that there is no physical EEPROM connected to the
53 + ath9k wireless chip (in this case the calibration /
54 + EEPROM data will be loaded from userspace using the
55 + kernel firmware loader).
56 +- mac-address: See ethernet.txt in the parent directory
57 +- local-mac-address: See ethernet.txt in the parent directory
60 +In this example, the node is defined as child node of the PCI controller:
63 + compatible = "pci168c,002d";
64 + reg = <0x7000 0 0 0 0x1000>;