juno.dts 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  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-size = <0x200000>;
  179. cache-line-size = <64>;
  180. cache-sets = <2048>;
  181. cache-level = <2>;
  182. };
  183. A53_L2: l2-cache1 {
  184. compatible = "cache";
  185. cache-size = <0x100000>;
  186. cache-line-size = <64>;
  187. cache-sets = <1024>;
  188. cache-level = <2>;
  189. };
  190. };
  191. pmu-a57 {
  192. compatible = "arm,cortex-a57-pmu";
  193. interrupts = <GIC_SPI 02 IRQ_TYPE_LEVEL_HIGH>,
  194. <GIC_SPI 06 IRQ_TYPE_LEVEL_HIGH>;
  195. interrupt-affinity = <&A57_0>,
  196. <&A57_1>;
  197. };
  198. pmu-a53 {
  199. compatible = "arm,cortex-a53-pmu";
  200. interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
  201. <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
  202. <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
  203. <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  204. interrupt-affinity = <&A53_0>,
  205. <&A53_1>,
  206. <&A53_2>,
  207. <&A53_3>;
  208. };
  209. };
  210. &etm0 {
  211. cpu = <&A57_0>;
  212. };
  213. &etm1 {
  214. cpu = <&A57_1>;
  215. };
  216. &etm2 {
  217. cpu = <&A53_0>;
  218. };
  219. &etm3 {
  220. cpu = <&A53_1>;
  221. };
  222. &etm4 {
  223. cpu = <&A53_2>;
  224. };
  225. &etm5 {
  226. cpu = <&A53_3>;
  227. };
  228. &etf0_out_port {
  229. remote-endpoint = <&replicator_in_port0>;
  230. };
  231. &replicator_in_port0 {
  232. remote-endpoint = <&etf0_out_port>;
  233. };
  234. &stm_out_port {
  235. remote-endpoint = <&main_funnel_in_port2>;
  236. };
  237. &main_funnel_in_ports {
  238. port@2 {
  239. reg = <2>;
  240. main_funnel_in_port2: endpoint {
  241. remote-endpoint = <&stm_out_port>;
  242. };
  243. };
  244. };
  245. &cpu_debug0 {
  246. cpu = <&A57_0>;
  247. };
  248. &cpu_debug1 {
  249. cpu = <&A57_1>;
  250. };
  251. &cpu_debug2 {
  252. cpu = <&A53_0>;
  253. };
  254. &cpu_debug3 {
  255. cpu = <&A53_1>;
  256. };
  257. &cpu_debug4 {
  258. cpu = <&A53_2>;
  259. };
  260. &cpu_debug5 {
  261. cpu = <&A53_3>;
  262. };
  263. &cti0 {
  264. cpu = <&A57_0>;
  265. };
  266. &cti1 {
  267. cpu = <&A57_1>;
  268. };
  269. &cti2 {
  270. cpu = <&A53_0>;
  271. };
  272. &cti3 {
  273. cpu = <&A53_1>;
  274. };
  275. &cti4 {
  276. cpu = <&A53_2>;
  277. };
  278. &cti5 {
  279. cpu = <&A53_3>;
  280. };