msm8974pro-ab-pm8941.dtsi 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /* Copyright (c) 2013-2014, 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/ "msm8974pro-pm8941.dtsi"
  13. / {
  14. qcom,msm-id = <208 0x10000>,
  15. <209 0x10000>,
  16. <211 0x10000>,
  17. <212 0x10000>,
  18. <214 0x10000>,
  19. <215 0x10000>,
  20. <217 0x10000>,
  21. <218 0x10000>;
  22. };
  23. &soc {
  24. i2c@f9928000 { /* BLSP1 QUP6 */
  25. nfc-nci@e {
  26. compatible = "qcom,nfc-nci";
  27. reg = <0x0e>;
  28. qcom,irq-gpio = <&msmgpio 57 0x00>;
  29. qcom,dis-gpio = <&msmgpio 13 0x00>;
  30. qcom,clk-src = "BBCLK2";
  31. interrupt-parent = <&msmgpio>;
  32. interrupts = <57 0>;
  33. qcom,clk-gpio = <&pm8941_gpios 32 0>;
  34. };
  35. };
  36. };
  37. &pm8941_gpios {
  38. gpio@df00 {
  39. /* NFC clk request */
  40. qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
  41. qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
  42. qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
  43. qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
  44. qcom,master-en = <1>;
  45. };
  46. };