cnss-sdio-wlan.txt 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. * Qualcomm Technologies, Inc. Connectivity SubSystem Platform Driver
  2. This platform driver adds support for the CNSS subsystem used for SDIO
  3. based Wi-Fi devices. It also adds support to manage two 1.8V voltage
  4. regulators and WLAN power enable 3.3V regulators. The main purpose of this
  5. device tree entry below is to invoke the CNSS SDIO platform driver
  6. and provide handle to the WLAN power enable 3.3V pmic GPIO and two 1.8V
  7. PMIC voltage regulator resources.
  8. Required properties:
  9. - compatible: "qcom,cnss_sdio"
  10. - reg: memory resource to save firmware dump, optional.
  11. - reg-names: memory resource name.
  12. - subsys-name: cnss sdio subsytem device name, required.
  13. - vdd-wlan-supply: phandle to the WLAN vdd regulator device tree node.
  14. - vdd-wlan-dsrc-supply: phandle to the WLAN dsrc vdd regulator device tree node.
  15. - vdd-wlan-io-supply: phandle to the WLAN IO regulator device tree node.
  16. - vdd-wlan-xtal-supply: phandle to the WLAM XTAL regulator device tree node.
  17. Optional properties:
  18. - pinctrl-names: Names corresponding to the numbered pinctrl states
  19. - pinctrl-<n>: Pinctrl states as described in
  20. bindings/pinctrl/pinctrl-bindings.txt
  21. - qcom,is-antenna-shared: Enabled for Platforms with both sdio and pcie QCA
  22. Chipsets are attached.
  23. - qcom,cnss-enable-bus-bandwidth: Boolean - Define this property when target
  24. support to vote for bus bandwidth.
  25. - qcom,msm-bus,name: client name for msm bus register.
  26. - qcom,msm-bus,num-cases: number of cases for bus scaling.
  27. - qcom,msm-bus,num-paths: number of paths for bus scale vector.
  28. - qcom,msm-bus,vectors-KBps: bus scale vector table.
  29. - qcom,skip-wlan-en-toggle: Boolean property to be enabled for platforms where
  30. wlan_en toggling is not supported.
  31. Example:
  32. qcom,cnss-sdio {
  33. compatible = "qcom,cnss_sdio";
  34. reg = <0x87a00000, 0x200000>;
  35. reg-names = "ramdump";
  36. subsys-name = "AR6320";
  37. vdd-wlan-supply = <&rome_vreg>;
  38. vdd-wlan-dsrc-supply = <&sdcard_ext_vreg>;
  39. vdd-wlan-io-supply = <&mdm9607_l11>;
  40. vdd-wlan-xtal-supply = <&mdm9607_l2>;
  41. qcom,is-antenna-shared;
  42. pinctrl-names = "active", "sleep";
  43. pinctrl-0 = <&cnss_sdio_active>;
  44. pinctrl-1 = <&cnss_sdio_sleep>;
  45. qcom,cnss-enable-bus-bandwidth;
  46. qcom,msm-bus,name = "msm-cnss";
  47. qcom,msm-bus,num-cases = <4>;
  48. qcom,msm-bus,num-paths = <1>;
  49. qcom,msm-bus,vectors-KBps =
  50. <79 512 0 0>, /* No vote */
  51. <79 512 6250 200000>, /* 50 Mbps */
  52. <79 512 25000 200000>, /* 200 Mbps */
  53. <79 512 2048000 4096000>; /* MAX */
  54. };