stx_gp3_8560.dts 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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,mpc8540-memory-controller";
  53. reg = <0x2000 0x1000>;
  54. interrupt-parent = <&mpic>;
  55. interrupts = <18 2>;
  56. };
  57. L2: l2-cache-controller@20000 {
  58. compatible = "fsl,mpc8540-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. enet0: ethernet@24000 {
  116. #address-cells = <1>;
  117. #size-cells = <1>;
  118. cell-index = <0>;
  119. device_type = "network";
  120. model = "TSEC";
  121. compatible = "gianfar";
  122. reg = <0x24000 0x1000>;
  123. ranges = <0x0 0x24000 0x1000>;
  124. local-mac-address = [ 00 00 00 00 00 00 ];
  125. interrupts = <29 2 30 2 34 2>;
  126. interrupt-parent = <&mpic>;
  127. tbi-handle = <&tbi0>;
  128. phy-handle = <&phy2>;
  129. mdio@520 {
  130. #address-cells = <1>;
  131. #size-cells = <0>;
  132. compatible = "fsl,gianfar-mdio";
  133. reg = <0x520 0x20>;
  134. phy2: ethernet-phy@2 {
  135. interrupt-parent = <&mpic>;
  136. interrupts = <5 4>;
  137. reg = <2>;
  138. device_type = "ethernet-phy";
  139. };
  140. phy4: ethernet-phy@4 {
  141. interrupt-parent = <&mpic>;
  142. interrupts = <5 4>;
  143. reg = <4>;
  144. device_type = "ethernet-phy";
  145. };
  146. tbi0: tbi-phy@11 {
  147. reg = <0x11>;
  148. device_type = "tbi-phy";
  149. };
  150. };
  151. };
  152. enet1: ethernet@25000 {
  153. #address-cells = <1>;
  154. #size-cells = <1>;
  155. cell-index = <1>;
  156. device_type = "network";
  157. model = "TSEC";
  158. compatible = "gianfar";
  159. reg = <0x25000 0x1000>;
  160. ranges = <0x0 0x25000 0x1000>;
  161. local-mac-address = [ 00 00 00 00 00 00 ];
  162. interrupts = <35 2 36 2 40 2>;
  163. interrupt-parent = <&mpic>;
  164. tbi-handle = <&tbi1>;
  165. phy-handle = <&phy4>;
  166. mdio@520 {
  167. #address-cells = <1>;
  168. #size-cells = <0>;
  169. compatible = "fsl,gianfar-tbi";
  170. reg = <0x520 0x20>;
  171. tbi1: tbi-phy@11 {
  172. reg = <0x11>;
  173. device_type = "tbi-phy";
  174. };
  175. };
  176. };
  177. mpic: pic@40000 {
  178. interrupt-controller;
  179. #address-cells = <0>;
  180. #interrupt-cells = <2>;
  181. reg = <0x40000 0x40000>;
  182. compatible = "chrp,open-pic";
  183. device_type = "open-pic";
  184. };
  185. cpm@919c0 {
  186. #address-cells = <1>;
  187. #size-cells = <1>;
  188. compatible = "fsl,mpc8560-cpm", "fsl,cpm2", "simple-bus";
  189. reg = <0x919c0 0x30>;
  190. ranges;
  191. muram@80000 {
  192. #address-cells = <1>;
  193. #size-cells = <1>;
  194. ranges = <0 0x80000 0x10000>;
  195. data@0 {
  196. compatible = "fsl,cpm-muram-data";
  197. reg = <0 0x4000 0x9000 0x2000>;
  198. };
  199. };
  200. brg@919f0 {
  201. compatible = "fsl,mpc8560-brg",
  202. "fsl,cpm2-brg",
  203. "fsl,cpm-brg";
  204. reg = <0x919f0 0x10 0x915f0 0x10>;
  205. clock-frequency = <0>;
  206. };
  207. cpmpic: pic@90c00 {
  208. interrupt-controller;
  209. #address-cells = <0>;
  210. #interrupt-cells = <2>;
  211. interrupts = <46 2>;
  212. interrupt-parent = <&mpic>;
  213. reg = <0x90c00 0x80>;
  214. compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
  215. };
  216. serial0: serial@91a20 {
  217. device_type = "serial";
  218. compatible = "fsl,mpc8560-scc-uart",
  219. "fsl,cpm2-scc-uart";
  220. reg = <0x91a20 0x20 0x88100 0x100>;
  221. fsl,cpm-brg = <2>;
  222. fsl,cpm-command = <0x4a00000>;
  223. interrupts = <41 8>;
  224. interrupt-parent = <&cpmpic>;
  225. };
  226. };
  227. };
  228. pci0: pci@fdf08000 {
  229. cell-index = <0>;
  230. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  231. interrupt-map = <
  232. /* IDSEL 0x0c */
  233. 0x6000 0 0 1 &mpic 1 1
  234. 0x6000 0 0 2 &mpic 2 1
  235. 0x6000 0 0 3 &mpic 3 1
  236. 0x6000 0 0 4 &mpic 4 1
  237. /* IDSEL 0x0d */
  238. 0x6800 0 0 1 &mpic 4 1
  239. 0x6800 0 0 2 &mpic 1 1
  240. 0x6800 0 0 3 &mpic 2 1
  241. 0x6800 0 0 4 &mpic 3 1
  242. /* IDSEL 0x0e */
  243. 0x7000 0 0 1 &mpic 3 1
  244. 0x7000 0 0 2 &mpic 4 1
  245. 0x7000 0 0 3 &mpic 1 1
  246. 0x7000 0 0 4 &mpic 2 1
  247. /* IDSEL 0x0f */
  248. 0x7800 0 0 1 &mpic 2 1
  249. 0x7800 0 0 2 &mpic 3 1
  250. 0x7800 0 0 3 &mpic 4 1
  251. 0x7800 0 0 4 &mpic 1 1>;
  252. interrupt-parent = <&mpic>;
  253. interrupts = <24 2>;
  254. bus-range = <0 0>;
  255. ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
  256. 0x01000000 0 0x00000000 0xe2000000 0 0x00100000>;
  257. clock-frequency = <66666666>;
  258. #interrupt-cells = <1>;
  259. #size-cells = <2>;
  260. #address-cells = <3>;
  261. reg = <0xfdf08000 0x1000>;
  262. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  263. device_type = "pci";
  264. };
  265. };