juno.dts 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. /*
  2. * ARM Ltd. Juno Platform
  3. *
  4. * Copyright (c) 2013-2014 ARM Ltd.
  5. *
  6. * This file is licensed under a dual GPLv2 or BSD license.
  7. */
  8. /dts-v1/;
  9. #include <dt-bindings/interrupt-controller/arm-gic.h>
  10. #include "juno-base.dtsi"
  11. / {
  12. model = "ARM Juno development board (r0)";
  13. compatible = "arm,juno", "arm,vexpress";
  14. interrupt-parent = <&gic>;
  15. #address-cells = <2>;
  16. #size-cells = <2>;
  17. aliases {
  18. serial0 = &soc_uart0;
  19. };
  20. chosen {
  21. stdout-path = "serial0:115200n8";
  22. };
  23. psci {
  24. compatible = "arm,psci-0.2";
  25. method = "smc";
  26. };
  27. cpus {
  28. #address-cells = <2>;
  29. #size-cells = <0>;
  30. cpu-map {
  31. cluster0 {
  32. core0 {
  33. cpu = <&A57_0>;
  34. };
  35. core1 {
  36. cpu = <&A57_1>;
  37. };
  38. };
  39. cluster1 {
  40. core0 {
  41. cpu = <&A53_0>;
  42. };
  43. core1 {
  44. cpu = <&A53_1>;
  45. };
  46. core2 {
  47. cpu = <&A53_2>;
  48. };
  49. core3 {
  50. cpu = <&A53_3>;
  51. };
  52. };
  53. };
  54. idle-states {
  55. entry-method = "psci";
  56. CPU_SLEEP_0: cpu-sleep-0 {
  57. compatible = "arm,idle-state";
  58. arm,psci-suspend-param = <0x0010000>;
  59. local-timer-stop;
  60. entry-latency-us = <300>;
  61. exit-latency-us = <1200>;
  62. min-residency-us = <2000>;
  63. };
  64. CLUSTER_SLEEP_0: cluster-sleep-0 {
  65. compatible = "arm,idle-state";
  66. arm,psci-suspend-param = <0x1010000>;
  67. local-timer-stop;
  68. entry-latency-us = <400>;
  69. exit-latency-us = <1200>;
  70. min-residency-us = <2500>;
  71. };
  72. };
  73. A57_0: cpu@0 {
  74. compatible = "arm,cortex-a57","arm,armv8";
  75. reg = <0x0 0x0>;
  76. device_type = "cpu";
  77. enable-method = "psci";
  78. i-cache-size = <0xc000>;
  79. i-cache-line-size = <64>;
  80. i-cache-sets = <256>;
  81. d-cache-size = <0x8000>;
  82. d-cache-line-size = <64>;
  83. d-cache-sets = <256>;
  84. next-level-cache = <&A57_L2>;
  85. clocks = <&scpi_dvfs 0>;
  86. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  87. capacity-dmips-mhz = <1024>;
  88. };
  89. A57_1: cpu@1 {
  90. compatible = "arm,cortex-a57","arm,armv8";
  91. reg = <0x0 0x1>;
  92. device_type = "cpu";
  93. enable-method = "psci";
  94. i-cache-size = <0xc000>;
  95. i-cache-line-size = <64>;
  96. i-cache-sets = <256>;
  97. d-cache-size = <0x8000>;
  98. d-cache-line-size = <64>;
  99. d-cache-sets = <256>;
  100. next-level-cache = <&A57_L2>;
  101. clocks = <&scpi_dvfs 0>;
  102. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  103. capacity-dmips-mhz = <1024>;
  104. };
  105. A53_0: cpu@100 {
  106. compatible = "arm,cortex-a53","arm,armv8";
  107. reg = <0x0 0x100>;
  108. device_type = "cpu";
  109. enable-method = "psci";
  110. i-cache-size = <0x8000>;
  111. i-cache-line-size = <64>;
  112. i-cache-sets = <256>;
  113. d-cache-size = <0x8000>;
  114. d-cache-line-size = <64>;
  115. d-cache-sets = <128>;
  116. next-level-cache = <&A53_L2>;
  117. clocks = <&scpi_dvfs 1>;
  118. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  119. capacity-dmips-mhz = <578>;
  120. };
  121. A53_1: cpu@101 {
  122. compatible = "arm,cortex-a53","arm,armv8";
  123. reg = <0x0 0x101>;
  124. device_type = "cpu";
  125. enable-method = "psci";
  126. i-cache-size = <0x8000>;
  127. i-cache-line-size = <64>;
  128. i-cache-sets = <256>;
  129. d-cache-size = <0x8000>;
  130. d-cache-line-size = <64>;
  131. d-cache-sets = <128>;
  132. next-level-cache = <&A53_L2>;
  133. clocks = <&scpi_dvfs 1>;
  134. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  135. capacity-dmips-mhz = <578>;
  136. };
  137. A53_2: cpu@102 {
  138. compatible = "arm,cortex-a53","arm,armv8";
  139. reg = <0x0 0x102>;
  140. device_type = "cpu";
  141. enable-method = "psci";
  142. i-cache-size = <0x8000>;
  143. i-cache-line-size = <64>;
  144. i-cache-sets = <256>;
  145. d-cache-size = <0x8000>;
  146. d-cache-line-size = <64>;
  147. d-cache-sets = <128>;
  148. next-level-cache = <&A53_L2>;
  149. clocks = <&scpi_dvfs 1>;
  150. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  151. capacity-dmips-mhz = <578>;
  152. };
  153. A53_3: cpu@103 {
  154. compatible = "arm,cortex-a53","arm,armv8";
  155. reg = <0x0 0x103>;
  156. device_type = "cpu";
  157. enable-method = "psci";
  158. i-cache-size = <0x8000>;
  159. i-cache-line-size = <64>;
  160. i-cache-sets = <256>;
  161. d-cache-size = <0x8000>;
  162. d-cache-line-size = <64>;
  163. d-cache-sets = <128>;
  164. next-level-cache = <&A53_L2>;
  165. clocks = <&scpi_dvfs 1>;
  166. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  167. capacity-dmips-mhz = <578>;
  168. };
  169. A57_L2: l2-cache0 {
  170. compatible = "cache";
  171. cache-size = <0x200000>;
  172. cache-line-size = <64>;
  173. cache-sets = <2048>;
  174. };
  175. A53_L2: l2-cache1 {
  176. compatible = "cache";
  177. cache-size = <0x100000>;
  178. cache-line-size = <64>;
  179. cache-sets = <1024>;
  180. };
  181. };
  182. pmu-a57 {
  183. compatible = "arm,cortex-a57-pmu";
  184. interrupts = <GIC_SPI 02 IRQ_TYPE_LEVEL_HIGH>,
  185. <GIC_SPI 06 IRQ_TYPE_LEVEL_HIGH>;
  186. interrupt-affinity = <&A57_0>,
  187. <&A57_1>;
  188. };
  189. pmu-a53 {
  190. compatible = "arm,cortex-a53-pmu";
  191. interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
  192. <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
  193. <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
  194. <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  195. interrupt-affinity = <&A53_0>,
  196. <&A53_1>,
  197. <&A53_2>,
  198. <&A53_3>;
  199. };
  200. };
  201. &etm0 {
  202. cpu = <&A57_0>;
  203. };
  204. &etm1 {
  205. cpu = <&A57_1>;
  206. };
  207. &etm2 {
  208. cpu = <&A53_0>;
  209. };
  210. &etm3 {
  211. cpu = <&A53_1>;
  212. };
  213. &etm4 {
  214. cpu = <&A53_2>;
  215. };
  216. &etm5 {
  217. cpu = <&A53_3>;
  218. };
  219. &etf0_out_port {
  220. remote-endpoint = <&replicator_in_port0>;
  221. };
  222. &replicator_in_port0 {
  223. remote-endpoint = <&etf0_out_port>;
  224. };
  225. &stm_out_port {
  226. remote-endpoint = <&main_funnel_in_port2>;
  227. };
  228. &main_funnel {
  229. ports {
  230. port@3 {
  231. reg = <2>;
  232. main_funnel_in_port2: endpoint {
  233. slave-mode;
  234. remote-endpoint = <&stm_out_port>;
  235. };
  236. };
  237. };
  238. };
  239. &cpu_debug0 {
  240. cpu = <&A57_0>;
  241. };
  242. &cpu_debug1 {
  243. cpu = <&A57_1>;
  244. };
  245. &cpu_debug2 {
  246. cpu = <&A53_0>;
  247. };
  248. &cpu_debug3 {
  249. cpu = <&A53_1>;
  250. };
  251. &cpu_debug4 {
  252. cpu = <&A53_2>;
  253. };
  254. &cpu_debug5 {
  255. cpu = <&A53_3>;
  256. };