Lior David | 639ebed | 2017-02-28 14:23:55 +0200 | [diff] [blame] | 1 | wil6210 - Qualcomm Technologies Inc. 802.11ad Wireless Driver |
| 2 | |
| 3 | wil6210 driver is responsible for managing 802.11ad chipset |
| 4 | connected to MSM over PCIe interface. |
| 5 | |
| 6 | The platform data is needed in order to perform proper |
| 7 | bus-scaling and SMMU initialization by the driver. |
| 8 | |
| 9 | Required properties: |
| 10 | |
| 11 | - compatible: "qcom,wil6210" |
| 12 | - qcom,smmu-support: Boolean flag indicating whether PCIe has SMMU support |
Maya Erez | 34c251e | 2017-03-27 09:31:39 +0300 | [diff] [blame] | 13 | - 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 David | 639ebed | 2017-02-28 14:23:55 +0200 | [diff] [blame] | 17 | - 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 | |
| 25 | Optional 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 Kadmany | 290544c | 2017-05-22 13:33:32 +0300 | [diff] [blame] | 35 | - qcom,keep-radio-on-during-sleep: Boolean flag to indicate if to suspend to d3hot |
Maya Erez | 692e94c | 2017-05-14 16:40:19 +0300 | [diff] [blame] | 36 | instead of turning off the device |
Lior David | 639ebed | 2017-02-28 14:23:55 +0200 | [diff] [blame] | 37 | |
| 38 | Example: |
| 39 | wil6210: qcom,wil6210 { |
| 40 | compatible = "qcom,wil6210"; |
| 41 | qcom,smmu-support; |
Maya Erez | 34c251e | 2017-03-27 09:31:39 +0300 | [diff] [blame] | 42 | qcom,smmu-s1-en; |
| 43 | qcom,smmu-fast-map; |
| 44 | qcom,smmu-coherent; |
| 45 | qcom,smmu-mapping = <0x20000000 0xe0000000>; |
Lior David | 639ebed | 2017-02-28 14:23:55 +0200 | [diff] [blame] | 46 | 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 Kadmany | 290544c | 2017-05-22 13:33:32 +0300 | [diff] [blame] | 61 | qcom,keep-radio-on-during-sleep; |
Lior David | 639ebed | 2017-02-28 14:23:55 +0200 | [diff] [blame] | 62 | }; |
| 63 | |