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