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