vexpress-v2p-ca9.dts 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. /*
  2. * ARM Ltd. Versatile Express
  3. *
  4. * CoreTile Express A9x4
  5. * Cortex-A9 MPCore (V2P-CA9)
  6. *
  7. * HBI-0191B
  8. */
  9. /dts-v1/;
  10. / {
  11. model = "V2P-CA9";
  12. arm,hbi = <0x191>;
  13. arm,vexpress,site = <0xf>;
  14. compatible = "arm,vexpress,v2p-ca9", "arm,vexpress";
  15. interrupt-parent = <&gic>;
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  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. A9_0: cpu@0 {
  31. device_type = "cpu";
  32. compatible = "arm,cortex-a9";
  33. reg = <0>;
  34. next-level-cache = <&L2>;
  35. };
  36. A9_1: cpu@1 {
  37. device_type = "cpu";
  38. compatible = "arm,cortex-a9";
  39. reg = <1>;
  40. next-level-cache = <&L2>;
  41. };
  42. A9_2: cpu@2 {
  43. device_type = "cpu";
  44. compatible = "arm,cortex-a9";
  45. reg = <2>;
  46. next-level-cache = <&L2>;
  47. };
  48. A9_3: cpu@3 {
  49. device_type = "cpu";
  50. compatible = "arm,cortex-a9";
  51. reg = <3>;
  52. next-level-cache = <&L2>;
  53. };
  54. };
  55. memory@60000000 {
  56. device_type = "memory";
  57. reg = <0x60000000 0x40000000>;
  58. };
  59. clcd@10020000 {
  60. compatible = "arm,pl111", "arm,primecell";
  61. reg = <0x10020000 0x1000>;
  62. interrupt-names = "combined";
  63. interrupts = <0 44 4>;
  64. clocks = <&oscclk1>, <&oscclk2>;
  65. clock-names = "clcdclk", "apb_pclk";
  66. max-memory-bandwidth = <130000000>; /* 16bpp @ 63.5MHz */
  67. port {
  68. clcd_pads: endpoint {
  69. remote-endpoint = <&clcd_panel>;
  70. arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
  71. };
  72. };
  73. panel {
  74. compatible = "panel-dpi";
  75. port {
  76. clcd_panel: endpoint {
  77. remote-endpoint = <&clcd_pads>;
  78. };
  79. };
  80. panel-timing {
  81. clock-frequency = <63500127>;
  82. hactive = <1024>;
  83. hback-porch = <152>;
  84. hfront-porch = <48>;
  85. hsync-len = <104>;
  86. vactive = <768>;
  87. vback-porch = <23>;
  88. vfront-porch = <3>;
  89. vsync-len = <4>;
  90. };
  91. };
  92. };
  93. memory-controller@100e0000 {
  94. compatible = "arm,pl341", "arm,primecell";
  95. reg = <0x100e0000 0x1000>;
  96. clocks = <&oscclk2>;
  97. clock-names = "apb_pclk";
  98. };
  99. memory-controller@100e1000 {
  100. compatible = "arm,pl354", "arm,primecell";
  101. reg = <0x100e1000 0x1000>;
  102. interrupts = <0 45 4>,
  103. <0 46 4>;
  104. clocks = <&oscclk2>;
  105. clock-names = "apb_pclk";
  106. };
  107. timer@100e4000 {
  108. compatible = "arm,sp804", "arm,primecell";
  109. reg = <0x100e4000 0x1000>;
  110. interrupts = <0 48 4>,
  111. <0 49 4>;
  112. clocks = <&oscclk2>, <&oscclk2>;
  113. clock-names = "timclk", "apb_pclk";
  114. status = "disabled";
  115. };
  116. watchdog@100e5000 {
  117. compatible = "arm,sp805", "arm,primecell";
  118. reg = <0x100e5000 0x1000>;
  119. interrupts = <0 51 4>;
  120. clocks = <&oscclk2>, <&oscclk2>;
  121. clock-names = "wdogclk", "apb_pclk";
  122. };
  123. scu@1e000000 {
  124. compatible = "arm,cortex-a9-scu";
  125. reg = <0x1e000000 0x58>;
  126. };
  127. timer@1e000600 {
  128. compatible = "arm,cortex-a9-twd-timer";
  129. reg = <0x1e000600 0x20>;
  130. interrupts = <1 13 0xf04>;
  131. };
  132. watchdog@1e000620 {
  133. compatible = "arm,cortex-a9-twd-wdt";
  134. reg = <0x1e000620 0x20>;
  135. interrupts = <1 14 0xf04>;
  136. };
  137. gic: interrupt-controller@1e001000 {
  138. compatible = "arm,cortex-a9-gic";
  139. #interrupt-cells = <3>;
  140. #address-cells = <0>;
  141. interrupt-controller;
  142. reg = <0x1e001000 0x1000>,
  143. <0x1e000100 0x100>;
  144. };
  145. L2: cache-controller@1e00a000 {
  146. compatible = "arm,pl310-cache";
  147. reg = <0x1e00a000 0x1000>;
  148. interrupts = <0 43 4>;
  149. cache-unified;
  150. cache-level = <2>;
  151. arm,data-latency = <1 1 1>;
  152. arm,tag-latency = <1 1 1>;
  153. };
  154. pmu {
  155. compatible = "arm,cortex-a9-pmu";
  156. interrupts = <0 60 4>,
  157. <0 61 4>,
  158. <0 62 4>,
  159. <0 63 4>;
  160. interrupt-affinity = <&A9_0>, <&A9_1>, <&A9_2>, <&A9_3>;
  161. };
  162. dcc {
  163. compatible = "arm,vexpress,config-bus";
  164. arm,vexpress,config-bridge = <&v2m_sysreg>;
  165. oscclk0: extsaxiclk {
  166. /* ACLK clock to the AXI master port on the test chip */
  167. compatible = "arm,vexpress-osc";
  168. arm,vexpress-sysreg,func = <1 0>;
  169. freq-range = <30000000 50000000>;
  170. #clock-cells = <0>;
  171. clock-output-names = "extsaxiclk";
  172. };
  173. oscclk1: clcdclk {
  174. /* Reference clock for the CLCD */
  175. compatible = "arm,vexpress-osc";
  176. arm,vexpress-sysreg,func = <1 1>;
  177. freq-range = <10000000 80000000>;
  178. #clock-cells = <0>;
  179. clock-output-names = "clcdclk";
  180. };
  181. smbclk: oscclk2: tcrefclk {
  182. /* Reference clock for the test chip internal PLLs */
  183. compatible = "arm,vexpress-osc";
  184. arm,vexpress-sysreg,func = <1 2>;
  185. freq-range = <33000000 100000000>;
  186. #clock-cells = <0>;
  187. clock-output-names = "tcrefclk";
  188. };
  189. volt-vd10 {
  190. /* Test Chip internal logic voltage */
  191. compatible = "arm,vexpress-volt";
  192. arm,vexpress-sysreg,func = <2 0>;
  193. regulator-name = "VD10";
  194. regulator-always-on;
  195. label = "VD10";
  196. };
  197. volt-vd10-s2 {
  198. /* PL310, L2 cache, RAM cell supply (not PL310 logic) */
  199. compatible = "arm,vexpress-volt";
  200. arm,vexpress-sysreg,func = <2 1>;
  201. regulator-name = "VD10_S2";
  202. regulator-always-on;
  203. label = "VD10_S2";
  204. };
  205. volt-vd10-s3 {
  206. /* Cortex-A9 system supply, Cores, MPEs, SCU and PL310 logic */
  207. compatible = "arm,vexpress-volt";
  208. arm,vexpress-sysreg,func = <2 2>;
  209. regulator-name = "VD10_S3";
  210. regulator-always-on;
  211. label = "VD10_S3";
  212. };
  213. volt-vcc1v8 {
  214. /* DDR2 SDRAM and Test Chip DDR2 I/O supply */
  215. compatible = "arm,vexpress-volt";
  216. arm,vexpress-sysreg,func = <2 3>;
  217. regulator-name = "VCC1V8";
  218. regulator-always-on;
  219. label = "VCC1V8";
  220. };
  221. volt-ddr2vtt {
  222. /* DDR2 SDRAM VTT termination voltage */
  223. compatible = "arm,vexpress-volt";
  224. arm,vexpress-sysreg,func = <2 4>;
  225. regulator-name = "DDR2VTT";
  226. regulator-always-on;
  227. label = "DDR2VTT";
  228. };
  229. volt-vcc3v3 {
  230. /* Local board supply for miscellaneous logic external to the Test Chip */
  231. arm,vexpress-sysreg,func = <2 5>;
  232. compatible = "arm,vexpress-volt";
  233. regulator-name = "VCC3V3";
  234. regulator-always-on;
  235. label = "VCC3V3";
  236. };
  237. amp-vd10-s2 {
  238. /* PL310, L2 cache, RAM cell supply (not PL310 logic) */
  239. compatible = "arm,vexpress-amp";
  240. arm,vexpress-sysreg,func = <3 0>;
  241. label = "VD10_S2";
  242. };
  243. amp-vd10-s3 {
  244. /* Cortex-A9 system supply, Cores, MPEs, SCU and PL310 logic */
  245. compatible = "arm,vexpress-amp";
  246. arm,vexpress-sysreg,func = <3 1>;
  247. label = "VD10_S3";
  248. };
  249. power-vd10-s2 {
  250. /* PL310, L2 cache, RAM cell supply (not PL310 logic) */
  251. compatible = "arm,vexpress-power";
  252. arm,vexpress-sysreg,func = <12 0>;
  253. label = "PVD10_S2";
  254. };
  255. power-vd10-s3 {
  256. /* Cortex-A9 system supply, Cores, MPEs, SCU and PL310 logic */
  257. compatible = "arm,vexpress-power";
  258. arm,vexpress-sysreg,func = <12 1>;
  259. label = "PVD10_S3";
  260. };
  261. };
  262. smb@04000000 {
  263. compatible = "simple-bus";
  264. #address-cells = <2>;
  265. #size-cells = <1>;
  266. ranges = <0 0 0x40000000 0x04000000>,
  267. <1 0 0x44000000 0x04000000>,
  268. <2 0 0x48000000 0x04000000>,
  269. <3 0 0x4c000000 0x04000000>,
  270. <7 0 0x10000000 0x00020000>;
  271. #interrupt-cells = <1>;
  272. interrupt-map-mask = <0 0 63>;
  273. interrupt-map = <0 0 0 &gic 0 0 4>,
  274. <0 0 1 &gic 0 1 4>,
  275. <0 0 2 &gic 0 2 4>,
  276. <0 0 3 &gic 0 3 4>,
  277. <0 0 4 &gic 0 4 4>,
  278. <0 0 5 &gic 0 5 4>,
  279. <0 0 6 &gic 0 6 4>,
  280. <0 0 7 &gic 0 7 4>,
  281. <0 0 8 &gic 0 8 4>,
  282. <0 0 9 &gic 0 9 4>,
  283. <0 0 10 &gic 0 10 4>,
  284. <0 0 11 &gic 0 11 4>,
  285. <0 0 12 &gic 0 12 4>,
  286. <0 0 13 &gic 0 13 4>,
  287. <0 0 14 &gic 0 14 4>,
  288. <0 0 15 &gic 0 15 4>,
  289. <0 0 16 &gic 0 16 4>,
  290. <0 0 17 &gic 0 17 4>,
  291. <0 0 18 &gic 0 18 4>,
  292. <0 0 19 &gic 0 19 4>,
  293. <0 0 20 &gic 0 20 4>,
  294. <0 0 21 &gic 0 21 4>,
  295. <0 0 22 &gic 0 22 4>,
  296. <0 0 23 &gic 0 23 4>,
  297. <0 0 24 &gic 0 24 4>,
  298. <0 0 25 &gic 0 25 4>,
  299. <0 0 26 &gic 0 26 4>,
  300. <0 0 27 &gic 0 27 4>,
  301. <0 0 28 &gic 0 28 4>,
  302. <0 0 29 &gic 0 29 4>,
  303. <0 0 30 &gic 0 30 4>,
  304. <0 0 31 &gic 0 31 4>,
  305. <0 0 32 &gic 0 32 4>,
  306. <0 0 33 &gic 0 33 4>,
  307. <0 0 34 &gic 0 34 4>,
  308. <0 0 35 &gic 0 35 4>,
  309. <0 0 36 &gic 0 36 4>,
  310. <0 0 37 &gic 0 37 4>,
  311. <0 0 38 &gic 0 38 4>,
  312. <0 0 39 &gic 0 39 4>,
  313. <0 0 40 &gic 0 40 4>,
  314. <0 0 41 &gic 0 41 4>,
  315. <0 0 42 &gic 0 42 4>;
  316. /include/ "vexpress-v2m.dtsi"
  317. };
  318. site2: hsb@e0000000 {
  319. compatible = "simple-bus";
  320. #address-cells = <1>;
  321. #size-cells = <1>;
  322. ranges = <0 0xe0000000 0x20000000>;
  323. #interrupt-cells = <1>;
  324. interrupt-map-mask = <0 3>;
  325. interrupt-map = <0 0 &gic 0 36 4>,
  326. <0 1 &gic 0 37 4>,
  327. <0 2 &gic 0 38 4>,
  328. <0 3 &gic 0 39 4>;
  329. };
  330. };