xref: /freebsd/sys/contrib/device-tree/Bindings/net/wireless/ieee80211.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
12eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22eb4d8dcSEmmanuel Vadot# Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
32eb4d8dcSEmmanuel Vadot
42eb4d8dcSEmmanuel Vadot%YAML 1.2
52eb4d8dcSEmmanuel Vadot---
62eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/net/wireless/ieee80211.yaml#
72eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
82eb4d8dcSEmmanuel Vadot
9*8bab661aSEmmanuel Vadottitle: Common IEEE 802.11
102eb4d8dcSEmmanuel Vadot
112eb4d8dcSEmmanuel Vadotmaintainers:
122eb4d8dcSEmmanuel Vadot  - Lorenzo Bianconi <lorenzo@kernel.org>
132eb4d8dcSEmmanuel Vadot
142eb4d8dcSEmmanuel Vadotdescription: |
152eb4d8dcSEmmanuel Vadot  This provides documentation of common properties that are valid for
162eb4d8dcSEmmanuel Vadot  all wireless devices
172eb4d8dcSEmmanuel Vadot
182eb4d8dcSEmmanuel Vadotproperties:
192eb4d8dcSEmmanuel Vadot  ieee80211-freq-limit:
202eb4d8dcSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32-matrix
212eb4d8dcSEmmanuel Vadot    items:
222eb4d8dcSEmmanuel Vadot      minItems: 2
232eb4d8dcSEmmanuel Vadot      maxItems: 2
242eb4d8dcSEmmanuel Vadot    description:
252eb4d8dcSEmmanuel Vadot      List of supported frequency ranges in KHz. This can be used for devices
262eb4d8dcSEmmanuel Vadot      that in a given config support less channels than normally. It may happen
272eb4d8dcSEmmanuel Vadot      chipset supports a wide wireless band but it is limited to some part of
282eb4d8dcSEmmanuel Vadot      it due to used antennas or power amplifier. An example case for this
292eb4d8dcSEmmanuel Vadot      can be tri-band wireless router with two identical chipsets used for two
302eb4d8dcSEmmanuel Vadot      different 5 GHz subbands. Using them incorrectly could not work or
312eb4d8dcSEmmanuel Vadot      decrease performance noticeably
322eb4d8dcSEmmanuel Vadot
332eb4d8dcSEmmanuel VadotadditionalProperties: true
342eb4d8dcSEmmanuel Vadot
352eb4d8dcSEmmanuel Vadotexamples:
362eb4d8dcSEmmanuel Vadot  - |
372eb4d8dcSEmmanuel Vadot    pcie0 {
382eb4d8dcSEmmanuel Vadot      #address-cells = <3>;
392eb4d8dcSEmmanuel Vadot      #size-cells = <2>;
402eb4d8dcSEmmanuel Vadot      wifi@0,0 {
412eb4d8dcSEmmanuel Vadot        reg = <0x0000 0 0 0 0>;
422eb4d8dcSEmmanuel Vadot        ieee80211-freq-limit = <2402000 2482000>,
432eb4d8dcSEmmanuel Vadot                               <5170000 5250000>;
442eb4d8dcSEmmanuel Vadot      };
452eb4d8dcSEmmanuel Vadot    };
46