msm8974pro-ac-pm8941-mtp.dts 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. /dts-v1/;
  13. /include/ "msm8974pro-ac-pm8941.dtsi"
  14. /include/ "msm8974-mtp.dtsi"
  15. / {
  16. model = "Qualcomm MSM 8974Pro-AC MTP";
  17. compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp";
  18. qcom,board-id = <8 0>;
  19. };
  20. &sdhc_1 {
  21. qcom,pad-pull-on = <0x0 0x3 0x3 0x1>; /* no-pull, pull-up, pull-up, pull-down */
  22. qcom,pad-pull-off = <0x0 0x3 0x3 0x1>; /* no-pull, pull-up, pull-up, pull-down */
  23. };
  24. &ehci {
  25. status = "ok";
  26. qcom,usb2-enable-uicc;
  27. };
  28. &soc {
  29. i2c@f9928000 { /* BLSP1 QUP6 */
  30. nfc-nci@e {
  31. compatible = "qcom,nfc-nci";
  32. reg = <0x0e>;
  33. qcom,irq-gpio = <&msmgpio 57 0x00>;
  34. qcom,dis-gpio = <&msmgpio 13 0x00>;
  35. qcom,clk-src = "BBCLK2";
  36. interrupt-parent = <&msmgpio>;
  37. interrupts = <57 0>;
  38. qcom,clk-gpio = <&pm8941_gpios 32 0>;
  39. };
  40. };
  41. };
  42. &pm8941_gpios {
  43. gpio@df00 {
  44. /* NFC clk request */
  45. qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
  46. qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
  47. qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
  48. qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
  49. qcom,master-en = <1>;
  50. };
  51. };