vexpress-v2p-ca9.dts 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * ARM Ltd. Versatile Express
  4. *
  5. * CoreTile Express A9x4
  6. * Cortex-A9 MPCore (V2P-CA9)
  7. *
  8. * HBI-0191B
  9. */
  10. /dts-v1/;
  11. #include "vexpress-v2m.dtsi"
  12. / {
  13. model = "V2P-CA9";
  14. arm,hbi = <0x191>;
  15. arm,vexpress,site = <0xf>;
  16. compatible = "arm,vexpress,v2p-ca9", "arm,vexpress";
  17. interrupt-parent = <&gic>;
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. chosen { };
  21. aliases {
  22. serial0 = &v2m_serial0;
  23. serial1 = &v2m_serial1;
  24. serial2 = &v2m_serial2;
  25. serial3 = &v2m_serial3;
  26. i2c0 = &v2m_i2c_dvi;
  27. i2c1 = &v2m_i2c_pcie;
  28. };
  29. cpus {
  30. #address-cells = <1>;
  31. #size-cells = <0>;
  32. A9_0: cpu@0 {
  33. device_type = "cpu";
  34. compatible = "arm,cortex-a9";
  35. reg = <0>;
  36. next-level-cache = <&L2>;
  37. };
  38. A9_1: cpu@1 {
  39. device_type = "cpu";
  40. compatible = "arm,cortex-a9";
  41. reg = <1>;
  42. next-level-cache = <&L2>;
  43. };
  44. A9_2: cpu@2 {
  45. device_type = "cpu";
  46. compatible = "arm,cortex-a9";
  47. reg = <2>;
  48. next-level-cache = <&L2>;
  49. };
  50. A9_3: cpu@3 {
  51. device_type = "cpu";
  52. compatible = "arm,cortex-a9";
  53. reg = <3>;
  54. next-level-cache = <&L2>;
  55. };
  56. };
  57. memory@60000000 {
  58. device_type = "memory";
  59. reg = <0x60000000 0x40000000>;
  60. };
  61. reserved-memory {
  62. #address-cells = <1>;
  63. #size-cells = <1>;
  64. ranges;
  65. /* Chipselect 3 is physically at 0x4c000000 */
  66. vram: vram@4c000000 {
  67. /* 8 MB of designated video RAM */
  68. compatible = "shared-dma-pool";
  69. reg = <0x4c000000 0x00800000>;
  70. no-map;
  71. };
  72. };
  73. clcd@10020000 {
  74. compatible = "arm,pl111", "arm,primecell";
  75. reg = <0x10020000 0x1000>;
  76. interrupt-names = "combined";
  77. interrupts = <0 44 4>;
  78. clocks = <&oscclk1>, <&oscclk2>;
  79. clock-names = "clcdclk", "apb_pclk";
  80. /* 1024x768 16bpp @65MHz */
  81. max-memory-bandwidth = <95000000>;
  82. port {
  83. clcd_pads_ct: endpoint {
  84. remote-endpoint = <&dvi_bridge_in_ct>;
  85. arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
  86. };
  87. };
  88. };
  89. memory-controller@100e0000 {
  90. compatible = "arm,pl341", "arm,primecell";
  91. reg = <0x100e0000 0x1000>;
  92. clocks = <&oscclk2>;
  93. clock-names = "apb_pclk";
  94. };
  95. memory-controller@100e1000 {
  96. compatible = "arm,pl354", "arm,primecell";
  97. reg = <0x100e1000 0x1000>;
  98. interrupts = <0 45 4>,
  99. <0 46 4>;
  100. clocks = <&oscclk2>;
  101. clock-names = "apb_pclk";
  102. };
  103. timer@100e4000 {
  104. compatible = "arm,sp804", "arm,primecell";
  105. reg = <0x100e4000 0x1000>;
  106. interrupts = <0 48 4>,
  107. <0 49 4>;
  108. clocks = <&oscclk2>, <&oscclk2>, <&oscclk2>;
  109. clock-names = "timer0clk", "timer1clk", "apb_pclk";
  110. status = "disabled";
  111. };
  112. watchdog@100e5000 {
  113. compatible = "arm,sp805", "arm,primecell";
  114. reg = <0x100e5000 0x1000>;
  115. interrupts = <0 51 4>;
  116. clocks = <&oscclk2>, <&oscclk2>;
  117. clock-names = "wdog_clk", "apb_pclk";
  118. };
  119. scu@1e000000 {
  120. compatible = "arm,cortex-a9-scu";
  121. reg = <0x1e000000 0x58>;
  122. };
  123. timer@1e000600 {
  124. compatible = "arm,cortex-a9-twd-timer";
  125. reg = <0x1e000600 0x20>;
  126. interrupts = <1 13 0xf04>;
  127. };
  128. watchdog@1e000620 {
  129. compatible = "arm,cortex-a9-twd-wdt";
  130. reg = <0x1e000620 0x20>;
  131. interrupts = <1 14 0xf04>;
  132. };
  133. gic: interrupt-controller@1e001000 {
  134. compatible = "arm,cortex-a9-gic";
  135. #interrupt-cells = <3>;
  136. #address-cells = <0>;
  137. interrupt-controller;
  138. reg = <0x1e001000 0x1000>,
  139. <0x1e000100 0x100>;
  140. };
  141. L2: cache-controller@1e00a000 {
  142. compatible = "arm,pl310-cache";
  143. reg = <0x1e00a000 0x1000>;
  144. interrupts = <0 43 4>;
  145. cache-unified;
  146. cache-level = <2>;
  147. arm,data-latency = <1 1 1>;
  148. arm,tag-latency = <1 1 1>;
  149. };
  150. pmu {
  151. compatible = "arm,cortex-a9-pmu";
  152. interrupts = <0 60 4>,
  153. <0 61 4>,
  154. <0 62 4>,
  155. <0 63 4>;
  156. interrupt-affinity = <&A9_0>, <&A9_1>, <&A9_2>, <&A9_3>;
  157. };
  158. dcc {
  159. compatible = "arm,vexpress,config-bus";
  160. arm,vexpress,config-bridge = <&v2m_sysreg>;
  161. oscclk0: extsaxiclk {
  162. /* ACLK clock to the AXI master port on the test chip */
  163. compatible = "arm,vexpress-osc";
  164. arm,vexpress-sysreg,func = <1 0>;
  165. freq-range = <30000000 50000000>;
  166. #clock-cells = <0>;
  167. clock-output-names = "extsaxiclk";
  168. };
  169. oscclk1: clcdclk {
  170. /* Reference clock for the CLCD */
  171. compatible = "arm,vexpress-osc";
  172. arm,vexpress-sysreg,func = <1 1>;
  173. freq-range = <10000000 80000000>;
  174. #clock-cells = <0>;
  175. clock-output-names = "clcdclk";
  176. };
  177. smbclk: oscclk2: tcrefclk {
  178. /* Reference clock for the test chip internal PLLs */
  179. compatible = "arm,vexpress-osc";
  180. arm,vexpress-sysreg,func = <1 2>;
  181. freq-range = <33000000 100000000>;
  182. #clock-cells = <0>;
  183. clock-output-names = "tcrefclk";
  184. };
  185. volt-vd10 {
  186. /* Test Chip internal logic voltage */
  187. compatible = "arm,vexpress-volt";
  188. arm,vexpress-sysreg,func = <2 0>;
  189. regulator-name = "VD10";
  190. regulator-always-on;
  191. label = "VD10";
  192. };
  193. volt-vd10-s2 {
  194. /* PL310, L2 cache, RAM cell supply (not PL310 logic) */
  195. compatible = "arm,vexpress-volt";
  196. arm,vexpress-sysreg,func = <2 1>;
  197. regulator-name = "VD10_S2";
  198. regulator-always-on;
  199. label = "VD10_S2";
  200. };
  201. volt-vd10-s3 {
  202. /* Cortex-A9 system supply, Cores, MPEs, SCU and PL310 logic */
  203. compatible = "arm,vexpress-volt";
  204. arm,vexpress-sysreg,func = <2 2>;
  205. regulator-name = "VD10_S3";
  206. regulator-always-on;
  207. label = "VD10_S3";
  208. };
  209. volt-vcc1v8 {
  210. /* DDR2 SDRAM and Test Chip DDR2 I/O supply */
  211. compatible = "arm,vexpress-volt";
  212. arm,vexpress-sysreg,func = <2 3>;
  213. regulator-name = "VCC1V8";
  214. regulator-always-on;
  215. label = "VCC1V8";
  216. };
  217. volt-ddr2vtt {
  218. /* DDR2 SDRAM VTT termination voltage */
  219. compatible = "arm,vexpress-volt";
  220. arm,vexpress-sysreg,func = <2 4>;
  221. regulator-name = "DDR2VTT";
  222. regulator-always-on;
  223. label = "DDR2VTT";
  224. };
  225. volt-vcc3v3 {
  226. /* Local board supply for miscellaneous logic external to the Test Chip */
  227. arm,vexpress-sysreg,func = <2 5>;
  228. compatible = "arm,vexpress-volt";
  229. regulator-name = "VCC3V3";
  230. regulator-always-on;
  231. label = "VCC3V3";
  232. };
  233. amp-vd10-s2 {
  234. /* PL310, L2 cache, RAM cell supply (not PL310 logic) */
  235. compatible = "arm,vexpress-amp";
  236. arm,vexpress-sysreg,func = <3 0>;
  237. label = "VD10_S2";
  238. };
  239. amp-vd10-s3 {
  240. /* Cortex-A9 system supply, Cores, MPEs, SCU and PL310 logic */
  241. compatible = "arm,vexpress-amp";
  242. arm,vexpress-sysreg,func = <3 1>;
  243. label = "VD10_S3";
  244. };
  245. power-vd10-s2 {
  246. /* PL310, L2 cache, RAM cell supply (not PL310 logic) */
  247. compatible = "arm,vexpress-power";
  248. arm,vexpress-sysreg,func = <12 0>;
  249. label = "PVD10_S2";
  250. };
  251. power-vd10-s3 {
  252. /* Cortex-A9 system supply, Cores, MPEs, SCU and PL310 logic */
  253. compatible = "arm,vexpress-power";
  254. arm,vexpress-sysreg,func = <12 1>;
  255. label = "PVD10_S3";
  256. };
  257. };
  258. site2: hsb@e0000000 {
  259. compatible = "simple-bus";
  260. #address-cells = <1>;
  261. #size-cells = <1>;
  262. ranges = <0 0xe0000000 0x20000000>;
  263. #interrupt-cells = <1>;
  264. interrupt-map-mask = <0 3>;
  265. interrupt-map = <0 0 &gic 0 36 4>,
  266. <0 1 &gic 0 37 4>,
  267. <0 2 &gic 0 38 4>,
  268. <0 3 &gic 0 39 4>;
  269. };
  270. };