vexpress-v2p-ca15_a7.dts 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. /*
  2. * ARM Ltd. Versatile Express
  3. *
  4. * CoreTile Express A15x2 A7x3
  5. * Cortex-A15_A7 MPCore (V2P-CA15_A7)
  6. *
  7. * HBI-0249A
  8. */
  9. /dts-v1/;
  10. / {
  11. model = "V2P-CA15_CA7";
  12. arm,hbi = <0x249>;
  13. arm,vexpress,site = <0xf>;
  14. compatible = "arm,vexpress,v2p-ca15_a7", "arm,vexpress";
  15. interrupt-parent = <&gic>;
  16. #address-cells = <2>;
  17. #size-cells = <2>;
  18. chosen { };
  19. aliases {
  20. serial0 = &v2m_serial0;
  21. serial1 = &v2m_serial1;
  22. serial2 = &v2m_serial2;
  23. serial3 = &v2m_serial3;
  24. i2c0 = &v2m_i2c_dvi;
  25. i2c1 = &v2m_i2c_pcie;
  26. };
  27. cpus {
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. cpu0: cpu@0 {
  31. device_type = "cpu";
  32. compatible = "arm,cortex-a15";
  33. reg = <0>;
  34. cci-control-port = <&cci_control1>;
  35. cpu-idle-states = <&CLUSTER_SLEEP_BIG>;
  36. };
  37. cpu1: cpu@1 {
  38. device_type = "cpu";
  39. compatible = "arm,cortex-a15";
  40. reg = <1>;
  41. cci-control-port = <&cci_control1>;
  42. cpu-idle-states = <&CLUSTER_SLEEP_BIG>;
  43. };
  44. cpu2: cpu@2 {
  45. device_type = "cpu";
  46. compatible = "arm,cortex-a7";
  47. reg = <0x100>;
  48. cci-control-port = <&cci_control2>;
  49. cpu-idle-states = <&CLUSTER_SLEEP_LITTLE>;
  50. };
  51. cpu3: cpu@3 {
  52. device_type = "cpu";
  53. compatible = "arm,cortex-a7";
  54. reg = <0x101>;
  55. cci-control-port = <&cci_control2>;
  56. cpu-idle-states = <&CLUSTER_SLEEP_LITTLE>;
  57. };
  58. cpu4: cpu@4 {
  59. device_type = "cpu";
  60. compatible = "arm,cortex-a7";
  61. reg = <0x102>;
  62. cci-control-port = <&cci_control2>;
  63. cpu-idle-states = <&CLUSTER_SLEEP_LITTLE>;
  64. };
  65. idle-states {
  66. CLUSTER_SLEEP_BIG: cluster-sleep-big {
  67. compatible = "arm,idle-state";
  68. local-timer-stop;
  69. entry-latency-us = <1000>;
  70. exit-latency-us = <700>;
  71. min-residency-us = <2000>;
  72. };
  73. CLUSTER_SLEEP_LITTLE: cluster-sleep-little {
  74. compatible = "arm,idle-state";
  75. local-timer-stop;
  76. entry-latency-us = <1000>;
  77. exit-latency-us = <500>;
  78. min-residency-us = <2500>;
  79. };
  80. };
  81. };
  82. memory@80000000 {
  83. device_type = "memory";
  84. reg = <0 0x80000000 0 0x40000000>;
  85. };
  86. wdt@2a490000 {
  87. compatible = "arm,sp805", "arm,primecell";
  88. reg = <0 0x2a490000 0 0x1000>;
  89. interrupts = <0 98 4>;
  90. clocks = <&oscclk6a>, <&oscclk6a>;
  91. clock-names = "wdogclk", "apb_pclk";
  92. };
  93. hdlcd@2b000000 {
  94. compatible = "arm,hdlcd";
  95. reg = <0 0x2b000000 0 0x1000>;
  96. interrupts = <0 85 4>;
  97. clocks = <&oscclk5>;
  98. clock-names = "pxlclk";
  99. };
  100. memory-controller@2b0a0000 {
  101. compatible = "arm,pl341", "arm,primecell";
  102. reg = <0 0x2b0a0000 0 0x1000>;
  103. clocks = <&oscclk6a>;
  104. clock-names = "apb_pclk";
  105. };
  106. gic: interrupt-controller@2c001000 {
  107. compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic";
  108. #interrupt-cells = <3>;
  109. #address-cells = <0>;
  110. interrupt-controller;
  111. reg = <0 0x2c001000 0 0x1000>,
  112. <0 0x2c002000 0 0x1000>,
  113. <0 0x2c004000 0 0x2000>,
  114. <0 0x2c006000 0 0x2000>;
  115. interrupts = <1 9 0xf04>;
  116. };
  117. cci@2c090000 {
  118. compatible = "arm,cci-400";
  119. #address-cells = <1>;
  120. #size-cells = <1>;
  121. reg = <0 0x2c090000 0 0x1000>;
  122. ranges = <0x0 0x0 0x2c090000 0x10000>;
  123. cci_control1: slave-if@4000 {
  124. compatible = "arm,cci-400-ctrl-if";
  125. interface-type = "ace";
  126. reg = <0x4000 0x1000>;
  127. };
  128. cci_control2: slave-if@5000 {
  129. compatible = "arm,cci-400-ctrl-if";
  130. interface-type = "ace";
  131. reg = <0x5000 0x1000>;
  132. };
  133. };
  134. memory-controller@7ffd0000 {
  135. compatible = "arm,pl354", "arm,primecell";
  136. reg = <0 0x7ffd0000 0 0x1000>;
  137. interrupts = <0 86 4>,
  138. <0 87 4>;
  139. clocks = <&oscclk6a>;
  140. clock-names = "apb_pclk";
  141. };
  142. dma@7ff00000 {
  143. compatible = "arm,pl330", "arm,primecell";
  144. reg = <0 0x7ff00000 0 0x1000>;
  145. interrupts = <0 92 4>,
  146. <0 88 4>,
  147. <0 89 4>,
  148. <0 90 4>,
  149. <0 91 4>;
  150. clocks = <&oscclk6a>;
  151. clock-names = "apb_pclk";
  152. };
  153. scc@7fff0000 {
  154. compatible = "arm,vexpress-scc,v2p-ca15_a7", "arm,vexpress-scc";
  155. reg = <0 0x7fff0000 0 0x1000>;
  156. interrupts = <0 95 4>;
  157. };
  158. timer {
  159. compatible = "arm,armv7-timer";
  160. interrupts = <1 13 0xf08>,
  161. <1 14 0xf08>,
  162. <1 11 0xf08>,
  163. <1 10 0xf08>;
  164. };
  165. pmu {
  166. compatible = "arm,cortex-a15-pmu";
  167. interrupts = <0 68 4>,
  168. <0 69 4>;
  169. };
  170. oscclk6a: oscclk6a {
  171. /* Reference 24MHz clock */
  172. compatible = "fixed-clock";
  173. #clock-cells = <0>;
  174. clock-frequency = <24000000>;
  175. clock-output-names = "oscclk6a";
  176. };
  177. dcc {
  178. compatible = "arm,vexpress,config-bus";
  179. arm,vexpress,config-bridge = <&v2m_sysreg>;
  180. osc@0 {
  181. /* A15 PLL 0 reference clock */
  182. compatible = "arm,vexpress-osc";
  183. arm,vexpress-sysreg,func = <1 0>;
  184. freq-range = <17000000 50000000>;
  185. #clock-cells = <0>;
  186. clock-output-names = "oscclk0";
  187. };
  188. osc@1 {
  189. /* A15 PLL 1 reference clock */
  190. compatible = "arm,vexpress-osc";
  191. arm,vexpress-sysreg,func = <1 1>;
  192. freq-range = <17000000 50000000>;
  193. #clock-cells = <0>;
  194. clock-output-names = "oscclk1";
  195. };
  196. osc@2 {
  197. /* A7 PLL 0 reference clock */
  198. compatible = "arm,vexpress-osc";
  199. arm,vexpress-sysreg,func = <1 2>;
  200. freq-range = <17000000 50000000>;
  201. #clock-cells = <0>;
  202. clock-output-names = "oscclk2";
  203. };
  204. osc@3 {
  205. /* A7 PLL 1 reference clock */
  206. compatible = "arm,vexpress-osc";
  207. arm,vexpress-sysreg,func = <1 3>;
  208. freq-range = <17000000 50000000>;
  209. #clock-cells = <0>;
  210. clock-output-names = "oscclk3";
  211. };
  212. osc@4 {
  213. /* External AXI master clock */
  214. compatible = "arm,vexpress-osc";
  215. arm,vexpress-sysreg,func = <1 4>;
  216. freq-range = <20000000 40000000>;
  217. #clock-cells = <0>;
  218. clock-output-names = "oscclk4";
  219. };
  220. oscclk5: osc@5 {
  221. /* HDLCD PLL reference clock */
  222. compatible = "arm,vexpress-osc";
  223. arm,vexpress-sysreg,func = <1 5>;
  224. freq-range = <23750000 165000000>;
  225. #clock-cells = <0>;
  226. clock-output-names = "oscclk5";
  227. };
  228. smbclk: osc@6 {
  229. /* Static memory controller clock */
  230. compatible = "arm,vexpress-osc";
  231. arm,vexpress-sysreg,func = <1 6>;
  232. freq-range = <20000000 40000000>;
  233. #clock-cells = <0>;
  234. clock-output-names = "oscclk6";
  235. };
  236. osc@7 {
  237. /* SYS PLL reference clock */
  238. compatible = "arm,vexpress-osc";
  239. arm,vexpress-sysreg,func = <1 7>;
  240. freq-range = <17000000 50000000>;
  241. #clock-cells = <0>;
  242. clock-output-names = "oscclk7";
  243. };
  244. osc@8 {
  245. /* DDR2 PLL reference clock */
  246. compatible = "arm,vexpress-osc";
  247. arm,vexpress-sysreg,func = <1 8>;
  248. freq-range = <20000000 50000000>;
  249. #clock-cells = <0>;
  250. clock-output-names = "oscclk8";
  251. };
  252. volt@0 {
  253. /* A15 CPU core voltage */
  254. compatible = "arm,vexpress-volt";
  255. arm,vexpress-sysreg,func = <2 0>;
  256. regulator-name = "A15 Vcore";
  257. regulator-min-microvolt = <800000>;
  258. regulator-max-microvolt = <1050000>;
  259. regulator-always-on;
  260. label = "A15 Vcore";
  261. };
  262. volt@1 {
  263. /* A7 CPU core voltage */
  264. compatible = "arm,vexpress-volt";
  265. arm,vexpress-sysreg,func = <2 1>;
  266. regulator-name = "A7 Vcore";
  267. regulator-min-microvolt = <800000>;
  268. regulator-max-microvolt = <1050000>;
  269. regulator-always-on;
  270. label = "A7 Vcore";
  271. };
  272. amp@0 {
  273. /* Total current for the two A15 cores */
  274. compatible = "arm,vexpress-amp";
  275. arm,vexpress-sysreg,func = <3 0>;
  276. label = "A15 Icore";
  277. };
  278. amp@1 {
  279. /* Total current for the three A7 cores */
  280. compatible = "arm,vexpress-amp";
  281. arm,vexpress-sysreg,func = <3 1>;
  282. label = "A7 Icore";
  283. };
  284. temp@0 {
  285. /* DCC internal temperature */
  286. compatible = "arm,vexpress-temp";
  287. arm,vexpress-sysreg,func = <4 0>;
  288. label = "DCC";
  289. };
  290. power@0 {
  291. /* Total power for the two A15 cores */
  292. compatible = "arm,vexpress-power";
  293. arm,vexpress-sysreg,func = <12 0>;
  294. label = "A15 Pcore";
  295. };
  296. power@1 {
  297. /* Total power for the three A7 cores */
  298. compatible = "arm,vexpress-power";
  299. arm,vexpress-sysreg,func = <12 1>;
  300. label = "A7 Pcore";
  301. };
  302. energy@0 {
  303. /* Total energy for the two A15 cores */
  304. compatible = "arm,vexpress-energy";
  305. arm,vexpress-sysreg,func = <13 0>, <13 1>;
  306. label = "A15 Jcore";
  307. };
  308. energy@2 {
  309. /* Total energy for the three A7 cores */
  310. compatible = "arm,vexpress-energy";
  311. arm,vexpress-sysreg,func = <13 2>, <13 3>;
  312. label = "A7 Jcore";
  313. };
  314. };
  315. smb {
  316. compatible = "simple-bus";
  317. #address-cells = <2>;
  318. #size-cells = <1>;
  319. ranges = <0 0 0 0x08000000 0x04000000>,
  320. <1 0 0 0x14000000 0x04000000>,
  321. <2 0 0 0x18000000 0x04000000>,
  322. <3 0 0 0x1c000000 0x04000000>,
  323. <4 0 0 0x0c000000 0x04000000>,
  324. <5 0 0 0x10000000 0x04000000>;
  325. #interrupt-cells = <1>;
  326. interrupt-map-mask = <0 0 63>;
  327. interrupt-map = <0 0 0 &gic 0 0 4>,
  328. <0 0 1 &gic 0 1 4>,
  329. <0 0 2 &gic 0 2 4>,
  330. <0 0 3 &gic 0 3 4>,
  331. <0 0 4 &gic 0 4 4>,
  332. <0 0 5 &gic 0 5 4>,
  333. <0 0 6 &gic 0 6 4>,
  334. <0 0 7 &gic 0 7 4>,
  335. <0 0 8 &gic 0 8 4>,
  336. <0 0 9 &gic 0 9 4>,
  337. <0 0 10 &gic 0 10 4>,
  338. <0 0 11 &gic 0 11 4>,
  339. <0 0 12 &gic 0 12 4>,
  340. <0 0 13 &gic 0 13 4>,
  341. <0 0 14 &gic 0 14 4>,
  342. <0 0 15 &gic 0 15 4>,
  343. <0 0 16 &gic 0 16 4>,
  344. <0 0 17 &gic 0 17 4>,
  345. <0 0 18 &gic 0 18 4>,
  346. <0 0 19 &gic 0 19 4>,
  347. <0 0 20 &gic 0 20 4>,
  348. <0 0 21 &gic 0 21 4>,
  349. <0 0 22 &gic 0 22 4>,
  350. <0 0 23 &gic 0 23 4>,
  351. <0 0 24 &gic 0 24 4>,
  352. <0 0 25 &gic 0 25 4>,
  353. <0 0 26 &gic 0 26 4>,
  354. <0 0 27 &gic 0 27 4>,
  355. <0 0 28 &gic 0 28 4>,
  356. <0 0 29 &gic 0 29 4>,
  357. <0 0 30 &gic 0 30 4>,
  358. <0 0 31 &gic 0 31 4>,
  359. <0 0 32 &gic 0 32 4>,
  360. <0 0 33 &gic 0 33 4>,
  361. <0 0 34 &gic 0 34 4>,
  362. <0 0 35 &gic 0 35 4>,
  363. <0 0 36 &gic 0 36 4>,
  364. <0 0 37 &gic 0 37 4>,
  365. <0 0 38 &gic 0 38 4>,
  366. <0 0 39 &gic 0 39 4>,
  367. <0 0 40 &gic 0 40 4>,
  368. <0 0 41 &gic 0 41 4>,
  369. <0 0 42 &gic 0 42 4>;
  370. /include/ "vexpress-v2m-rs1.dtsi"
  371. };
  372. };