juno-r1.dts 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  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 (r1)";
  15. compatible = "arm,juno-r1", "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 = <&A57_0>;
  36. };
  37. core1 {
  38. cpu = <&A57_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. A57_0: cpu@0 {
  76. compatible = "arm,cortex-a57";
  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 = <&A57_L2>;
  87. clocks = <&scpi_dvfs 0>;
  88. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  89. capacity-dmips-mhz = <1024>;
  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. };
  107. A53_0: cpu@100 {
  108. compatible = "arm,cortex-a53";
  109. reg = <0x0 0x100>;
  110. device_type = "cpu";
  111. enable-method = "psci";
  112. i-cache-size = <0x8000>;
  113. i-cache-line-size = <64>;
  114. i-cache-sets = <256>;
  115. d-cache-size = <0x8000>;
  116. d-cache-line-size = <64>;
  117. d-cache-sets = <128>;
  118. next-level-cache = <&A53_L2>;
  119. clocks = <&scpi_dvfs 1>;
  120. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  121. capacity-dmips-mhz = <578>;
  122. };
  123. A53_1: cpu@101 {
  124. compatible = "arm,cortex-a53";
  125. reg = <0x0 0x101>;
  126. device_type = "cpu";
  127. enable-method = "psci";
  128. i-cache-size = <0x8000>;
  129. i-cache-line-size = <64>;
  130. i-cache-sets = <256>;
  131. d-cache-size = <0x8000>;
  132. d-cache-line-size = <64>;
  133. d-cache-sets = <128>;
  134. next-level-cache = <&A53_L2>;
  135. clocks = <&scpi_dvfs 1>;
  136. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  137. capacity-dmips-mhz = <578>;
  138. };
  139. A53_2: cpu@102 {
  140. compatible = "arm,cortex-a53";
  141. reg = <0x0 0x102>;
  142. device_type = "cpu";
  143. enable-method = "psci";
  144. i-cache-size = <0x8000>;
  145. i-cache-line-size = <64>;
  146. i-cache-sets = <256>;
  147. d-cache-size = <0x8000>;
  148. d-cache-line-size = <64>;
  149. d-cache-sets = <128>;
  150. next-level-cache = <&A53_L2>;
  151. clocks = <&scpi_dvfs 1>;
  152. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  153. capacity-dmips-mhz = <578>;
  154. };
  155. A53_3: cpu@103 {
  156. compatible = "arm,cortex-a53";
  157. reg = <0x0 0x103>;
  158. device_type = "cpu";
  159. enable-method = "psci";
  160. i-cache-size = <0x8000>;
  161. i-cache-line-size = <64>;
  162. i-cache-sets = <256>;
  163. d-cache-size = <0x8000>;
  164. d-cache-line-size = <64>;
  165. d-cache-sets = <128>;
  166. next-level-cache = <&A53_L2>;
  167. clocks = <&scpi_dvfs 1>;
  168. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  169. capacity-dmips-mhz = <578>;
  170. };
  171. A57_L2: l2-cache0 {
  172. compatible = "cache";
  173. cache-size = <0x200000>;
  174. cache-line-size = <64>;
  175. cache-sets = <2048>;
  176. cache-level = <2>;
  177. };
  178. A53_L2: l2-cache1 {
  179. compatible = "cache";
  180. cache-size = <0x100000>;
  181. cache-line-size = <64>;
  182. cache-sets = <1024>;
  183. cache-level = <2>;
  184. };
  185. };
  186. pmu-a57 {
  187. compatible = "arm,cortex-a57-pmu";
  188. interrupts = <GIC_SPI 02 IRQ_TYPE_LEVEL_HIGH>,
  189. <GIC_SPI 06 IRQ_TYPE_LEVEL_HIGH>;
  190. interrupt-affinity = <&A57_0>,
  191. <&A57_1>;
  192. };
  193. pmu-a53 {
  194. compatible = "arm,cortex-a53-pmu";
  195. interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
  196. <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
  197. <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
  198. <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  199. interrupt-affinity = <&A53_0>,
  200. <&A53_1>,
  201. <&A53_2>,
  202. <&A53_3>;
  203. };
  204. };
  205. &memtimer {
  206. status = "okay";
  207. };
  208. &pcie_ctlr {
  209. status = "okay";
  210. };
  211. &smmu_pcie {
  212. status = "okay";
  213. };
  214. &etm0 {
  215. cpu = <&A57_0>;
  216. };
  217. &etm1 {
  218. cpu = <&A57_1>;
  219. };
  220. &etm2 {
  221. cpu = <&A53_0>;
  222. };
  223. &etm3 {
  224. cpu = <&A53_1>;
  225. };
  226. &etm4 {
  227. cpu = <&A53_2>;
  228. };
  229. &etm5 {
  230. cpu = <&A53_3>;
  231. };
  232. &big_cluster_thermal_zone {
  233. status = "okay";
  234. };
  235. &little_cluster_thermal_zone {
  236. status = "okay";
  237. };
  238. &gpu0_thermal_zone {
  239. status = "okay";
  240. };
  241. &gpu1_thermal_zone {
  242. status = "okay";
  243. };
  244. &etf0_out_port {
  245. remote-endpoint = <&csys2_funnel_in_port0>;
  246. };
  247. &replicator_in_port0 {
  248. remote-endpoint = <&csys2_funnel_out_port>;
  249. };
  250. &csys1_funnel_in_port0 {
  251. remote-endpoint = <&stm_out_port>;
  252. };
  253. &stm_out_port {
  254. remote-endpoint = <&csys1_funnel_in_port0>;
  255. };
  256. &cpu_debug0 {
  257. cpu = <&A57_0>;
  258. };
  259. &cpu_debug1 {
  260. cpu = <&A57_1>;
  261. };
  262. &cpu_debug2 {
  263. cpu = <&A53_0>;
  264. };
  265. &cpu_debug3 {
  266. cpu = <&A53_1>;
  267. };
  268. &cpu_debug4 {
  269. cpu = <&A53_2>;
  270. };
  271. &cpu_debug5 {
  272. cpu = <&A53_3>;
  273. };
  274. &cti0 {
  275. cpu = <&A57_0>;
  276. };
  277. &cti1 {
  278. cpu = <&A57_1>;
  279. };
  280. &cti2 {
  281. cpu = <&A53_0>;
  282. };
  283. &cti3 {
  284. cpu = <&A53_1>;
  285. };
  286. &cti4 {
  287. cpu = <&A53_2>;
  288. };
  289. &cti5 {
  290. cpu = <&A53_3>;
  291. };