stx_gp3_8560.dts 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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. reg = <0xfdf00000 0x1000>;
  49. bus-frequency = <0>;
  50. compatible = "fsl,mpc8560-immr", "simple-bus";
  51. memory-controller@2000 {
  52. compatible = "fsl,8540-memory-controller";
  53. reg = <0x2000 0x1000>;
  54. interrupt-parent = <&mpic>;
  55. interrupts = <18 2>;
  56. };
  57. L2: l2-cache-controller@20000 {
  58. compatible = "fsl,8540-l2-cache-controller";
  59. reg = <0x20000 0x1000>;
  60. cache-line-size = <32>;
  61. cache-size = <0x40000>; // L2, 256K
  62. interrupt-parent = <&mpic>;
  63. interrupts = <16 2>;
  64. };
  65. i2c@3000 {
  66. #address-cells = <1>;
  67. #size-cells = <0>;
  68. cell-index = <0>;
  69. compatible = "fsl-i2c";
  70. reg = <0x3000 0x100>;
  71. interrupts = <43 2>;
  72. interrupt-parent = <&mpic>;
  73. dfsrr;
  74. };
  75. dma@21300 {
  76. #address-cells = <1>;
  77. #size-cells = <1>;
  78. compatible = "fsl,mpc8560-dma", "fsl,eloplus-dma";
  79. reg = <0x21300 0x4>;
  80. ranges = <0x0 0x21100 0x200>;
  81. cell-index = <0>;
  82. dma-channel@0 {
  83. compatible = "fsl,mpc8560-dma-channel",
  84. "fsl,eloplus-dma-channel";
  85. reg = <0x0 0x80>;
  86. cell-index = <0>;
  87. interrupt-parent = <&mpic>;
  88. interrupts = <20 2>;
  89. };
  90. dma-channel@80 {
  91. compatible = "fsl,mpc8560-dma-channel",
  92. "fsl,eloplus-dma-channel";
  93. reg = <0x80 0x80>;
  94. cell-index = <1>;
  95. interrupt-parent = <&mpic>;
  96. interrupts = <21 2>;
  97. };
  98. dma-channel@100 {
  99. compatible = "fsl,mpc8560-dma-channel",
  100. "fsl,eloplus-dma-channel";
  101. reg = <0x100 0x80>;
  102. cell-index = <2>;
  103. interrupt-parent = <&mpic>;
  104. interrupts = <22 2>;
  105. };
  106. dma-channel@180 {
  107. compatible = "fsl,mpc8560-dma-channel",
  108. "fsl,eloplus-dma-channel";
  109. reg = <0x180 0x80>;
  110. cell-index = <3>;
  111. interrupt-parent = <&mpic>;
  112. interrupts = <23 2>;
  113. };
  114. };
  115. mdio@24520 {
  116. #address-cells = <1>;
  117. #size-cells = <0>;
  118. compatible = "fsl,gianfar-mdio";
  119. reg = <0x24520 0x20>;
  120. phy2: ethernet-phy@2 {
  121. interrupt-parent = <&mpic>;
  122. interrupts = <5 4>;
  123. reg = <2>;
  124. device_type = "ethernet-phy";
  125. };
  126. phy4: ethernet-phy@4 {
  127. interrupt-parent = <&mpic>;
  128. interrupts = <5 4>;
  129. reg = <4>;
  130. device_type = "ethernet-phy";
  131. };
  132. tbi0: tbi-phy@11 {
  133. reg = <0x11>;
  134. device_type = "tbi-phy";
  135. };
  136. };
  137. mdio@25520 {
  138. #address-cells = <1>;
  139. #size-cells = <0>;
  140. compatible = "fsl,gianfar-tbi";
  141. reg = <0x25520 0x20>;
  142. tbi1: tbi-phy@11 {
  143. reg = <0x11>;
  144. device_type = "tbi-phy";
  145. };
  146. };
  147. enet0: ethernet@24000 {
  148. cell-index = <0>;
  149. device_type = "network";
  150. model = "TSEC";
  151. compatible = "gianfar";
  152. reg = <0x24000 0x1000>;
  153. local-mac-address = [ 00 00 00 00 00 00 ];
  154. interrupts = <29 2 30 2 34 2>;
  155. interrupt-parent = <&mpic>;
  156. tbi-handle = <&tbi0>;
  157. phy-handle = <&phy2>;
  158. };
  159. enet1: ethernet@25000 {
  160. cell-index = <1>;
  161. device_type = "network";
  162. model = "TSEC";
  163. compatible = "gianfar";
  164. reg = <0x25000 0x1000>;
  165. local-mac-address = [ 00 00 00 00 00 00 ];
  166. interrupts = <35 2 36 2 40 2>;
  167. interrupt-parent = <&mpic>;
  168. tbi-handle = <&tbi1>;
  169. phy-handle = <&phy4>;
  170. };
  171. mpic: pic@40000 {
  172. interrupt-controller;
  173. #address-cells = <0>;
  174. #interrupt-cells = <2>;
  175. reg = <0x40000 0x40000>;
  176. compatible = "chrp,open-pic";
  177. device_type = "open-pic";
  178. };
  179. cpm@919c0 {
  180. #address-cells = <1>;
  181. #size-cells = <1>;
  182. compatible = "fsl,mpc8560-cpm", "fsl,cpm2", "simple-bus";
  183. reg = <0x919c0 0x30>;
  184. ranges;
  185. muram@80000 {
  186. #address-cells = <1>;
  187. #size-cells = <1>;
  188. ranges = <0 0x80000 0x10000>;
  189. data@0 {
  190. compatible = "fsl,cpm-muram-data";
  191. reg = <0 0x4000 0x9000 0x2000>;
  192. };
  193. };
  194. brg@919f0 {
  195. compatible = "fsl,mpc8560-brg",
  196. "fsl,cpm2-brg",
  197. "fsl,cpm-brg";
  198. reg = <0x919f0 0x10 0x915f0 0x10>;
  199. clock-frequency = <0>;
  200. };
  201. cpmpic: pic@90c00 {
  202. interrupt-controller;
  203. #address-cells = <0>;
  204. #interrupt-cells = <2>;
  205. interrupts = <46 2>;
  206. interrupt-parent = <&mpic>;
  207. reg = <0x90c00 0x80>;
  208. compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
  209. };
  210. serial0: serial@91a20 {
  211. device_type = "serial";
  212. compatible = "fsl,mpc8560-scc-uart",
  213. "fsl,cpm2-scc-uart";
  214. reg = <0x91a20 0x20 0x88100 0x100>;
  215. fsl,cpm-brg = <2>;
  216. fsl,cpm-command = <0x4a00000>;
  217. interrupts = <41 8>;
  218. interrupt-parent = <&cpmpic>;
  219. };
  220. };
  221. };
  222. pci0: pci@fdf08000 {
  223. cell-index = <0>;
  224. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  225. interrupt-map = <
  226. /* IDSEL 0x0c */
  227. 0x6000 0 0 1 &mpic 1 1
  228. 0x6000 0 0 2 &mpic 2 1
  229. 0x6000 0 0 3 &mpic 3 1
  230. 0x6000 0 0 4 &mpic 4 1
  231. /* IDSEL 0x0d */
  232. 0x6800 0 0 1 &mpic 4 1
  233. 0x6800 0 0 2 &mpic 1 1
  234. 0x6800 0 0 3 &mpic 2 1
  235. 0x6800 0 0 4 &mpic 3 1
  236. /* IDSEL 0x0e */
  237. 0x7000 0 0 1 &mpic 3 1
  238. 0x7000 0 0 2 &mpic 4 1
  239. 0x7000 0 0 3 &mpic 1 1
  240. 0x7000 0 0 4 &mpic 2 1
  241. /* IDSEL 0x0f */
  242. 0x7800 0 0 1 &mpic 2 1
  243. 0x7800 0 0 2 &mpic 3 1
  244. 0x7800 0 0 3 &mpic 4 1
  245. 0x7800 0 0 4 &mpic 1 1>;
  246. interrupt-parent = <&mpic>;
  247. interrupts = <24 2>;
  248. bus-range = <0 0>;
  249. ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
  250. 0x01000000 0 0x00000000 0xe2000000 0 0x00100000>;
  251. clock-frequency = <66666666>;
  252. #interrupt-cells = <1>;
  253. #size-cells = <2>;
  254. #address-cells = <3>;
  255. reg = <0xfdf08000 0x1000>;
  256. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  257. device_type = "pci";
  258. };
  259. };