juno-r1.dts 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  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 "juno-base.dtsi"
  11. #include "juno-cs-r1r2.dtsi"
  12. / {
  13. model = "ARM Juno development board (r1)";
  14. compatible = "arm,juno-r1", "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","arm,armv8";
  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. };
  90. A57_1: cpu@1 {
  91. compatible = "arm,cortex-a57","arm,armv8";
  92. reg = <0x0 0x1>;
  93. device_type = "cpu";
  94. enable-method = "psci";
  95. i-cache-size = <0xc000>;
  96. i-cache-line-size = <64>;
  97. i-cache-sets = <256>;
  98. d-cache-size = <0x8000>;
  99. d-cache-line-size = <64>;
  100. d-cache-sets = <256>;
  101. next-level-cache = <&A57_L2>;
  102. clocks = <&scpi_dvfs 0>;
  103. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  104. capacity-dmips-mhz = <1024>;
  105. };
  106. A53_0: cpu@100 {
  107. compatible = "arm,cortex-a53","arm,armv8";
  108. reg = <0x0 0x100>;
  109. device_type = "cpu";
  110. enable-method = "psci";
  111. i-cache-size = <0x8000>;
  112. i-cache-line-size = <64>;
  113. i-cache-sets = <256>;
  114. d-cache-size = <0x8000>;
  115. d-cache-line-size = <64>;
  116. d-cache-sets = <128>;
  117. next-level-cache = <&A53_L2>;
  118. clocks = <&scpi_dvfs 1>;
  119. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  120. capacity-dmips-mhz = <578>;
  121. };
  122. A53_1: cpu@101 {
  123. compatible = "arm,cortex-a53","arm,armv8";
  124. reg = <0x0 0x101>;
  125. device_type = "cpu";
  126. enable-method = "psci";
  127. i-cache-size = <0x8000>;
  128. i-cache-line-size = <64>;
  129. i-cache-sets = <256>;
  130. d-cache-size = <0x8000>;
  131. d-cache-line-size = <64>;
  132. d-cache-sets = <128>;
  133. next-level-cache = <&A53_L2>;
  134. clocks = <&scpi_dvfs 1>;
  135. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  136. capacity-dmips-mhz = <578>;
  137. };
  138. A53_2: cpu@102 {
  139. compatible = "arm,cortex-a53","arm,armv8";
  140. reg = <0x0 0x102>;
  141. device_type = "cpu";
  142. enable-method = "psci";
  143. i-cache-size = <0x8000>;
  144. i-cache-line-size = <64>;
  145. i-cache-sets = <256>;
  146. d-cache-size = <0x8000>;
  147. d-cache-line-size = <64>;
  148. d-cache-sets = <128>;
  149. next-level-cache = <&A53_L2>;
  150. clocks = <&scpi_dvfs 1>;
  151. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  152. capacity-dmips-mhz = <578>;
  153. };
  154. A53_3: cpu@103 {
  155. compatible = "arm,cortex-a53","arm,armv8";
  156. reg = <0x0 0x103>;
  157. device_type = "cpu";
  158. enable-method = "psci";
  159. i-cache-size = <0x8000>;
  160. i-cache-line-size = <64>;
  161. i-cache-sets = <256>;
  162. d-cache-size = <0x8000>;
  163. d-cache-line-size = <64>;
  164. d-cache-sets = <128>;
  165. next-level-cache = <&A53_L2>;
  166. clocks = <&scpi_dvfs 1>;
  167. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  168. capacity-dmips-mhz = <578>;
  169. };
  170. A57_L2: l2-cache0 {
  171. compatible = "cache";
  172. cache-size = <0x200000>;
  173. cache-line-size = <64>;
  174. cache-sets = <2048>;
  175. };
  176. A53_L2: l2-cache1 {
  177. compatible = "cache";
  178. cache-size = <0x100000>;
  179. cache-line-size = <64>;
  180. cache-sets = <1024>;
  181. };
  182. };
  183. pmu-a57 {
  184. compatible = "arm,cortex-a57-pmu";
  185. interrupts = <GIC_SPI 02 IRQ_TYPE_LEVEL_HIGH>,
  186. <GIC_SPI 06 IRQ_TYPE_LEVEL_HIGH>;
  187. interrupt-affinity = <&A57_0>,
  188. <&A57_1>;
  189. };
  190. pmu-a53 {
  191. compatible = "arm,cortex-a53-pmu";
  192. interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
  193. <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
  194. <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
  195. <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  196. interrupt-affinity = <&A53_0>,
  197. <&A53_1>,
  198. <&A53_2>,
  199. <&A53_3>;
  200. };
  201. };
  202. &memtimer {
  203. status = "okay";
  204. };
  205. &pcie_ctlr {
  206. status = "okay";
  207. };
  208. &etm0 {
  209. cpu = <&A57_0>;
  210. };
  211. &etm1 {
  212. cpu = <&A57_1>;
  213. };
  214. &etm2 {
  215. cpu = <&A53_0>;
  216. };
  217. &etm3 {
  218. cpu = <&A53_1>;
  219. };
  220. &etm4 {
  221. cpu = <&A53_2>;
  222. };
  223. &etm5 {
  224. cpu = <&A53_3>;
  225. };
  226. &big_cluster_thermal_zone {
  227. status = "okay";
  228. };
  229. &little_cluster_thermal_zone {
  230. status = "okay";
  231. };
  232. &gpu0_thermal_zone {
  233. status = "okay";
  234. };
  235. &gpu1_thermal_zone {
  236. status = "okay";
  237. };
  238. &etf0_out_port {
  239. remote-endpoint = <&csys2_funnel_in_port0>;
  240. };
  241. &replicator_in_port0 {
  242. remote-endpoint = <&csys2_funnel_out_port>;
  243. };
  244. &csys1_funnel_in_port0 {
  245. remote-endpoint = <&stm_out_port>;
  246. };
  247. &stm_out_port {
  248. remote-endpoint = <&csys1_funnel_in_port0>;
  249. };
  250. &cpu_debug0 {
  251. cpu = <&A57_0>;
  252. };
  253. &cpu_debug1 {
  254. cpu = <&A57_1>;
  255. };
  256. &cpu_debug2 {
  257. cpu = <&A53_0>;
  258. };
  259. &cpu_debug3 {
  260. cpu = <&A53_1>;
  261. };
  262. &cpu_debug4 {
  263. cpu = <&A53_2>;
  264. };
  265. &cpu_debug5 {
  266. cpu = <&A53_3>;
  267. };