juno-r1.dts 6.0 KB

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