157bb2398SChristian Lamparter# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 257bb2398SChristian Lamparter%YAML 1.2 357bb2398SChristian Lamparter--- 457bb2398SChristian Lamparter$id: http://devicetree.org/schemas/net/wireless/qca,ath9k.yaml# 557bb2398SChristian Lamparter$schema: http://devicetree.org/meta-schemas/core.yaml# 657bb2398SChristian Lamparter 7*9fa3ad1aSKrzysztof Kozlowskititle: Qualcomm Atheros ath9k wireless devices 857bb2398SChristian Lamparter 957bb2398SChristian Lampartermaintainers: 10f424b1a6SKalle Valo - Toke Høiland-Jørgensen <toke@toke.dk> 1157bb2398SChristian Lamparter 1257bb2398SChristian Lamparterdescription: | 1357bb2398SChristian Lamparter This node provides properties for configuring the ath9k wireless device. 1457bb2398SChristian Lamparter The node is expected to be specified as a child node of the PCI controller 1557bb2398SChristian Lamparter to which the wireless chip is connected. 1657bb2398SChristian Lamparter 1757bb2398SChristian LamparterallOf: 1857bb2398SChristian Lamparter - $ref: ieee80211.yaml# 1957bb2398SChristian Lamparter 2057bb2398SChristian Lamparterproperties: 2157bb2398SChristian Lamparter compatible: 2257bb2398SChristian Lamparter enum: 2357bb2398SChristian Lamparter - pci168c,0023 # AR5416 2457bb2398SChristian Lamparter - pci168c,0024 # AR5418 2557bb2398SChristian Lamparter - pci168c,0027 # AR9160 2657bb2398SChristian Lamparter - pci168c,0029 # AR9220 and AR9223 2757bb2398SChristian Lamparter - pci168c,002a # AR9280 and AR9283 2857bb2398SChristian Lamparter - pci168c,002b # AR9285 2957bb2398SChristian Lamparter - pci168c,002c # AR2427 - 802.11n bonded out 3057bb2398SChristian Lamparter - pci168c,002d # AR9227 3157bb2398SChristian Lamparter - pci168c,002e # AR9287 3257bb2398SChristian Lamparter - pci168c,0030 # AR9380, AR9381 and AR9382 3357bb2398SChristian Lamparter - pci168c,0032 # AR9485 3457bb2398SChristian Lamparter - pci168c,0033 # AR9580 and AR9590 3557bb2398SChristian Lamparter - pci168c,0034 # AR9462 3657bb2398SChristian Lamparter - pci168c,0036 # AR9565 3757bb2398SChristian Lamparter - pci168c,0037 # AR1111 and AR9485 3857bb2398SChristian Lamparter 3957bb2398SChristian Lamparter reg: 4057bb2398SChristian Lamparter maxItems: 1 4157bb2398SChristian Lamparter 4257bb2398SChristian Lamparter interrupts: 4357bb2398SChristian Lamparter maxItems: 1 4457bb2398SChristian Lamparter 4557bb2398SChristian Lamparter ieee80211-freq-limit: true 4657bb2398SChristian Lamparter 4757bb2398SChristian Lamparter qca,no-eeprom: 4857bb2398SChristian Lamparter $ref: /schemas/types.yaml#/definitions/flag 4957bb2398SChristian Lamparter description: 5057bb2398SChristian Lamparter Indicates that there is no physical EEPROM connected 5157bb2398SChristian Lamparter 5257bb2398SChristian Lamparter nvmem-cells: 5357bb2398SChristian Lamparter items: 5457bb2398SChristian Lamparter - description: Reference to an nvmem node for the MAC address 5557bb2398SChristian Lamparter - description: Reference to an nvmem node for calibration data 5657bb2398SChristian Lamparter 5757bb2398SChristian Lamparter nvmem-cell-names: 5857bb2398SChristian Lamparter items: 5957bb2398SChristian Lamparter - const: mac-address 6057bb2398SChristian Lamparter - const: calibration 6157bb2398SChristian Lamparter 6257bb2398SChristian Lamparterrequired: 6357bb2398SChristian Lamparter - compatible 6457bb2398SChristian Lamparter - reg 6557bb2398SChristian Lamparter 6657bb2398SChristian LamparteradditionalProperties: false 6757bb2398SChristian Lamparter 6857bb2398SChristian Lamparterexamples: 6957bb2398SChristian Lamparter - | 7057bb2398SChristian Lamparter pcie0 { 7157bb2398SChristian Lamparter #address-cells = <3>; 7257bb2398SChristian Lamparter #size-cells = <2>; 7357bb2398SChristian Lamparter wifi@0,0 { 7457bb2398SChristian Lamparter compatible = "pci168c,002d"; 7557bb2398SChristian Lamparter reg = <0 0 0 0 0>; 7657bb2398SChristian Lamparter interrupts = <3>; 7757bb2398SChristian Lamparter qca,no-eeprom; 7857bb2398SChristian Lamparter }; 7957bb2398SChristian Lamparter }; 8057bb2398SChristian Lamparter - | 8157bb2398SChristian Lamparter pci0 { 8257bb2398SChristian Lamparter #address-cells = <3>; 8357bb2398SChristian Lamparter #size-cells = <2>; 8457bb2398SChristian Lamparter wifi@0,11 { 8557bb2398SChristian Lamparter compatible = "pci168c,0029"; 8657bb2398SChristian Lamparter reg = <0x8800 0 0 0 0>; 8757bb2398SChristian Lamparter nvmem-cells = <&macaddr_art_c>, <&cal_art_1000>; 8857bb2398SChristian Lamparter nvmem-cell-names = "mac-address", "calibration"; 8957bb2398SChristian Lamparter }; 9057bb2398SChristian Lamparter }; 91