stxssa8555.dts 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. /*
  2. * MPC8555-based STx GP3 Device Tree Source
  3. *
  4. * Copyright 2006, 2008 Freescale Semiconductor Inc.
  5. *
  6. * Copyright 2010 Silicon Turnkey Express LLC.
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the
  10. * Free Software Foundation; either version 2 of the License, or (at your
  11. * option) any later version.
  12. */
  13. /dts-v1/;
  14. / {
  15. model = "stx,gp3";
  16. compatible = "stx,gp3-8560", "stx,gp3";
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. aliases {
  20. ethernet0 = &enet0;
  21. ethernet1 = &enet1;
  22. serial0 = &serial0;
  23. serial1 = &serial1;
  24. pci0 = &pci0;
  25. };
  26. cpus {
  27. #address-cells = <1>;
  28. #size-cells = <0>;
  29. PowerPC,8555@0 {
  30. device_type = "cpu";
  31. reg = <0x0>;
  32. d-cache-line-size = <32>; // 32 bytes
  33. i-cache-line-size = <32>; // 32 bytes
  34. d-cache-size = <0x8000>; // L1, 32K
  35. i-cache-size = <0x8000>; // L1, 32K
  36. timebase-frequency = <0>; // 33 MHz, from uboot
  37. bus-frequency = <0>; // 166 MHz
  38. clock-frequency = <0>; // 825 MHz, from uboot
  39. next-level-cache = <&L2>;
  40. };
  41. };
  42. memory {
  43. device_type = "memory";
  44. reg = <0x00000000 0x10000000>;
  45. };
  46. soc8555@e0000000 {
  47. #address-cells = <1>;
  48. #size-cells = <1>;
  49. device_type = "soc";
  50. compatible = "simple-bus";
  51. ranges = <0x0 0xe0000000 0x100000>;
  52. bus-frequency = <0>;
  53. ecm-law@0 {
  54. compatible = "fsl,ecm-law";
  55. reg = <0x0 0x1000>;
  56. fsl,num-laws = <8>;
  57. };
  58. ecm@1000 {
  59. compatible = "fsl,mpc8555-ecm", "fsl,ecm";
  60. reg = <0x1000 0x1000>;
  61. interrupts = <17 2>;
  62. interrupt-parent = <&mpic>;
  63. };
  64. memory-controller@2000 {
  65. compatible = "fsl,mpc8555-memory-controller";
  66. reg = <0x2000 0x1000>;
  67. interrupt-parent = <&mpic>;
  68. interrupts = <18 2>;
  69. };
  70. L2: l2-cache-controller@20000 {
  71. compatible = "fsl,mpc8555-l2-cache-controller";
  72. reg = <0x20000 0x1000>;
  73. cache-line-size = <32>; // 32 bytes
  74. cache-size = <0x40000>; // L2, 256K
  75. interrupt-parent = <&mpic>;
  76. interrupts = <16 2>;
  77. };
  78. i2c@3000 {
  79. #address-cells = <1>;
  80. #size-cells = <0>;
  81. cell-index = <0>;
  82. compatible = "fsl-i2c";
  83. reg = <0x3000 0x100>;
  84. interrupts = <43 2>;
  85. interrupt-parent = <&mpic>;
  86. dfsrr;
  87. };
  88. dma@21300 {
  89. #address-cells = <1>;
  90. #size-cells = <1>;
  91. compatible = "fsl,mpc8555-dma", "fsl,eloplus-dma";
  92. reg = <0x21300 0x4>;
  93. ranges = <0x0 0x21100 0x200>;
  94. cell-index = <0>;
  95. dma-channel@0 {
  96. compatible = "fsl,mpc8555-dma-channel",
  97. "fsl,eloplus-dma-channel";
  98. reg = <0x0 0x80>;
  99. cell-index = <0>;
  100. interrupt-parent = <&mpic>;
  101. interrupts = <20 2>;
  102. };
  103. dma-channel@80 {
  104. compatible = "fsl,mpc8555-dma-channel",
  105. "fsl,eloplus-dma-channel";
  106. reg = <0x80 0x80>;
  107. cell-index = <1>;
  108. interrupt-parent = <&mpic>;
  109. interrupts = <21 2>;
  110. };
  111. dma-channel@100 {
  112. compatible = "fsl,mpc8555-dma-channel",
  113. "fsl,eloplus-dma-channel";
  114. reg = <0x100 0x80>;
  115. cell-index = <2>;
  116. interrupt-parent = <&mpic>;
  117. interrupts = <22 2>;
  118. };
  119. dma-channel@180 {
  120. compatible = "fsl,mpc8555-dma-channel",
  121. "fsl,eloplus-dma-channel";
  122. reg = <0x180 0x80>;
  123. cell-index = <3>;
  124. interrupt-parent = <&mpic>;
  125. interrupts = <23 2>;
  126. };
  127. };
  128. enet0: ethernet@24000 {
  129. #address-cells = <1>;
  130. #size-cells = <1>;
  131. cell-index = <0>;
  132. device_type = "network";
  133. model = "TSEC";
  134. compatible = "gianfar";
  135. reg = <0x24000 0x1000>;
  136. ranges = <0x0 0x24000 0x1000>;
  137. local-mac-address = [ 00 00 00 00 00 00 ];
  138. interrupts = <29 2 30 2 34 2>;
  139. interrupt-parent = <&mpic>;
  140. tbi-handle = <&tbi0>;
  141. phy-handle = <&phy0>;
  142. mdio@520 {
  143. #address-cells = <1>;
  144. #size-cells = <0>;
  145. compatible = "fsl,gianfar-mdio";
  146. reg = <0x520 0x20>;
  147. phy0: ethernet-phy@2 {
  148. interrupt-parent = <&mpic>;
  149. interrupts = <5 1>;
  150. reg = <0x2>;
  151. };
  152. phy1: ethernet-phy@4 {
  153. interrupt-parent = <&mpic>;
  154. interrupts = <5 1>;
  155. reg = <0x4>;
  156. };
  157. tbi0: tbi-phy@11 {
  158. reg = <0x11>;
  159. device_type = "tbi-phy";
  160. };
  161. };
  162. };
  163. enet1: ethernet@25000 {
  164. #address-cells = <1>;
  165. #size-cells = <1>;
  166. cell-index = <1>;
  167. device_type = "network";
  168. model = "TSEC";
  169. compatible = "gianfar";
  170. reg = <0x25000 0x1000>;
  171. ranges = <0x0 0x25000 0x1000>;
  172. local-mac-address = [ 00 00 00 00 00 00 ];
  173. interrupts = <35 2 36 2 40 2>;
  174. interrupt-parent = <&mpic>;
  175. tbi-handle = <&tbi1>;
  176. phy-handle = <&phy1>;
  177. mdio@520 {
  178. #address-cells = <1>;
  179. #size-cells = <0>;
  180. compatible = "fsl,gianfar-tbi";
  181. reg = <0x520 0x20>;
  182. tbi1: tbi-phy@11 {
  183. reg = <0x11>;
  184. device_type = "tbi-phy";
  185. };
  186. };
  187. };
  188. serial0: serial@4500 {
  189. cell-index = <0>;
  190. device_type = "serial";
  191. compatible = "fsl,ns16550", "ns16550";
  192. reg = <0x4500 0x100>; // reg base, size
  193. clock-frequency = <0>; // should we fill in in uboot?
  194. interrupts = <42 2>;
  195. interrupt-parent = <&mpic>;
  196. };
  197. serial1: serial@4600 {
  198. cell-index = <1>;
  199. device_type = "serial";
  200. compatible = "fsl,ns16550", "ns16550";
  201. reg = <0x4600 0x100>; // reg base, size
  202. clock-frequency = <0>; // should we fill in in uboot?
  203. interrupts = <42 2>;
  204. interrupt-parent = <&mpic>;
  205. };
  206. crypto@30000 {
  207. compatible = "fsl,sec2.0";
  208. reg = <0x30000 0x10000>;
  209. interrupts = <45 2>;
  210. interrupt-parent = <&mpic>;
  211. fsl,num-channels = <4>;
  212. fsl,channel-fifo-len = <24>;
  213. fsl,exec-units-mask = <0x7e>;
  214. fsl,descriptor-types-mask = <0x01010ebf>;
  215. };
  216. mpic: pic@40000 {
  217. interrupt-controller;
  218. #address-cells = <0>;
  219. #interrupt-cells = <2>;
  220. reg = <0x40000 0x40000>;
  221. compatible = "chrp,open-pic";
  222. device_type = "open-pic";
  223. };
  224. cpm@919c0 {
  225. #address-cells = <1>;
  226. #size-cells = <1>;
  227. compatible = "fsl,mpc8555-cpm", "fsl,cpm2";
  228. reg = <0x919c0 0x30>;
  229. ranges;
  230. muram@80000 {
  231. #address-cells = <1>;
  232. #size-cells = <1>;
  233. ranges = <0x0 0x80000 0x10000>;
  234. data@0 {
  235. compatible = "fsl,cpm-muram-data";
  236. reg = <0x0 0x2000 0x9000 0x1000>;
  237. };
  238. };
  239. brg@919f0 {
  240. compatible = "fsl,mpc8555-brg",
  241. "fsl,cpm2-brg",
  242. "fsl,cpm-brg";
  243. reg = <0x919f0 0x10 0x915f0 0x10>;
  244. };
  245. cpmpic: pic@90c00 {
  246. interrupt-controller;
  247. #address-cells = <0>;
  248. #interrupt-cells = <2>;
  249. interrupts = <46 2>;
  250. interrupt-parent = <&mpic>;
  251. reg = <0x90c00 0x80>;
  252. compatible = "fsl,mpc8555-cpm-pic", "fsl,cpm2-pic";
  253. };
  254. };
  255. };
  256. pci0: pci@e0008000 {
  257. interrupt-map-mask = <0x1f800 0x0 0x0 0x7>;
  258. interrupt-map = <
  259. /* IDSEL 0x10 */
  260. 0x8000 0x0 0x0 0x1 &mpic 0x0 0x1
  261. 0x8000 0x0 0x0 0x2 &mpic 0x1 0x1
  262. 0x8000 0x0 0x0 0x3 &mpic 0x2 0x1
  263. 0x8000 0x0 0x0 0x4 &mpic 0x3 0x1
  264. /* IDSEL 0x11 */
  265. 0x8800 0x0 0x0 0x1 &mpic 0x0 0x1
  266. 0x8800 0x0 0x0 0x2 &mpic 0x1 0x1
  267. 0x8800 0x0 0x0 0x3 &mpic 0x2 0x1
  268. 0x8800 0x0 0x0 0x4 &mpic 0x3 0x1
  269. /* IDSEL 0x12 (Slot 1) */
  270. 0x9000 0x0 0x0 0x1 &mpic 0x0 0x1
  271. 0x9000 0x0 0x0 0x2 &mpic 0x1 0x1
  272. 0x9000 0x0 0x0 0x3 &mpic 0x2 0x1
  273. 0x9000 0x0 0x0 0x4 &mpic 0x3 0x1
  274. /* IDSEL 0x13 (Slot 2) */
  275. 0x9800 0x0 0x0 0x1 &mpic 0x1 0x1
  276. 0x9800 0x0 0x0 0x2 &mpic 0x2 0x1
  277. 0x9800 0x0 0x0 0x3 &mpic 0x3 0x1
  278. 0x9800 0x0 0x0 0x4 &mpic 0x0 0x1
  279. /* IDSEL 0x14 (Slot 3) */
  280. 0xa000 0x0 0x0 0x1 &mpic 0x2 0x1
  281. 0xa000 0x0 0x0 0x2 &mpic 0x3 0x1
  282. 0xa000 0x0 0x0 0x3 &mpic 0x0 0x1
  283. 0xa000 0x0 0x0 0x4 &mpic 0x1 0x1
  284. /* IDSEL 0x15 (Slot 4) */
  285. 0xa800 0x0 0x0 0x1 &mpic 0x3 0x1
  286. 0xa800 0x0 0x0 0x2 &mpic 0x0 0x1
  287. 0xa800 0x0 0x0 0x3 &mpic 0x1 0x1
  288. 0xa800 0x0 0x0 0x4 &mpic 0x2 0x1
  289. /* Bus 1 (Tundra Bridge) */
  290. /* IDSEL 0x12 (ISA bridge) */
  291. 0x19000 0x0 0x0 0x1 &mpic 0x0 0x1
  292. 0x19000 0x0 0x0 0x2 &mpic 0x1 0x1
  293. 0x19000 0x0 0x0 0x3 &mpic 0x2 0x1
  294. 0x19000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  295. interrupt-parent = <&mpic>;
  296. interrupts = <24 2>;
  297. bus-range = <0 0>;
  298. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  299. 0x1000000 0x0 0x0 0xe2000000 0x0 0x100000>;
  300. clock-frequency = <66666666>;
  301. #interrupt-cells = <1>;
  302. #size-cells = <2>;
  303. #address-cells = <3>;
  304. reg = <0xe0008000 0x1000>;
  305. compatible = "fsl,mpc8540-pci";
  306. device_type = "pci";
  307. i8259@19000 {
  308. interrupt-controller;
  309. device_type = "interrupt-controller";
  310. reg = <0x19000 0x0 0x0 0x0 0x1>;
  311. #address-cells = <0>;
  312. #interrupt-cells = <2>;
  313. compatible = "chrp,iic";
  314. interrupts = <1>;
  315. interrupt-parent = <&pci0>;
  316. };
  317. };
  318. pci1: pci@e0009000 {
  319. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  320. interrupt-map = <
  321. /* IDSEL 0x15 */
  322. 0xa800 0x0 0x0 0x1 &mpic 0xb 0x1
  323. 0xa800 0x0 0x0 0x2 &mpic 0xb 0x1
  324. 0xa800 0x0 0x0 0x3 &mpic 0xb 0x1
  325. 0xa800 0x0 0x0 0x4 &mpic 0xb 0x1>;
  326. interrupt-parent = <&mpic>;
  327. interrupts = <25 2>;
  328. bus-range = <0 0>;
  329. ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  330. 0x1000000 0x0 0x0 0xe3000000 0x0 0x100000>;
  331. clock-frequency = <66666666>;
  332. #interrupt-cells = <1>;
  333. #size-cells = <2>;
  334. #address-cells = <3>;
  335. reg = <0xe0009000 0x1000>;
  336. compatible = "fsl,mpc8540-pci";
  337. device_type = "pci";
  338. };
  339. };