xref: /openbmc/linux/Documentation/devicetree/bindings/net/wireless/ieee80211.yaml (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
17c82bbb1SLorenzo Bianconi# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
27c82bbb1SLorenzo Bianconi# Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
37c82bbb1SLorenzo Bianconi%YAML 1.2
47c82bbb1SLorenzo Bianconi---
57c82bbb1SLorenzo Bianconi$id: http://devicetree.org/schemas/net/wireless/ieee80211.yaml#
67c82bbb1SLorenzo Bianconi$schema: http://devicetree.org/meta-schemas/core.yaml#
77c82bbb1SLorenzo Bianconi
8*84e85359SKrzysztof Kozlowskititle: Common IEEE 802.11
97c82bbb1SLorenzo Bianconi
107c82bbb1SLorenzo Bianconimaintainers:
117c82bbb1SLorenzo Bianconi  - Lorenzo Bianconi <lorenzo@kernel.org>
127c82bbb1SLorenzo Bianconi
137c82bbb1SLorenzo Bianconidescription: |
147c82bbb1SLorenzo Bianconi  This provides documentation of common properties that are valid for
157c82bbb1SLorenzo Bianconi  all wireless devices
167c82bbb1SLorenzo Bianconi
177c82bbb1SLorenzo Bianconiproperties:
187c82bbb1SLorenzo Bianconi  ieee80211-freq-limit:
197c82bbb1SLorenzo Bianconi    $ref: /schemas/types.yaml#/definitions/uint32-matrix
207c82bbb1SLorenzo Bianconi    items:
217c82bbb1SLorenzo Bianconi      minItems: 2
227c82bbb1SLorenzo Bianconi      maxItems: 2
237c82bbb1SLorenzo Bianconi    description:
247c82bbb1SLorenzo Bianconi      List of supported frequency ranges in KHz. This can be used for devices
257c82bbb1SLorenzo Bianconi      that in a given config support less channels than normally. It may happen
267c82bbb1SLorenzo Bianconi      chipset supports a wide wireless band but it is limited to some part of
277c82bbb1SLorenzo Bianconi      it due to used antennas or power amplifier. An example case for this
287c82bbb1SLorenzo Bianconi      can be tri-band wireless router with two identical chipsets used for two
297c82bbb1SLorenzo Bianconi      different 5 GHz subbands. Using them incorrectly could not work or
307c82bbb1SLorenzo Bianconi      decrease performance noticeably
317c82bbb1SLorenzo Bianconi
327c82bbb1SLorenzo BianconiadditionalProperties: true
337c82bbb1SLorenzo Bianconi
347c82bbb1SLorenzo Bianconiexamples:
357c82bbb1SLorenzo Bianconi  - |
367c82bbb1SLorenzo Bianconi    pcie0 {
377c82bbb1SLorenzo Bianconi      #address-cells = <3>;
387c82bbb1SLorenzo Bianconi      #size-cells = <2>;
397c82bbb1SLorenzo Bianconi      wifi@0,0 {
407c82bbb1SLorenzo Bianconi        reg = <0x0000 0 0 0 0>;
417c82bbb1SLorenzo Bianconi        ieee80211-freq-limit = <2402000 2482000>,
427c82bbb1SLorenzo Bianconi                               <5170000 5250000>;
437c82bbb1SLorenzo Bianconi      };
447c82bbb1SLorenzo Bianconi    };
45