juno.dts 5.9 KB

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