Sameer Thalappil | 8d686d4 | 2012-08-24 10:07:31 -0700 | [diff] [blame] | 1 | * Qualcomm WCNSS Platform Driver |
| 2 | |
| 3 | WCNSS driver is the platform driver. It is used for performing the cold |
| 4 | boot-up of the wireless device. It is responsible for adjusting |
| 5 | the necessary I/O rails and enabling appropriate gpios for wireless |
| 6 | connectivity subsystem. |
| 7 | |
| 8 | Required properties: |
| 9 | - compatible: "wcnss_wlan" |
Sameer Thalappil | 58281ca | 2013-04-10 18:50:18 -0700 | [diff] [blame] | 10 | - reg: physical address and length of the register set for the device. |
| 11 | - reg-names: "wcnss_mmio", "wcnss_fiq" |
Sameer Thalappil | 8d686d4 | 2012-08-24 10:07:31 -0700 | [diff] [blame] | 12 | - interupts: Pronto to Apps interrupts for tx done and rx pending. |
| 13 | - qcom,pronto-vddmx-supply: regulator to supply pronto pll. |
| 14 | - qcom,pronto-vddcx-supply: regulator to supply WLAN/BT/FM digital module. |
| 15 | - qcom,pronto-vddpx-supply: regulator to supply WLAN DAC. |
| 16 | - qcom,iris-vddxo-supply : regulator to supply RF XO. |
| 17 | - qcom,iris-vddrfa-supply : regulator to supply RFA digital. |
| 18 | - qcom,iris-vddpa-supply : regulator to supply RF PA. |
| 19 | - qcom,iris-vdddig-supply : regulator to supply RF digital(BT/FM). |
| 20 | - gpios: gpio numbers to configure 5-wire interface of WLAN connectivity |
Sameer Thalappil | 820f87b | 2013-05-21 20:40:54 -0700 | [diff] [blame^] | 21 | - qcom,has-48mhz-xo: boolean flag to determine the usage of 24MHz XO from RF |
| 22 | - qcom,has-pronto-hw: boolean flag to determine the revId of the WLAN subsystem |
Sameer Thalappil | 8d686d4 | 2012-08-24 10:07:31 -0700 | [diff] [blame] | 23 | |
Sameer Thalappil | 58cec31 | 2013-05-13 15:52:08 -0700 | [diff] [blame] | 24 | Optional properties: |
Sameer Thalappil | 820f87b | 2013-05-21 20:40:54 -0700 | [diff] [blame^] | 25 | - qcom,has-autodetect-xo: boolean flag to determine whether Iris XO auto detect |
Sameer Thalappil | 58cec31 | 2013-05-13 15:52:08 -0700 | [diff] [blame] | 26 | should be performed during boot up. |
Sameer Thalappil | d0952f6 | 2013-05-03 10:18:29 -0700 | [diff] [blame] | 27 | - qcom,wlan-rx-buff-count: WLAN RX buffer count is a configurable value, |
| 28 | using a smaller count for this buffer will reduce the memory usage. |
Sameer Thalappil | 58cec31 | 2013-05-13 15:52:08 -0700 | [diff] [blame] | 29 | |
Sameer Thalappil | 8d686d4 | 2012-08-24 10:07:31 -0700 | [diff] [blame] | 30 | Example: |
| 31 | |
| 32 | qcom,wcnss-wlan@fb000000 { |
| 33 | compatible = "qcom,wcnss_wlan"; |
Sameer Thalappil | 58281ca | 2013-04-10 18:50:18 -0700 | [diff] [blame] | 34 | reg = <0xfb000000 0x280000>, |
| 35 | <0xf9011008 0x04>; |
| 36 | reg-names = "wcnss_mmio", "wcnss_fiq"; |
Sameer Thalappil | 8d686d4 | 2012-08-24 10:07:31 -0700 | [diff] [blame] | 37 | interrupts = <0 145 0 0 146 0>; |
| 38 | interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; |
| 39 | |
| 40 | qcom,pronto-vddmx-supply = <&pm8841_s1>; |
| 41 | qcom,pronto-vddcx-supply = <&pm8841_s2>; |
| 42 | qcom,pronto-vddpx-supply = <&pm8941_s3>; |
| 43 | qcom,iris-vddxo-supply = <&pm8941_l6>; |
| 44 | qcom,iris-vddrfa-supply = <&pm8941_l11>; |
| 45 | qcom,iris-vddpa-supply = <&pm8941_l19>; |
| 46 | qcom,iris-vdddig-supply = <&pm8941_l3>; |
| 47 | |
| 48 | gpios = <&msmgpio 36 0>, <&msmgpio 37 0>, <&msmgpio 38 0>, |
| 49 | <&msmgpio 39 0>, <&msmgpio 40 0>; |
Sameer Thalappil | 820f87b | 2013-05-21 20:40:54 -0700 | [diff] [blame^] | 50 | qcom,has-48mhz-xo; |
| 51 | qcom,has-pronto-hw; |
Sameer Thalappil | 8d686d4 | 2012-08-24 10:07:31 -0700 | [diff] [blame] | 52 | }; |