@@ -21,10 +21,22 @@ can be provided per device.
21
21
22
22
SNOC based devices (i.e. wcn3990) uses compatible string "qcom,wcn3990-wifi".
23
23
24
- Optional properties:
25
24
- reg: Address and length of the register set for the device.
26
25
- reg-names: Must include the list of following reg names,
27
26
"membase"
27
+ - interrupts: reference to the list of 17 interrupt numbers for "qcom,ipq4019-wifi"
28
+ compatible target.
29
+ reference to the list of 12 interrupt numbers for "qcom,wcn3990-wifi"
30
+ compatible target.
31
+ Must contain interrupt-names property per entry for
32
+ "qcom,ath10k", "qcom,ipq4019-wifi" compatible targets.
33
+
34
+ - interrupt-names: Must include the entries for MSI interrupt
35
+ names ("msi0" to "msi15") and legacy interrupt
36
+ name ("legacy") for "qcom,ath10k", "qcom,ipq4019-wifi"
37
+ compatible targets.
38
+
39
+ Optional properties:
28
40
- resets: Must contain an entry for each entry in reset-names.
29
41
See ../reset/reseti.txt for details.
30
42
- reset-names: Must include the list of following reset names,
@@ -37,12 +49,9 @@ Optional properties:
37
49
- clocks: List of clock specifiers, must contain an entry for each required
38
50
entry in clock-names.
39
51
- clock-names: Should contain the clock names "wifi_wcss_cmd", "wifi_wcss_ref",
40
- "wifi_wcss_rtc".
41
- - interrupts: List of interrupt lines. Must contain an entry
42
- for each entry in the interrupt-names property.
43
- - interrupt-names: Must include the entries for MSI interrupt
44
- names ("msi0" to "msi15") and legacy interrupt
45
- name ("legacy"),
52
+ "wifi_wcss_rtc" for "qcom,ipq4019-wifi" compatible target and
53
+ "cxo_ref_clk_pin" for "qcom,wcn3990-wifi"
54
+ compatible target.
46
55
- qcom,msi_addr: MSI interrupt address.
47
56
- qcom,msi_base: Base value to add before writing MSI data into
48
57
MSI address register.
@@ -55,14 +64,25 @@ Optional properties:
55
64
- qcom,ath10k-pre-calibration-data : pre calibration data as an array,
56
65
the length can vary between hw versions.
57
66
- <supply-name>-supply: handle to the regulator device tree node
58
- optional "supply-name" is "vdd-0.8-cx-mx".
67
+ optional "supply-name" are "vdd-0.8-cx-mx",
68
+ "vdd-1.8-xo", "vdd-1.3-rfa" and "vdd-3.3-ch0".
59
69
- memory-region:
60
70
Usage: optional
61
71
Value type: <phandle>
62
72
Definition: reference to the reserved-memory for the msa region
63
73
used by the wifi firmware running in Q6.
74
+ - iommus:
75
+ Usage: optional
76
+ Value type: <prop-encoded-array>
77
+ Definition: A list of phandle and IOMMU specifier pairs.
78
+ - ext-fem-name:
79
+ Usage: Optional
80
+ Value type: string
81
+ Definition: Name of external front end module used. Some valid FEM names
82
+ for example: "microsemi-lx5586", "sky85703-11"
83
+ and "sky85803" etc.
64
84
65
- Example (to supply the calibration data alone ):
85
+ Example (to supply PCI based wifi block details ):
66
86
67
87
In this example, the node is defined as child node of the PCI controller.
68
88
@@ -74,10 +94,10 @@ pci {
74
94
#address-cells = <3>;
75
95
device_type = "pci";
76
96
77
- ath10k @0,0 {
97
+ wifi @0,0 {
78
98
reg = <0 0 0 0 0>;
79
- device_type = "pci";
80
99
qcom,ath10k-calibration-data = [ 01 02 03 ... ];
100
+ ext-fem-name = "microsemi-lx5586";
81
101
};
82
102
};
83
103
};
@@ -138,21 +158,25 @@ wifi@18000000 {
138
158
compatible = "qcom,wcn3990-wifi";
139
159
reg = <0x18800000 0x800000>;
140
160
reg-names = "membase";
141
- clocks = <&clock_gcc clk_aggre2_noc_clk >;
142
- clock-names = "smmu_aggre2_noc_clk"
161
+ clocks = <&clock_gcc clk_rf_clk2_pin >;
162
+ clock-names = "cxo_ref_clk_pin";
143
163
interrupts =
144
- <0 130 0 /* CE0 */ >,
145
- <0 131 0 /* CE1 */ >,
146
- <0 132 0 /* CE2 */ >,
147
- <0 133 0 /* CE3 */ >,
148
- <0 134 0 /* CE4 */ >,
149
- <0 135 0 /* CE5 */ >,
150
- <0 136 0 /* CE6 */ >,
151
- <0 137 0 /* CE7 */ >,
152
- <0 138 0 /* CE8 */ >,
153
- <0 139 0 /* CE9 */ >,
154
- <0 140 0 /* CE10 */ >,
155
- <0 141 0 /* CE11 */ >;
164
+ <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH >,
165
+ <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH >,
166
+ <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH >,
167
+ <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH >,
168
+ <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH >,
169
+ <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH >,
170
+ <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH >,
171
+ <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH >,
172
+ <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH >,
173
+ <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH >,
174
+ <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH >,
175
+ <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH >;
156
176
vdd-0.8-cx-mx-supply = <&pm8998_l5>;
177
+ vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
178
+ vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
179
+ vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
157
180
memory-region = <&wifi_msa_mem>;
181
+ iommus = <&apps_smmu 0x0040 0x1>;
158
182
};
0 commit comments