Qualcomm Atheros ath9k wireless devices

Schema identifier ($id): "http://devicetree.org/schemas/net/wireless/qca,ath9k.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Toke Høiland-Jørgensen <toke@toke.dk>"

This node provides properties for configuring the ath9k wireless device. The node is expected to be specified as a child node of the PCI controller or AHB bus to which the wireless chip is connected.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): ieee80211.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "pci168c,0023", "pci168c,0024", "pci168c,0027", "pci168c,0029", "pci168c,002a", "pci168c,002b", "pci168c,002c", "pci168c,002d", "pci168c,002e", "pci168c,0030", "pci168c,0032", "pci168c,0033", "pci168c,0034", "pci168c,0036", "pci168c,0037", "qca,ar9130-wifi", "qca,ar9330-wifi", "qca,ar9340-wifi", "qca,qca9530-wifi", "qca,qca9550-wifi", "qca,qca9560-wifi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

ieee80211-freq-limit — not listed as required here #

true — No constraints added by this property rule.

qca,no-eeprom — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Indicates that there is no physical EEPROM connected

nvmem-cells — not listed as required here #

Array item rules (items) #

Item 1

Reference to an nvmem node for the MAC address

Item 2

Reference to an nvmem node for calibration data

nvmem-cell-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mac-address"

Item 2

Exact value (const): "calibration"

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pcie0 {
  #address-cells = <3>;
  #size-cells = <2>;
  wifi@0,0 {
    compatible = "pci168c,002d";
    reg = <0 0 0 0 0>;
    interrupts = <3>;
    qca,no-eeprom;
  };
};
pci0 {
  #address-cells = <3>;
  #size-cells = <2>;
  wifi@0,11 {
    compatible = "pci168c,0029";
    reg = <0x8800 0 0 0 0>;
    nvmem-cells = <&macaddr_art_c>, <&cal_art_1000>;
    nvmem-cell-names = "mac-address", "calibration";
  };
};
ahb {
  #address-cells = <1>;
  #size-cells = <1>;
  wifi@180c0000 {
    compatible = "qca,ar9130-wifi";
    reg = <0x180c0000 0x230000>;
    interrupts = <2>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 23: AR5416

Line 24: AR5418

Line 25: AR9160

Line 26: AR9220 and AR9223

Line 27: AR9280 and AR9283

Line 28: AR9285

Line 29: AR2427 - 802.11n bonded out

Line 30: AR9227

Line 31: AR9287

Line 32: AR9380, AR9381 and AR9382

Line 33: AR9485

Line 34: AR9580 and AR9590

Line 35: AR9462

Line 36: AR9565

Line 37: AR1111 and AR9485

Edit this page