xref: /linux/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2# Copyright (c) 2023 Linaro Limited
3%YAML 1.2
4---
5$id: http://devicetree.org/schemas/net/wireless/qcom,ath11k-pci.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: Qualcomm Technologies ath11k wireless devices (PCIe)
9
10maintainers:
11  - Kalle Valo <kvalo@kernel.org>
12  - Jeff Johnson <jjohnson@kernel.org>
13
14description: |
15  Qualcomm Technologies IEEE 802.11ax PCIe devices
16
17properties:
18  compatible:
19    enum:
20      - pci17cb,1101  # QCA6390
21      - pci17cb,1103  # WCN6855
22
23  reg:
24    maxItems: 1
25
26  qcom,ath11k-calibration-variant:
27    $ref: /schemas/types.yaml#/definitions/string
28    description: |
29      string to uniquely identify variant of the calibration data for designs
30      with colliding bus and device ids
31
32  vddrfacmn-supply:
33    description: VDD_RFA_CMN supply regulator handle
34
35  vddaon-supply:
36    description: VDD_AON supply regulator handle
37
38  vddwlcx-supply:
39    description: VDD_WL_CX supply regulator handle
40
41  vddwlmx-supply:
42    description: VDD_WL_MX supply regulator handle
43
44  vddrfa0p8-supply:
45    description: VDD_RFA_0P8 supply regulator handle
46
47  vddrfa1p2-supply:
48    description: VDD_RFA_1P2 supply regulator handle
49
50  vddrfa1p7-supply:
51    description: VDD_RFA_1P7 supply regulator handle
52
53  vddpcie0p9-supply:
54    description: VDD_PCIE_0P9 supply regulator handle
55
56  vddpcie1p8-supply:
57    description: VDD_PCIE_1P8 supply regulator handle
58
59required:
60  - compatible
61  - reg
62
63allOf:
64  - if:
65      properties:
66        compatible:
67          contains:
68            const: pci17cb,1101
69    then:
70      required:
71        - vddrfacmn-supply
72        - vddaon-supply
73        - vddwlcx-supply
74        - vddwlmx-supply
75        - vddrfa0p8-supply
76        - vddrfa1p2-supply
77        - vddrfa1p7-supply
78        - vddpcie0p9-supply
79        - vddpcie1p8-supply
80
81additionalProperties: false
82
83examples:
84  - |
85    pcie {
86        #address-cells = <3>;
87        #size-cells = <2>;
88
89        pcie@0 {
90            device_type = "pci";
91            reg = <0x0 0x0 0x0 0x0 0x0>;
92            #address-cells = <3>;
93            #size-cells = <2>;
94            ranges;
95
96            bus-range = <0x01 0xff>;
97
98            wifi@0 {
99                compatible = "pci17cb,1103";
100                reg = <0x10000 0x0 0x0 0x0 0x0>;
101
102                qcom,ath11k-calibration-variant = "LE_X13S";
103            };
104        };
105    };
106