Debian Codegraph @

Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml

raw
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
8 title: Qualcomm Technologies ath11k wireless devices (PCIe)
9
10 maintainers:
11 - Jeff Johnson <[email protected]>
12
13 description: |
14 Qualcomm Technologies IEEE 802.11ax PCIe devices
15
16 properties:
17 compatible:
18 enum:
19 - pci17cb,1101 # QCA6390
20 - pci17cb,1103 # WCN6855
21
22 reg:
23 maxItems: 1
24
25 qcom,calibration-variant:
26 $ref: /schemas/types.yaml#/definitions/string
27 description: |
28 string to uniquely identify variant of the calibration data for designs
29 with colliding bus and device ids
30
31 qcom,ath11k-calibration-variant:
32 $ref: /schemas/types.yaml#/definitions/string
33 deprecated: true
34 description: |
35 string to uniquely identify variant of the calibration data for designs
36 with colliding bus and device ids
37
38 firmware-name:
39 maxItems: 1
40 deprecated: true
41 description:
42 If present, a board or platform specific string used to lookup
43 usecase-specific firmware files for the device.
44
45 vddrfacmn-supply:
46 description: VDD_RFA_CMN supply regulator handle
47
48 vddaon-supply:
49 description: VDD_AON supply regulator handle
50
51 vddwlcx-supply:
52 description: VDD_WL_CX supply regulator handle
53
54 vddwlmx-supply:
55 description: VDD_WL_MX supply regulator handle
56
57 vddrfa0p8-supply:
58 description: VDD_RFA_0P8 supply regulator handle
59
60 vddrfa1p2-supply:
61 description: VDD_RFA_1P2 supply regulator handle
62
63 vddrfa1p7-supply:
64 description: VDD_RFA_1P7 supply regulator handle
65
66 vddrfa1p8-supply:
67 description: VDD_RFA_1P8 supply regulator handle
68
69 vddpcie0p9-supply:
70 description: VDD_PCIE_0P9 supply regulator handle
71
72 vddpcie1p8-supply:
73 description: VDD_PCIE_1P8 supply regulator handle
74
75 required:
76 - compatible
77 - reg
78
79 allOf:
80 - if:
81 properties:
82 compatible:
83 contains:
84 const: pci17cb,1101
85 then:
86 required:
87 - vddrfacmn-supply
88 - vddaon-supply
89 - vddwlcx-supply
90 - vddwlmx-supply
91 - vddrfa0p8-supply
92 - vddrfa1p2-supply
93 - vddrfa1p7-supply
94 - vddpcie0p9-supply
95 - vddpcie1p8-supply
96 - if:
97 properties:
98 compatible:
99 contains:
100 const: pci17cb,1103
101 then:
102 required:
103 - vddrfacmn-supply
104 - vddaon-supply
105 - vddwlcx-supply
106 - vddwlmx-supply
107 - vddrfa0p8-supply
108 - vddrfa1p2-supply
109 - vddrfa1p8-supply
110 - vddpcie0p9-supply
111 - vddpcie1p8-supply
112
113 additionalProperties: false
114
115 examples:
116 - |
117 pcie {
118 #address-cells = <3>;
119 #size-cells = <2>;
120
121 pcie@0 {
122 device_type = "pci";
123 reg = <0x0 0x0 0x0 0x0 0x0>;
124 #address-cells = <3>;
125 #size-cells = <2>;
126 ranges;
127
128 bus-range = <0x01 0xff>;
129
130 wifi@0 {
131 compatible = "pci17cb,1103";
132 reg = <0x10000 0x0 0x0 0x0 0x0>;
133
134 vddrfacmn-supply = <&vreg_pmu_rfa_cmn_0p8>;
135 vddaon-supply = <&vreg_pmu_aon_0p8>;
136 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
137 vddwlmx-supply = <&vreg_pmu_wlmx_0p8>;
138 vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
139 vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
140 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
141 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
142 vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
143
144 qcom,calibration-variant = "LE_X13S";
145 };
146 };
147 };