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