Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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 - Jeff Johnson <jjohnson@kernel.org>
12
13description: |
14 Qualcomm Technologies IEEE 802.11ax PCIe devices
15
16properties:
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 vddrfacmn-supply:
39 description: VDD_RFA_CMN supply regulator handle
40
41 vddaon-supply:
42 description: VDD_AON supply regulator handle
43
44 vddwlcx-supply:
45 description: VDD_WL_CX supply regulator handle
46
47 vddwlmx-supply:
48 description: VDD_WL_MX supply regulator handle
49
50 vddrfa0p8-supply:
51 description: VDD_RFA_0P8 supply regulator handle
52
53 vddrfa1p2-supply:
54 description: VDD_RFA_1P2 supply regulator handle
55
56 vddrfa1p7-supply:
57 description: VDD_RFA_1P7 supply regulator handle
58
59 vddrfa1p8-supply:
60 description: VDD_RFA_1P8 supply regulator handle
61
62 vddpcie0p9-supply:
63 description: VDD_PCIE_0P9 supply regulator handle
64
65 vddpcie1p8-supply:
66 description: VDD_PCIE_1P8 supply regulator handle
67
68required:
69 - compatible
70 - reg
71
72allOf:
73 - if:
74 properties:
75 compatible:
76 contains:
77 const: pci17cb,1101
78 then:
79 required:
80 - vddrfacmn-supply
81 - vddaon-supply
82 - vddwlcx-supply
83 - vddwlmx-supply
84 - vddrfa0p8-supply
85 - vddrfa1p2-supply
86 - vddrfa1p7-supply
87 - vddpcie0p9-supply
88 - vddpcie1p8-supply
89 - if:
90 properties:
91 compatible:
92 contains:
93 const: pci17cb,1103
94 then:
95 required:
96 - vddrfacmn-supply
97 - vddaon-supply
98 - vddwlcx-supply
99 - vddwlmx-supply
100 - vddrfa0p8-supply
101 - vddrfa1p2-supply
102 - vddrfa1p8-supply
103 - vddpcie0p9-supply
104 - vddpcie1p8-supply
105
106additionalProperties: false
107
108examples:
109 - |
110 pcie {
111 #address-cells = <3>;
112 #size-cells = <2>;
113
114 pcie@0 {
115 device_type = "pci";
116 reg = <0x0 0x0 0x0 0x0 0x0>;
117 #address-cells = <3>;
118 #size-cells = <2>;
119 ranges;
120
121 bus-range = <0x01 0xff>;
122
123 wifi@0 {
124 compatible = "pci17cb,1103";
125 reg = <0x10000 0x0 0x0 0x0 0x0>;
126
127 vddrfacmn-supply = <&vreg_pmu_rfa_cmn_0p8>;
128 vddaon-supply = <&vreg_pmu_aon_0p8>;
129 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
130 vddwlmx-supply = <&vreg_pmu_wlmx_0p8>;
131 vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
132 vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
133 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
134 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
135 vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
136
137 qcom,calibration-variant = "LE_X13S";
138 };
139 };
140 };