stx_gp3_8560.dts 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. /*
  2. * STX GP3 - 8560 ADS Device Tree Source
  3. *
  4. * Copyright 2008 Freescale Semiconductor Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation; either version 2 of the License, or (at your
  9. * option) any later version.
  10. */
  11. /dts-v1/;
  12. / {
  13. model = "stx,gp3";
  14. compatible = "stx,gp3-8560", "stx,gp3";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. serial0 = &serial0;
  21. pci0 = &pci0;
  22. };
  23. cpus {
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. PowerPC,8560@0 {
  27. device_type = "cpu";
  28. reg = <0>;
  29. d-cache-line-size = <32>;
  30. i-cache-line-size = <32>;
  31. d-cache-size = <32768>;
  32. i-cache-size = <32768>;
  33. timebase-frequency = <0>;
  34. bus-frequency = <0>;
  35. clock-frequency = <0>;
  36. next-level-cache = <&L2>;
  37. };
  38. };
  39. memory {
  40. device_type = "memory";
  41. reg = <0x00000000 0x10000000>;
  42. };
  43. soc@fdf00000 {
  44. #address-cells = <1>;
  45. #size-cells = <1>;
  46. device_type = "soc";
  47. ranges = <0 0xfdf00000 0x100000>;
  48. bus-frequency = <0>;
  49. compatible = "fsl,mpc8560-immr", "simple-bus";
  50. ecm-law@0 {
  51. compatible = "fsl,ecm-law";
  52. reg = <0x0 0x1000>;
  53. fsl,num-laws = <8>;
  54. };
  55. ecm@1000 {
  56. compatible = "fsl,mpc8560-ecm", "fsl,ecm";
  57. reg = <0x1000 0x1000>;
  58. interrupts = <17 2>;
  59. interrupt-parent = <&mpic>;
  60. };
  61. memory-controller@2000 {
  62. compatible = "fsl,mpc8540-memory-controller";
  63. reg = <0x2000 0x1000>;
  64. interrupt-parent = <&mpic>;
  65. interrupts = <18 2>;
  66. };
  67. L2: l2-cache-controller@20000 {
  68. compatible = "fsl,mpc8540-l2-cache-controller";
  69. reg = <0x20000 0x1000>;
  70. cache-line-size = <32>;
  71. cache-size = <0x40000>; // L2, 256K
  72. interrupt-parent = <&mpic>;
  73. interrupts = <16 2>;
  74. };
  75. i2c@3000 {
  76. #address-cells = <1>;
  77. #size-cells = <0>;
  78. cell-index = <0>;
  79. compatible = "fsl-i2c";
  80. reg = <0x3000 0x100>;
  81. interrupts = <43 2>;
  82. interrupt-parent = <&mpic>;
  83. dfsrr;
  84. };
  85. dma@21300 {
  86. #address-cells = <1>;
  87. #size-cells = <1>;
  88. compatible = "fsl,mpc8560-dma", "fsl,eloplus-dma";
  89. reg = <0x21300 0x4>;
  90. ranges = <0x0 0x21100 0x200>;
  91. cell-index = <0>;
  92. dma-channel@0 {
  93. compatible = "fsl,mpc8560-dma-channel",
  94. "fsl,eloplus-dma-channel";
  95. reg = <0x0 0x80>;
  96. cell-index = <0>;
  97. interrupt-parent = <&mpic>;
  98. interrupts = <20 2>;
  99. };
  100. dma-channel@80 {
  101. compatible = "fsl,mpc8560-dma-channel",
  102. "fsl,eloplus-dma-channel";
  103. reg = <0x80 0x80>;
  104. cell-index = <1>;
  105. interrupt-parent = <&mpic>;
  106. interrupts = <21 2>;
  107. };
  108. dma-channel@100 {
  109. compatible = "fsl,mpc8560-dma-channel",
  110. "fsl,eloplus-dma-channel";
  111. reg = <0x100 0x80>;
  112. cell-index = <2>;
  113. interrupt-parent = <&mpic>;
  114. interrupts = <22 2>;
  115. };
  116. dma-channel@180 {
  117. compatible = "fsl,mpc8560-dma-channel",
  118. "fsl,eloplus-dma-channel";
  119. reg = <0x180 0x80>;
  120. cell-index = <3>;
  121. interrupt-parent = <&mpic>;
  122. interrupts = <23 2>;
  123. };
  124. };
  125. enet0: ethernet@24000 {
  126. #address-cells = <1>;
  127. #size-cells = <1>;
  128. cell-index = <0>;
  129. device_type = "network";
  130. model = "TSEC";
  131. compatible = "gianfar";
  132. reg = <0x24000 0x1000>;
  133. ranges = <0x0 0x24000 0x1000>;
  134. local-mac-address = [ 00 00 00 00 00 00 ];
  135. interrupts = <29 2 30 2 34 2>;
  136. interrupt-parent = <&mpic>;
  137. tbi-handle = <&tbi0>;
  138. phy-handle = <&phy2>;
  139. mdio@520 {
  140. #address-cells = <1>;
  141. #size-cells = <0>;
  142. compatible = "fsl,gianfar-mdio";
  143. reg = <0x520 0x20>;
  144. phy2: ethernet-phy@2 {
  145. interrupt-parent = <&mpic>;
  146. interrupts = <5 4>;
  147. reg = <2>;
  148. };
  149. phy4: ethernet-phy@4 {
  150. interrupt-parent = <&mpic>;
  151. interrupts = <5 4>;
  152. reg = <4>;
  153. };
  154. tbi0: tbi-phy@11 {
  155. reg = <0x11>;
  156. device_type = "tbi-phy";
  157. };
  158. };
  159. };
  160. enet1: ethernet@25000 {
  161. #address-cells = <1>;
  162. #size-cells = <1>;
  163. cell-index = <1>;
  164. device_type = "network";
  165. model = "TSEC";
  166. compatible = "gianfar";
  167. reg = <0x25000 0x1000>;
  168. ranges = <0x0 0x25000 0x1000>;
  169. local-mac-address = [ 00 00 00 00 00 00 ];
  170. interrupts = <35 2 36 2 40 2>;
  171. interrupt-parent = <&mpic>;
  172. tbi-handle = <&tbi1>;
  173. phy-handle = <&phy4>;
  174. mdio@520 {
  175. #address-cells = <1>;
  176. #size-cells = <0>;
  177. compatible = "fsl,gianfar-tbi";
  178. reg = <0x520 0x20>;
  179. tbi1: tbi-phy@11 {
  180. reg = <0x11>;
  181. device_type = "tbi-phy";
  182. };
  183. };
  184. };
  185. mpic: pic@40000 {
  186. interrupt-controller;
  187. #address-cells = <0>;
  188. #interrupt-cells = <2>;
  189. reg = <0x40000 0x40000>;
  190. compatible = "chrp,open-pic";
  191. device_type = "open-pic";
  192. };
  193. cpm@919c0 {
  194. #address-cells = <1>;
  195. #size-cells = <1>;
  196. compatible = "fsl,mpc8560-cpm", "fsl,cpm2", "simple-bus";
  197. reg = <0x919c0 0x30>;
  198. ranges;
  199. muram@80000 {
  200. #address-cells = <1>;
  201. #size-cells = <1>;
  202. ranges = <0 0x80000 0x10000>;
  203. data@0 {
  204. compatible = "fsl,cpm-muram-data";
  205. reg = <0 0x4000 0x9000 0x2000>;
  206. };
  207. };
  208. brg@919f0 {
  209. compatible = "fsl,mpc8560-brg",
  210. "fsl,cpm2-brg",
  211. "fsl,cpm-brg";
  212. reg = <0x919f0 0x10 0x915f0 0x10>;
  213. clock-frequency = <0>;
  214. };
  215. cpmpic: pic@90c00 {
  216. interrupt-controller;
  217. #address-cells = <0>;
  218. #interrupt-cells = <2>;
  219. interrupts = <46 2>;
  220. interrupt-parent = <&mpic>;
  221. reg = <0x90c00 0x80>;
  222. compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
  223. };
  224. serial0: serial@91a20 {
  225. device_type = "serial";
  226. compatible = "fsl,mpc8560-scc-uart",
  227. "fsl,cpm2-scc-uart";
  228. reg = <0x91a20 0x20 0x88100 0x100>;
  229. fsl,cpm-brg = <2>;
  230. fsl,cpm-command = <0x4a00000>;
  231. interrupts = <41 8>;
  232. interrupt-parent = <&cpmpic>;
  233. };
  234. };
  235. };
  236. pci0: pci@fdf08000 {
  237. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  238. interrupt-map = <
  239. /* IDSEL 0x0c */
  240. 0x6000 0 0 1 &mpic 1 1
  241. 0x6000 0 0 2 &mpic 2 1
  242. 0x6000 0 0 3 &mpic 3 1
  243. 0x6000 0 0 4 &mpic 4 1
  244. /* IDSEL 0x0d */
  245. 0x6800 0 0 1 &mpic 4 1
  246. 0x6800 0 0 2 &mpic 1 1
  247. 0x6800 0 0 3 &mpic 2 1
  248. 0x6800 0 0 4 &mpic 3 1
  249. /* IDSEL 0x0e */
  250. 0x7000 0 0 1 &mpic 3 1
  251. 0x7000 0 0 2 &mpic 4 1
  252. 0x7000 0 0 3 &mpic 1 1
  253. 0x7000 0 0 4 &mpic 2 1
  254. /* IDSEL 0x0f */
  255. 0x7800 0 0 1 &mpic 2 1
  256. 0x7800 0 0 2 &mpic 3 1
  257. 0x7800 0 0 3 &mpic 4 1
  258. 0x7800 0 0 4 &mpic 1 1>;
  259. interrupt-parent = <&mpic>;
  260. interrupts = <24 2>;
  261. bus-range = <0 0>;
  262. ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
  263. 0x01000000 0 0x00000000 0xe2000000 0 0x00100000>;
  264. clock-frequency = <66666666>;
  265. #interrupt-cells = <1>;
  266. #size-cells = <2>;
  267. #address-cells = <3>;
  268. reg = <0xfdf08000 0x1000>;
  269. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  270. device_type = "pci";
  271. };
  272. };