msm9625-cdp.dtsi 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. /include/ "msm9625-display.dtsi"
  13. /include/ "qpic-panel-ili-qvga.dtsi"
  14. &soc {
  15. i2c@f9925000 {
  16. charger@57 {
  17. compatible = "summit,smb137c";
  18. reg = <0x57>;
  19. summit,chg-current-ma = <1500>;
  20. summit,term-current-ma = <50>;
  21. summit,pre-chg-current-ma = <100>;
  22. summit,float-voltage-mv = <4200>;
  23. summit,thresh-voltage-mv = <3000>;
  24. summit,recharge-thresh-mv = <75>;
  25. summit,system-voltage-mv = <4250>;
  26. summit,charging-timeout = <382>;
  27. summit,pre-charge-timeout = <48>;
  28. summit,therm-current-ua = <10>;
  29. summit,temperature-min = <4>; /* 0 C */
  30. summit,temperature-max = <3>; /* 45 C */
  31. };
  32. };
  33. wlan0: qca,wlan {
  34. cell-index = <0>;
  35. compatible = "qca,ar6004-hsic";
  36. qca,chip-pwd-l-gpios = <&msmgpio 62 0>;
  37. qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>;
  38. qca,vdd-io-supply = <&pm8019_l11>;
  39. };
  40. qca,wlan_ar6003 {
  41. cell-index = <0>;
  42. compatible = "qca,ar6003-sdio";
  43. qca,chip-pwd-l-gpios = <&msmgpio 62 0>;
  44. qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>;
  45. qca,vdd-io-supply = <&pm8019_l11>;
  46. };
  47. };
  48. /* PM8019 GPIO and MPP configuration */
  49. &pm8019_gpios {
  50. gpio@c000 { /* GPIO 1 */
  51. };
  52. gpio@c100 { /* GPIO 2 */
  53. };
  54. gpio@c200 { /* GPIO 3 */
  55. };
  56. gpio@c300 { /* GPIO 4 */
  57. /* ext_2p95v regulator enable config */
  58. qcom,mode = <1>; /* Digital output */
  59. qcom,output-type = <0>; /* CMOS */
  60. qcom,invert = <0>; /* Output low */
  61. qcom,out-strength = <1>; /* Low */
  62. qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */
  63. qcom,src-sel = <0>; /* Constant */
  64. qcom,master-en = <1>; /* Enable GPIO */
  65. };
  66. gpio@c400 { /* GPIO 5 */
  67. };
  68. gpio@c500 { /* GPIO 6 */
  69. };
  70. };
  71. &pm8019_mpps {
  72. mpp@a000 { /* MPP 1 */
  73. };
  74. mpp@a100 { /* MPP 2 */
  75. };
  76. mpp@a200 { /* MPP 3 */
  77. };
  78. mpp@a300 { /* MPP 4 */
  79. };
  80. mpp@a400 { /* MPP 5 */
  81. };
  82. mpp@a500 { /* MPP 6 */
  83. };
  84. };