blob: 0c75cf64e4d21030b8d01f7e85ed855ab71371e4 [file] [log] [blame]
Lior David639ebed2017-02-28 14:23:55 +02001wil6210 - Qualcomm Technologies Inc. 802.11ad Wireless Driver
2
3wil6210 driver is responsible for managing 802.11ad chipset
4connected to MSM over PCIe interface.
5
6The platform data is needed in order to perform proper
7bus-scaling and SMMU initialization by the driver.
8
9Required properties:
10
11- compatible: "qcom,wil6210"
12- qcom,smmu-support: Boolean flag indicating whether PCIe has SMMU support
Maya Erez34c251e2017-03-27 09:31:39 +030013- qcom,smmu-s1-en: Boolean flag indicating whether SMMU stage1 should be enabled
14- qcom,smmu-fast-map: Boolean flag indicating whether SMMU fast mapping should be enabled
15- qcom,smmu-coherent: Boolean flag indicating SMMU dma and page table coherency
16- qcom,smmu-mapping: specifies the base address and size of SMMU space
Lior David639ebed2017-02-28 14:23:55 +020017- qcom,pcie-parent: phandle for the PCIe root complex to which 11ad card is connected
18- Refer to "Documentation/devicetree/bindings/arm/msm/msm_bus.txt" for
19 the below optional properties:
20 - qcom,msm-bus,name
21 - qcom,msm-bus,num-cases
22 - qcom,msm-bus,num-paths
23 - qcom,msm-bus,vectors-KBps
24
25Optional properties:
26- qcom,sleep-clk-en: GPIO for sleep clock used for low power modes by 11ad card
27- qcom,wigig-en: Enable GPIO connected to 11ad card
28- qcom,use-ext-supply: Boolean flag to indicate if 11ad SIP uses external power supply
29- vdd-supply: phandle to 11ad VDD regulator node
30- vddio-supply: phandle to 11ad VDDIO regulator node
31- qcom,use-ext-clocks: Boolean flag to indicate if 11ad SIP uses external clocks
32- clocks : List of phandle and clock specifier pairs
33- clock-names : List of clock input name strings sorted in the same
34 order as the clocks property.
Hamad Kadmany290544c2017-05-22 13:33:32 +030035- qcom,keep-radio-on-during-sleep: Boolean flag to indicate if to suspend to d3hot
Maya Erez692e94c2017-05-14 16:40:19 +030036 instead of turning off the device
Lior David639ebed2017-02-28 14:23:55 +020037
38Example:
39 wil6210: qcom,wil6210 {
40 compatible = "qcom,wil6210";
41 qcom,smmu-support;
Maya Erez34c251e2017-03-27 09:31:39 +030042 qcom,smmu-s1-en;
43 qcom,smmu-fast-map;
44 qcom,smmu-coherent;
45 qcom,smmu-mapping = <0x20000000 0xe0000000>;
Lior David639ebed2017-02-28 14:23:55 +020046 qcom,pcie-parent = <&pcie1>;
47 qcom,wigig-en = <&tlmm 94 0>;
48 qcom,msm-bus,name = "wil6210";
49 qcom,msm-bus,num-cases = <2>;
50 qcom,msm-bus,num-paths = <1>;
51 qcom,msm-bus,vectors-KBps =
52 <100 512 0 0>,
53 <100 512 600000 800000>; /* ~4.6Gbps (MCS12) */
54 qcom,use-ext-supply;
55 vdd-supply= <&pm8998_s7>;
56 vddio-supply= <&pm8998_s5>;
57 qcom,use-ext-clocks;
58 clocks = <&clock_gcc clk_rf_clk3>,
59 <&clock_gcc clk_rf_clk3_pin>;
60 clock-names = "rf_clk3_clk", "rf_clk3_pin_clk";
Hamad Kadmany290544c2017-05-22 13:33:32 +030061 qcom,keep-radio-on-during-sleep;
Lior David639ebed2017-02-28 14:23:55 +020062 };
63