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