juno-r2.dts 6.2 KB

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