msm8610-qrd-skuaa.dtsi 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. /* Copyright (c) 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/ "msm8610-qrd.dtsi"
  13. &soc {
  14. sound {
  15. qcom,model = "msm8x10-skuaa-snd-card";
  16. qcom,audio-routing =
  17. "RX_BIAS", "MCLK",
  18. "INT_LDO_H", "MCLK",
  19. "Lineout amp", "LINEOUT",
  20. "MIC BIAS Internal1", "Handset Mic",
  21. "MIC BIAS Internal2", "Headset Mic",
  22. "AMIC1", "MIC BIAS Internal1",
  23. "AMIC2", "MIC BIAS Internal2";
  24. qcom,ext-spk-amp-gpio = <&msmgpio 92 0x0>;
  25. };
  26. usb@f9a55000 {
  27. qcom,hsusb-otg-phy-init-seq =
  28. <0x44 0x80 0x6a 0x81 0x34 0x82 0x13 0x83 0xffffffff>;
  29. };
  30. i2c@f9924000 { /* BLSP-1 QUP-2 */
  31. nfc-nci@e {
  32. compatible = "qcom,nfc-nci";
  33. reg = <0x0e>;
  34. qcom,irq-gpio = <&msmgpio 77 0x00>;
  35. qcom,clk-req-gpio = <&msmgpio 75 0x00>;
  36. qcom,dis-gpio = <&msmgpio 93 0x00>;
  37. qcom,clk-src-gpio = <&msmgpio 78 0x00>;
  38. qcom,clk-src = "GPCLK2";
  39. interrupt-parent = <&msmgpio>;
  40. interrupts = <77 75 0>;
  41. qcom,clk-gpio = <&msmgpio 75 0x00>;
  42. };
  43. };
  44. };
  45. / {
  46. qrd_batterydata: qcom,battery-data {
  47. qcom,rpull-up-kohm = <100>;
  48. qcom,vref-batt-therm = <1800000>;
  49. /include/ "batterydata-qrd-4v2-1300mah.dtsi"
  50. };
  51. };
  52. &pm8110_bms {
  53. status = "ok";
  54. qcom,battery-data = <&qrd_batterydata>;
  55. };
  56. &pm8110_chg {
  57. qcom,battery-data = <&qrd_batterydata>;
  58. };
  59. &pm8110_vadc {
  60. chan@30 {
  61. label = "batt_therm";
  62. qcom,scale-function = <7>;
  63. };
  64. };
  65. &mdss_mdp {
  66. qcom,mdss-pref-prim-intf = "dsi";
  67. };
  68. &mdss_dsi0 {
  69. qcom,dsi-pref-prim-pan = <&dsi_hx8379a_wvga_vid>;
  70. };
  71. &dsi_hx8379a_wvga_vid {
  72. qcom,cont-splash-enabled;
  73. };
  74. &pm8110_gpios {
  75. gpio@c000 { /* GPIO 1 */
  76. qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
  77. qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
  78. qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
  79. qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
  80. qcom,master-en = <1>;
  81. };
  82. };
  83. &sdhc_2 {
  84. qcom,nonremovable;
  85. interrupts = <0 1>;
  86. interrupt-map = <0 &intc 0 125 0
  87. 1 &intc 0 221 0>;
  88. interrupt-names = "hc_irq", "pwr_irq";
  89. /delete-property/ cd-gpios;
  90. };