xref: /freebsd/sys/contrib/device-tree/Bindings/net/wireless/ieee80211.yaml (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
1*2eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*2eb4d8dcSEmmanuel Vadot# Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
3*2eb4d8dcSEmmanuel Vadot
4*2eb4d8dcSEmmanuel Vadot%YAML 1.2
5*2eb4d8dcSEmmanuel Vadot---
6*2eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/net/wireless/ieee80211.yaml#
7*2eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
8*2eb4d8dcSEmmanuel Vadot
9*2eb4d8dcSEmmanuel Vadottitle: Common IEEE 802.11 Binding
10*2eb4d8dcSEmmanuel Vadot
11*2eb4d8dcSEmmanuel Vadotmaintainers:
12*2eb4d8dcSEmmanuel Vadot  - Lorenzo Bianconi <lorenzo@kernel.org>
13*2eb4d8dcSEmmanuel Vadot
14*2eb4d8dcSEmmanuel Vadotdescription: |
15*2eb4d8dcSEmmanuel Vadot  This provides documentation of common properties that are valid for
16*2eb4d8dcSEmmanuel Vadot  all wireless devices
17*2eb4d8dcSEmmanuel Vadot
18*2eb4d8dcSEmmanuel Vadotproperties:
19*2eb4d8dcSEmmanuel Vadot  ieee80211-freq-limit:
20*2eb4d8dcSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32-matrix
21*2eb4d8dcSEmmanuel Vadot    items:
22*2eb4d8dcSEmmanuel Vadot      minItems: 2
23*2eb4d8dcSEmmanuel Vadot      maxItems: 2
24*2eb4d8dcSEmmanuel Vadot    description:
25*2eb4d8dcSEmmanuel Vadot      List of supported frequency ranges in KHz. This can be used for devices
26*2eb4d8dcSEmmanuel Vadot      that in a given config support less channels than normally. It may happen
27*2eb4d8dcSEmmanuel Vadot      chipset supports a wide wireless band but it is limited to some part of
28*2eb4d8dcSEmmanuel Vadot      it due to used antennas or power amplifier. An example case for this
29*2eb4d8dcSEmmanuel Vadot      can be tri-band wireless router with two identical chipsets used for two
30*2eb4d8dcSEmmanuel Vadot      different 5 GHz subbands. Using them incorrectly could not work or
31*2eb4d8dcSEmmanuel Vadot      decrease performance noticeably
32*2eb4d8dcSEmmanuel Vadot
33*2eb4d8dcSEmmanuel VadotadditionalProperties: true
34*2eb4d8dcSEmmanuel Vadot
35*2eb4d8dcSEmmanuel Vadotexamples:
36*2eb4d8dcSEmmanuel Vadot  - |
37*2eb4d8dcSEmmanuel Vadot    pcie0 {
38*2eb4d8dcSEmmanuel Vadot      #address-cells = <3>;
39*2eb4d8dcSEmmanuel Vadot      #size-cells = <2>;
40*2eb4d8dcSEmmanuel Vadot      wifi@0,0 {
41*2eb4d8dcSEmmanuel Vadot        reg = <0x0000 0 0 0 0>;
42*2eb4d8dcSEmmanuel Vadot        ieee80211-freq-limit = <2402000 2482000>,
43*2eb4d8dcSEmmanuel Vadot                               <5170000 5250000>;
44*2eb4d8dcSEmmanuel Vadot      };
45*2eb4d8dcSEmmanuel Vadot    };
46