msmsamarium-smp2p.dtsi 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. &soc {
  13. qcom,smp2p-modem {
  14. compatible = "qcom,smp2p";
  15. reg = <0xf9011008 0x4>;
  16. qcom,remote-pid = <1>;
  17. qcom,irq-bitmask = <0x4000>;
  18. interrupts = <0 27 1>;
  19. };
  20. qcom,smp2p-adsp {
  21. compatible = "qcom,smp2p";
  22. reg = <0xf9011008 0x4>;
  23. qcom,remote-pid = <2>;
  24. qcom,irq-bitmask = <0x400>;
  25. interrupts = <0 158 1>;
  26. };
  27. qcom,smp2p-wcnss {
  28. compatible = "qcom,smp2p";
  29. reg = <0xf9011008 0x4>;
  30. qcom,remote-pid = <4>;
  31. qcom,irq-bitmask = <0x40000>;
  32. interrupts = <0 143 1>;
  33. };
  34. smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in {
  35. compatible = "qcom,smp2pgpio";
  36. qcom,entry-name = "smp2p";
  37. qcom,remote-pid = <7>;
  38. qcom,is-inbound;
  39. gpio-controller;
  40. #gpio-cells = <2>;
  41. interrupt-controller;
  42. #interrupt-cells = <2>;
  43. };
  44. qcom,smp2pgpio_test_smp2p_7_in {
  45. compatible = "qcom,smp2pgpio_test_smp2p_7_in";
  46. gpios = <&smp2pgpio_smp2p_7_in 0 0>;
  47. };
  48. smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out {
  49. compatible = "qcom,smp2pgpio";
  50. qcom,entry-name = "smp2p";
  51. qcom,remote-pid = <7>;
  52. gpio-controller;
  53. #gpio-cells = <2>;
  54. interrupt-controller;
  55. #interrupt-cells = <2>;
  56. };
  57. qcom,smp2pgpio_test_smp2p_7_out {
  58. compatible = "qcom,smp2pgpio_test_smp2p_7_out";
  59. gpios = <&smp2pgpio_smp2p_7_out 0 0>;
  60. };
  61. smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in {
  62. compatible = "qcom,smp2pgpio";
  63. qcom,entry-name = "smp2p";
  64. qcom,remote-pid = <1>;
  65. qcom,is-inbound;
  66. gpio-controller;
  67. #gpio-cells = <2>;
  68. interrupt-controller;
  69. #interrupt-cells = <2>;
  70. };
  71. qcom,smp2pgpio_test_smp2p_1_in {
  72. compatible = "qcom,smp2pgpio_test_smp2p_1_in";
  73. gpios = <&smp2pgpio_smp2p_1_in 0 0>;
  74. };
  75. smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out {
  76. compatible = "qcom,smp2pgpio";
  77. qcom,entry-name = "smp2p";
  78. qcom,remote-pid = <1>;
  79. gpio-controller;
  80. #gpio-cells = <2>;
  81. interrupt-controller;
  82. #interrupt-cells = <2>;
  83. };
  84. qcom,smp2pgpio_test_smp2p_1_out {
  85. compatible = "qcom,smp2pgpio_test_smp2p_1_out";
  86. gpios = <&smp2pgpio_smp2p_1_out 0 0>;
  87. };
  88. smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in {
  89. compatible = "qcom,smp2pgpio";
  90. qcom,entry-name = "smp2p";
  91. qcom,remote-pid = <2>;
  92. qcom,is-inbound;
  93. gpio-controller;
  94. #gpio-cells = <2>;
  95. interrupt-controller;
  96. #interrupt-cells = <2>;
  97. };
  98. qcom,smp2pgpio_test_smp2p_2_in {
  99. compatible = "qcom,smp2pgpio_test_smp2p_2_in";
  100. gpios = <&smp2pgpio_smp2p_2_in 0 0>;
  101. };
  102. smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out {
  103. compatible = "qcom,smp2pgpio";
  104. qcom,entry-name = "smp2p";
  105. qcom,remote-pid = <2>;
  106. gpio-controller;
  107. #gpio-cells = <2>;
  108. interrupt-controller;
  109. #interrupt-cells = <2>;
  110. };
  111. qcom,smp2pgpio_test_smp2p_2_out {
  112. compatible = "qcom,smp2pgpio_test_smp2p_2_out";
  113. gpios = <&smp2pgpio_smp2p_2_out 0 0>;
  114. };
  115. smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in {
  116. compatible = "qcom,smp2pgpio";
  117. qcom,entry-name = "smp2p";
  118. qcom,remote-pid = <4>;
  119. qcom,is-inbound;
  120. gpio-controller;
  121. #gpio-cells = <2>;
  122. interrupt-controller;
  123. #interrupt-cells = <2>;
  124. };
  125. qcom,smp2pgpio_test_smp2p_4_in {
  126. compatible = "qcom,smp2pgpio_test_smp2p_4_in";
  127. gpios = <&smp2pgpio_smp2p_4_in 0 0>;
  128. };
  129. smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out {
  130. compatible = "qcom,smp2pgpio";
  131. qcom,entry-name = "smp2p";
  132. qcom,remote-pid = <4>;
  133. gpio-controller;
  134. #gpio-cells = <2>;
  135. interrupt-controller;
  136. #interrupt-cells = <2>;
  137. };
  138. qcom,smp2pgpio_test_smp2p_4_out {
  139. compatible = "qcom,smp2pgpio_test_smp2p_4_out";
  140. gpios = <&smp2pgpio_smp2p_4_out 0 0>;
  141. };
  142. };