qcom-msm8960.dtsi 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. /dts-v1/;
  2. /include/ "skeleton.dtsi"
  3. #include <dt-bindings/interrupt-controller/arm-gic.h>
  4. #include <dt-bindings/clock/qcom,gcc-msm8960.h>
  5. #include <dt-bindings/soc/qcom,gsbi.h>
  6. / {
  7. model = "Qualcomm MSM8960";
  8. compatible = "qcom,msm8960";
  9. interrupt-parent = <&intc>;
  10. cpus {
  11. #address-cells = <1>;
  12. #size-cells = <0>;
  13. interrupts = <1 14 0x304>;
  14. cpu@0 {
  15. compatible = "qcom,krait";
  16. enable-method = "qcom,kpss-acc-v1";
  17. device_type = "cpu";
  18. reg = <0>;
  19. next-level-cache = <&L2>;
  20. qcom,acc = <&acc0>;
  21. qcom,saw = <&saw0>;
  22. };
  23. cpu@1 {
  24. compatible = "qcom,krait";
  25. enable-method = "qcom,kpss-acc-v1";
  26. device_type = "cpu";
  27. reg = <1>;
  28. next-level-cache = <&L2>;
  29. qcom,acc = <&acc1>;
  30. qcom,saw = <&saw1>;
  31. };
  32. L2: l2-cache {
  33. compatible = "cache";
  34. cache-level = <2>;
  35. };
  36. };
  37. cpu-pmu {
  38. compatible = "qcom,krait-pmu";
  39. interrupts = <1 10 0x304>;
  40. qcom,no-pc-write;
  41. };
  42. soc: soc {
  43. #address-cells = <1>;
  44. #size-cells = <1>;
  45. ranges;
  46. compatible = "simple-bus";
  47. intc: interrupt-controller@2000000 {
  48. compatible = "qcom,msm-qgic2";
  49. interrupt-controller;
  50. #interrupt-cells = <3>;
  51. reg = <0x02000000 0x1000>,
  52. <0x02002000 0x1000>;
  53. };
  54. timer@200a000 {
  55. compatible = "qcom,kpss-timer", "qcom,msm-timer";
  56. interrupts = <1 1 0x301>,
  57. <1 2 0x301>,
  58. <1 3 0x301>;
  59. reg = <0x0200a000 0x100>;
  60. clock-frequency = <27000000>,
  61. <32768>;
  62. cpu-offset = <0x80000>;
  63. };
  64. msmgpio: gpio@800000 {
  65. compatible = "qcom,msm-gpio";
  66. gpio-controller;
  67. #gpio-cells = <2>;
  68. ngpio = <150>;
  69. interrupts = <0 16 0x4>;
  70. interrupt-controller;
  71. #interrupt-cells = <2>;
  72. reg = <0x800000 0x4000>;
  73. };
  74. gcc: clock-controller@900000 {
  75. compatible = "qcom,gcc-msm8960";
  76. #clock-cells = <1>;
  77. #reset-cells = <1>;
  78. reg = <0x900000 0x4000>;
  79. };
  80. clock-controller@4000000 {
  81. compatible = "qcom,mmcc-msm8960";
  82. reg = <0x4000000 0x1000>;
  83. #clock-cells = <1>;
  84. #reset-cells = <1>;
  85. };
  86. acc0: clock-controller@2088000 {
  87. compatible = "qcom,kpss-acc-v1";
  88. reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
  89. };
  90. acc1: clock-controller@2098000 {
  91. compatible = "qcom,kpss-acc-v1";
  92. reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
  93. };
  94. saw0: regulator@2089000 {
  95. compatible = "qcom,saw2";
  96. reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
  97. regulator;
  98. };
  99. saw1: regulator@2099000 {
  100. compatible = "qcom,saw2";
  101. reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
  102. regulator;
  103. };
  104. gsbi5: gsbi@16400000 {
  105. compatible = "qcom,gsbi-v1.0.0";
  106. reg = <0x16400000 0x100>;
  107. clocks = <&gcc GSBI5_H_CLK>;
  108. clock-names = "iface";
  109. #address-cells = <1>;
  110. #size-cells = <1>;
  111. ranges;
  112. serial@16440000 {
  113. compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
  114. reg = <0x16440000 0x1000>,
  115. <0x16400000 0x1000>;
  116. interrupts = <0 154 0x0>;
  117. clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
  118. clock-names = "core", "iface";
  119. status = "disabled";
  120. };
  121. };
  122. qcom,ssbi@500000 {
  123. compatible = "qcom,ssbi";
  124. reg = <0x500000 0x1000>;
  125. qcom,controller-type = "pmic-arbiter";
  126. pmicintc: pmic@0 {
  127. compatible = "qcom,pm8921";
  128. interrupt-parent = <&msmgpio>;
  129. interrupts = <104 8>;
  130. #interrupt-cells = <2>;
  131. interrupt-controller;
  132. #address-cells = <1>;
  133. #size-cells = <0>;
  134. pwrkey@1c {
  135. compatible = "qcom,pm8921-pwrkey";
  136. reg = <0x1c>;
  137. interrupt-parent = <&pmicintc>;
  138. interrupts = <50 1>, <51 1>;
  139. debounce = <15625>;
  140. pull-up;
  141. };
  142. keypad@148 {
  143. compatible = "qcom,pm8921-keypad";
  144. reg = <0x148>;
  145. interrupt-parent = <&pmicintc>;
  146. interrupts = <74 1>, <75 1>;
  147. debounce = <15>;
  148. scan-delay = <32>;
  149. row-hold = <91500>;
  150. };
  151. rtc@11d {
  152. compatible = "qcom,pm8921-rtc";
  153. interrupt-parent = <&pmicintc>;
  154. interrupts = <39 1>;
  155. reg = <0x11d>;
  156. allow-set-time;
  157. };
  158. };
  159. };
  160. rng@1a500000 {
  161. compatible = "qcom,prng";
  162. reg = <0x1a500000 0x200>;
  163. clocks = <&gcc PRNG_CLK>;
  164. clock-names = "core";
  165. };
  166. /* Temporary fixed regulator */
  167. vsdcc_fixed: vsdcc-regulator {
  168. compatible = "regulator-fixed";
  169. regulator-name = "SDCC Power";
  170. regulator-min-microvolt = <2700000>;
  171. regulator-max-microvolt = <2700000>;
  172. regulator-always-on;
  173. };
  174. amba {
  175. compatible = "arm,amba-bus";
  176. #address-cells = <1>;
  177. #size-cells = <1>;
  178. ranges;
  179. sdcc1: sdcc@12400000 {
  180. status = "disabled";
  181. compatible = "arm,pl18x", "arm,primecell";
  182. arm,primecell-periphid = <0x00051180>;
  183. reg = <0x12400000 0x8000>;
  184. interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
  185. interrupt-names = "cmd_irq";
  186. clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
  187. clock-names = "mclk", "apb_pclk";
  188. bus-width = <8>;
  189. max-frequency = <96000000>;
  190. non-removable;
  191. cap-sd-highspeed;
  192. cap-mmc-highspeed;
  193. vmmc-supply = <&vsdcc_fixed>;
  194. };
  195. sdcc3: sdcc@12180000 {
  196. compatible = "arm,pl18x", "arm,primecell";
  197. arm,primecell-periphid = <0x00051180>;
  198. status = "disabled";
  199. reg = <0x12180000 0x8000>;
  200. interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
  201. interrupt-names = "cmd_irq";
  202. clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
  203. clock-names = "mclk", "apb_pclk";
  204. bus-width = <4>;
  205. cap-sd-highspeed;
  206. cap-mmc-highspeed;
  207. max-frequency = <192000000>;
  208. no-1-8-v;
  209. vmmc-supply = <&vsdcc_fixed>;
  210. };
  211. };
  212. };
  213. };