blob: ad9d190255a0ebd8c1349d955921fd1cae4bb256 [file] [log] [blame]
Yuanyuan Liu607051c2016-11-28 17:04:13 -08001* Qualcomm Technologies Inc Q6 Integrated connectivity Platform Driver
2
3This platform driver adds support for the Integrated WLAN that runs
4on Q6 based platforms. WLAN FW on these architecture runs on Q6. This
5platform driver communicates with WLAN FW over QMI, WLAN on/off messages
6to FW are communicated thru this interface. This driver also listens to
7WLAN PD restart notifications.
8
9Required properties:
10 - compatible: "qcom,icnss"
11 - reg: Memory regions defined as starting address and size
12 - reg-names: Names of the memory regions defined in reg entry
13 - interrupts: Copy engine interrupt table
14 - qcom,wlan-msa-memory: MSA memory size
Yuanyuan Liu68939762017-04-04 16:43:03 -070015 - clocks: List of clock phandles
16 - clock-names: List of clock names corresponding to the "clocks" property
Yuanyuan Liu607051c2016-11-28 17:04:13 -080017 - iommus: SMMUs and corresponding Stream IDs needed by WLAN
18 - qcom,wlan-smmu-iova-address: I/O virtual address range as <start length>
19 format to be used for allocations associated between WLAN and SMMU
Yuanyuan Liu607051c2016-11-28 17:04:13 -080020
21Optional properties:
Yuanyuan Liu68939762017-04-04 16:43:03 -070022 - <supply-name>-supply: phandle to the regulator device tree node
23 optional "supply-name" is "vdd-0.8-cx-mx".
24 - qcom,<supply>-config: Specifies voltage levels for supply. Should be
25 specified in pairs (min, max), units uV. There can
26 be optional load in uA and Regulator settle delay in
27 uS.
Yuanyuan Liu607051c2016-11-28 17:04:13 -080028 - qcom,icnss-vadc: VADC handle for vph_pwr read APIs.
29 - qcom,icnss-adc_tm: VADC handle for vph_pwr notification APIs.
Yuanyuan Liu68939762017-04-04 16:43:03 -070030 - qcom,smmu-s1-bypass: Boolean context flag to set SMMU to S1 bypass
Hardik Kantilal Patel420482e2017-05-05 16:57:48 +053031 - qcom,wlan-msa-fixed-region: phandle, specifier pairs to children of /reserved-memory
Sameer Thalappil3c2c7bf2017-12-15 15:00:29 -080032 - qcom,gpio-force-fatal-error: SMP2P bit triggered by WLAN FW to force error fatal.
Yuanyuan Liu607051c2016-11-28 17:04:13 -080033
34Example:
35
36 qcom,icnss@0a000000 {
37 compatible = "qcom,icnss";
38 reg = <0x0a000000 0x1000000>;
39 reg-names = "membase";
Yuanyuan Liu68939762017-04-04 16:43:03 -070040 clocks = <&clock_gcc clk_aggre2_noc_clk>;
41 clock-names = "smmu_aggre2_noc_clk";
Yuanyuan Liu607051c2016-11-28 17:04:13 -080042 iommus = <&anoc2_smmu 0x1900>,
43 <&anoc2_smmu 0x1901>;
44 qcom,wlan-smmu-iova-address = <0 0x10000000>;
45 interrupts =
46 <0 130 0 /* CE0 */ >,
47 <0 131 0 /* CE1 */ >,
48 <0 132 0 /* CE2 */ >,
49 <0 133 0 /* CE3 */ >,
50 <0 134 0 /* CE4 */ >,
51 <0 135 0 /* CE5 */ >,
52 <0 136 0 /* CE6 */ >,
53 <0 137 0 /* CE7 */ >,
54 <0 138 0 /* CE8 */ >,
55 <0 139 0 /* CE9 */ >,
56 <0 140 0 /* CE10 */ >,
57 <0 141 0 /* CE11 */ >;
58 qcom,wlan-msa-memory = <0x200000>;
Hardik Kantilal Patel420482e2017-05-05 16:57:48 +053059 qcom,wlan-msa-fixed-region = <&wlan_msa_mem>;
Yuanyuan Liu68939762017-04-04 16:43:03 -070060 qcom,smmu-s1-bypass;
61 vdd-0.8-cx-mx-supply = <&pm8998_l5>;
62 qcom,vdd-0.8-cx-mx-config = <800000 800000 2400 1000>;
Sameer Thalappil3c2c7bf2017-12-15 15:00:29 -080063 qcom,gpio-forced-fatal-error = <&smp2pgpio_wlan_1_in 0 0>;
Yuanyuan Liu607051c2016-11-28 17:04:13 -080064 };