blob: 8e725450473572f57312c037c73335b52b237179 [file] [log] [blame]
Sameer Thalappil8d686d42012-08-24 10:07:31 -07001* Qualcomm WCNSS Platform Driver
2
3WCNSS driver is the platform driver. It is used for performing the cold
4boot-up of the wireless device. It is responsible for adjusting
5the necessary I/O rails and enabling appropriate gpios for wireless
6connectivity subsystem.
7
8Required properties:
9- compatible: "wcnss_wlan"
Sameer Thalappil58281ca2013-04-10 18:50:18 -070010- reg: physical address and length of the register set for the device.
11- reg-names: "wcnss_mmio", "wcnss_fiq"
Sameer Thalappil8d686d42012-08-24 10:07:31 -070012- 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
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
23
Sameer Thalappil58cec312013-05-13 15:52:08 -070024Optional properties:
25- qcom,has_autodetect_xo: boolean flag to determine whether Iris XO auto detect
26should be performed during boot up.
Sameer Thalappild0952f62013-05-03 10:18:29 -070027- qcom,wlan-rx-buff-count: WLAN RX buffer count is a configurable value,
28using a smaller count for this buffer will reduce the memory usage.
Sameer Thalappil58cec312013-05-13 15:52:08 -070029
Sameer Thalappil8d686d42012-08-24 10:07:31 -070030Example:
31
32 qcom,wcnss-wlan@fb000000 {
33 compatible = "qcom,wcnss_wlan";
Sameer Thalappil58281ca2013-04-10 18:50:18 -070034 reg = <0xfb000000 0x280000>,
35 <0xf9011008 0x04>;
36 reg-names = "wcnss_mmio", "wcnss_fiq";
Sameer Thalappil8d686d42012-08-24 10:07:31 -070037 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>;
50 qcom,has_48mhz_xo;
51 qcom,has_pronto_hw;
52 };