| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/net/wireless/qca,ath9k.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Qualcomm Atheros ath9k wireless devices |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Toke Høiland-Jørgensen <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
This node provides properties for configuring the ath9k wireless device. |
| 14 |
The node is expected to be specified as a child node of the PCI controller |
| 15 |
or AHB bus to which the wireless chip is connected. |
| 16 |
|
| 17 |
allOf: |
| 18 |
- $ref: ieee80211.yaml# |
| 19 |
|
| 20 |
properties: |
| 21 |
compatible: |
| 22 |
enum: |
| 23 |
- pci168c,0023 # AR5416 |
| 24 |
- pci168c,0024 # AR5418 |
| 25 |
- pci168c,0027 # AR9160 |
| 26 |
- pci168c,0029 # AR9220 and AR9223 |
| 27 |
- pci168c,002a # AR9280 and AR9283 |
| 28 |
- pci168c,002b # AR9285 |
| 29 |
- pci168c,002c # AR2427 - 802.11n bonded out |
| 30 |
- pci168c,002d # AR9227 |
| 31 |
- pci168c,002e # AR9287 |
| 32 |
- pci168c,0030 # AR9380, AR9381 and AR9382 |
| 33 |
- pci168c,0032 # AR9485 |
| 34 |
- pci168c,0033 # AR9580 and AR9590 |
| 35 |
- pci168c,0034 # AR9462 |
| 36 |
- pci168c,0036 # AR9565 |
| 37 |
- pci168c,0037 # AR1111 and AR9485 |
| 38 |
- qca,ar9130-wifi |
| 39 |
- qca,ar9330-wifi |
| 40 |
- qca,ar9340-wifi |
| 41 |
- qca,qca9530-wifi |
| 42 |
- qca,qca9550-wifi |
| 43 |
- qca,qca9560-wifi |
| 44 |
|
| 45 |
reg: |
| 46 |
maxItems: 1 |
| 47 |
|
| 48 |
interrupts: |
| 49 |
maxItems: 1 |
| 50 |
|
| 51 |
ieee80211-freq-limit: true |
| 52 |
|
| 53 |
qca,no-eeprom: |
| 54 |
$ref: /schemas/types.yaml#/definitions/flag |
| 55 |
description: |
| 56 |
Indicates that there is no physical EEPROM connected |
| 57 |
|
| 58 |
nvmem-cells: |
| 59 |
items: |
| 60 |
- description: Reference to an nvmem node for the MAC address |
| 61 |
- description: Reference to an nvmem node for calibration data |
| 62 |
|
| 63 |
nvmem-cell-names: |
| 64 |
items: |
| 65 |
- const: mac-address |
| 66 |
- const: calibration |
| 67 |
|
| 68 |
required: |
| 69 |
- compatible |
| 70 |
- reg |
| 71 |
|
| 72 |
additionalProperties: false |
| 73 |
|
| 74 |
examples: |
| 75 |
- | |
| 76 |
pcie0 { |
| 77 |
#address-cells = <3>; |
| 78 |
#size-cells = <2>; |
| 79 |
wifi@0,0 { |
| 80 |
compatible = "pci168c,002d"; |
| 81 |
reg = <0 0 0 0 0>; |
| 82 |
interrupts = <3>; |
| 83 |
qca,no-eeprom; |
| 84 |
}; |
| 85 |
}; |
| 86 |
- | |
| 87 |
pci0 { |
| 88 |
#address-cells = <3>; |
| 89 |
#size-cells = <2>; |
| 90 |
wifi@0,11 { |
| 91 |
compatible = "pci168c,0029"; |
| 92 |
reg = <0x8800 0 0 0 0>; |
| 93 |
nvmem-cells = <&macaddr_art_c>, <&cal_art_1000>; |
| 94 |
nvmem-cell-names = "mac-address", "calibration"; |
| 95 |
}; |
| 96 |
}; |
| 97 |
- | |
| 98 |
ahb { |
| 99 |
#address-cells = <1>; |
| 100 |
#size-cells = <1>; |
| 101 |
wifi@180c0000 { |
| 102 |
compatible = "qca,ar9130-wifi"; |
| 103 |
reg = <0x180c0000 0x230000>; |
| 104 |
interrupts = <2>; |
| 105 |
}; |
| 106 |
}; |