msm9625-mtp.dtsi 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. &soc {
  13. i2c@f9925000 {
  14. charger@57 {
  15. compatible = "summit,smb137c";
  16. reg = <0x57>;
  17. summit,chg-current-ma = <1500>;
  18. summit,term-current-ma = <50>;
  19. summit,pre-chg-current-ma = <100>;
  20. summit,float-voltage-mv = <4200>;
  21. summit,thresh-voltage-mv = <3000>;
  22. summit,recharge-thresh-mv = <75>;
  23. summit,system-voltage-mv = <4250>;
  24. summit,charging-timeout = <382>;
  25. summit,pre-charge-timeout = <48>;
  26. summit,therm-current-ua = <10>;
  27. summit,temperature-min = <4>; /* 0 C */
  28. summit,temperature-max = <3>; /* 45 C */
  29. };
  30. };
  31. wlan0: qca,wlan {
  32. cell-index = <0>;
  33. compatible = "qca,ar6004-hsic";
  34. qca,chip-pwd-l-gpios = <&msmgpio 62 0>;
  35. qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>;
  36. qca,vdd-io-supply = <&pm8019_l11>;
  37. };
  38. qca,wlan_ar6003 {
  39. cell-index = <0>;
  40. compatible = "qca,ar6003-sdio";
  41. qca,chip-pwd-l-gpios = <&msmgpio 62 0>;
  42. qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>;
  43. qca,vdd-io-supply = <&pm8019_l11>;
  44. };
  45. };
  46. /* PM8019 GPIO and MPP configuration */
  47. &pm8019_gpios {
  48. gpio@c000 { /* GPIO 1 */
  49. };
  50. gpio@c100 { /* GPIO 2 */
  51. };
  52. gpio@c200 { /* GPIO 3 */
  53. };
  54. gpio@c300 { /* GPIO 4 */
  55. /* ext_2p95v regulator enable config */
  56. qcom,mode = <1>; /* Digital output */
  57. qcom,output-type = <0>; /* CMOS */
  58. qcom,invert = <0>; /* Output low */
  59. qcom,out-strength = <1>; /* Low */
  60. qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */
  61. qcom,src-sel = <0>; /* Constant */
  62. qcom,master-en = <1>; /* Enable GPIO */
  63. };
  64. gpio@c400 { /* GPIO 5 */
  65. };
  66. gpio@c500 { /* GPIO 6 */
  67. };
  68. };
  69. &pm8019_mpps {
  70. mpp@a000 { /* MPP 1 */
  71. };
  72. mpp@a100 { /* MPP 2 */
  73. };
  74. mpp@a200 { /* MPP 3 */
  75. };
  76. mpp@a300 { /* MPP 4 */
  77. /* VADC channel 19 */
  78. qcom,mode = <4>;
  79. qcom,ain-route = <3>; /* AMUX 8 */
  80. qcom,master-en = <1>;
  81. qcom,src-sel = <0>; /* Function constant */
  82. qcom,invert = <1>;
  83. };
  84. mpp@a400 { /* MPP 5 */
  85. };
  86. mpp@a500 { /* MPP 6 */
  87. /* channel 21 */
  88. qcom,mode = <4>;
  89. qcom,ain-route = <1>; /* AMUX 6 */
  90. qcom,master-en = <1>;
  91. qcom,src-sel = <0>; /* Function constant */
  92. qcom,invert = <1>;
  93. };
  94. };