xref: /freebsd/sys/contrib/device-tree/Bindings/net/wireless/qca,ath9k.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/net/wireless/qca,ath9k.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Qualcomm Atheros ath9k wireless devices
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
10d5b0e70fSEmmanuel Vadot  - Toke Høiland-Jørgensen <toke@toke.dk>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel Vadotdescription: |
138cc087a1SEmmanuel Vadot  This node provides properties for configuring the ath9k wireless device.
148cc087a1SEmmanuel Vadot  The node is expected to be specified as a child node of the PCI controller
158cc087a1SEmmanuel Vadot  to which the wireless chip is connected.
168cc087a1SEmmanuel Vadot
178cc087a1SEmmanuel VadotallOf:
188cc087a1SEmmanuel Vadot  - $ref: ieee80211.yaml#
198cc087a1SEmmanuel Vadot
208cc087a1SEmmanuel Vadotproperties:
218cc087a1SEmmanuel Vadot  compatible:
228cc087a1SEmmanuel Vadot    enum:
238cc087a1SEmmanuel Vadot      - pci168c,0023  # AR5416
248cc087a1SEmmanuel Vadot      - pci168c,0024  # AR5418
258cc087a1SEmmanuel Vadot      - pci168c,0027  # AR9160
268cc087a1SEmmanuel Vadot      - pci168c,0029  # AR9220 and AR9223
278cc087a1SEmmanuel Vadot      - pci168c,002a  # AR9280 and AR9283
288cc087a1SEmmanuel Vadot      - pci168c,002b  # AR9285
298cc087a1SEmmanuel Vadot      - pci168c,002c  # AR2427 - 802.11n bonded out
308cc087a1SEmmanuel Vadot      - pci168c,002d  # AR9227
318cc087a1SEmmanuel Vadot      - pci168c,002e  # AR9287
328cc087a1SEmmanuel Vadot      - pci168c,0030  # AR9380, AR9381 and AR9382
338cc087a1SEmmanuel Vadot      - pci168c,0032  # AR9485
348cc087a1SEmmanuel Vadot      - pci168c,0033  # AR9580 and AR9590
358cc087a1SEmmanuel Vadot      - pci168c,0034  # AR9462
368cc087a1SEmmanuel Vadot      - pci168c,0036  # AR9565
378cc087a1SEmmanuel Vadot      - pci168c,0037  # AR1111 and AR9485
388cc087a1SEmmanuel Vadot
398cc087a1SEmmanuel Vadot  reg:
408cc087a1SEmmanuel Vadot    maxItems: 1
418cc087a1SEmmanuel Vadot
428cc087a1SEmmanuel Vadot  interrupts:
438cc087a1SEmmanuel Vadot    maxItems: 1
448cc087a1SEmmanuel Vadot
458cc087a1SEmmanuel Vadot  ieee80211-freq-limit: true
468cc087a1SEmmanuel Vadot
478cc087a1SEmmanuel Vadot  qca,no-eeprom:
488cc087a1SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/flag
498cc087a1SEmmanuel Vadot    description:
508cc087a1SEmmanuel Vadot      Indicates that there is no physical EEPROM connected
518cc087a1SEmmanuel Vadot
528cc087a1SEmmanuel Vadot  nvmem-cells:
538cc087a1SEmmanuel Vadot    items:
548cc087a1SEmmanuel Vadot      - description: Reference to an nvmem node for the MAC address
558cc087a1SEmmanuel Vadot      - description: Reference to an nvmem node for calibration data
568cc087a1SEmmanuel Vadot
578cc087a1SEmmanuel Vadot  nvmem-cell-names:
588cc087a1SEmmanuel Vadot    items:
598cc087a1SEmmanuel Vadot      - const: mac-address
608cc087a1SEmmanuel Vadot      - const: calibration
618cc087a1SEmmanuel Vadot
628cc087a1SEmmanuel Vadotrequired:
638cc087a1SEmmanuel Vadot  - compatible
648cc087a1SEmmanuel Vadot  - reg
658cc087a1SEmmanuel Vadot
668cc087a1SEmmanuel VadotadditionalProperties: false
678cc087a1SEmmanuel Vadot
688cc087a1SEmmanuel Vadotexamples:
698cc087a1SEmmanuel Vadot  - |
708cc087a1SEmmanuel Vadot    pcie0 {
718cc087a1SEmmanuel Vadot      #address-cells = <3>;
728cc087a1SEmmanuel Vadot      #size-cells = <2>;
738cc087a1SEmmanuel Vadot      wifi@0,0 {
748cc087a1SEmmanuel Vadot        compatible = "pci168c,002d";
758cc087a1SEmmanuel Vadot        reg = <0 0 0 0 0>;
768cc087a1SEmmanuel Vadot        interrupts = <3>;
778cc087a1SEmmanuel Vadot        qca,no-eeprom;
788cc087a1SEmmanuel Vadot      };
798cc087a1SEmmanuel Vadot    };
808cc087a1SEmmanuel Vadot  - |
818cc087a1SEmmanuel Vadot    pci0 {
828cc087a1SEmmanuel Vadot      #address-cells = <3>;
838cc087a1SEmmanuel Vadot      #size-cells = <2>;
848cc087a1SEmmanuel Vadot      wifi@0,11 {
858cc087a1SEmmanuel Vadot        compatible = "pci168c,0029";
868cc087a1SEmmanuel Vadot        reg = <0x8800 0 0 0 0>;
878cc087a1SEmmanuel Vadot        nvmem-cells = <&macaddr_art_c>, <&cal_art_1000>;
888cc087a1SEmmanuel Vadot        nvmem-cell-names = "mac-address", "calibration";
898cc087a1SEmmanuel Vadot      };
908cc087a1SEmmanuel Vadot    };
91