mpc8560ads.dts 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. /*
  2. * MPC8560 ADS Device Tree Source
  3. *
  4. * Copyright 2006 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. / {
  12. model = "MPC8560ADS";
  13. compatible = "MPC8560ADS", "MPC85xxADS";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. cpus {
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. PowerPC,8560@0 {
  20. device_type = "cpu";
  21. reg = <0>;
  22. d-cache-line-size = <20>; // 32 bytes
  23. i-cache-line-size = <20>; // 32 bytes
  24. d-cache-size = <8000>; // L1, 32K
  25. i-cache-size = <8000>; // L1, 32K
  26. timebase-frequency = <04ead9a0>;
  27. bus-frequency = <13ab6680>;
  28. clock-frequency = <312c8040>;
  29. };
  30. };
  31. memory {
  32. device_type = "memory";
  33. reg = <00000000 10000000>;
  34. };
  35. soc8560@e0000000 {
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. device_type = "soc";
  39. ranges = <0 e0000000 00100000>;
  40. reg = <e0000000 00000200>;
  41. bus-frequency = <13ab6680>;
  42. memory-controller@2000 {
  43. compatible = "fsl,8540-memory-controller";
  44. reg = <2000 1000>;
  45. interrupt-parent = <&mpic>;
  46. interrupts = <12 2>;
  47. };
  48. l2-cache-controller@20000 {
  49. compatible = "fsl,8540-l2-cache-controller";
  50. reg = <20000 1000>;
  51. cache-line-size = <20>; // 32 bytes
  52. cache-size = <40000>; // L2, 256K
  53. interrupt-parent = <&mpic>;
  54. interrupts = <10 2>;
  55. };
  56. mdio@24520 {
  57. device_type = "mdio";
  58. compatible = "gianfar";
  59. reg = <24520 20>;
  60. #address-cells = <1>;
  61. #size-cells = <0>;
  62. phy0: ethernet-phy@0 {
  63. interrupt-parent = <&mpic>;
  64. interrupts = <5 1>;
  65. reg = <0>;
  66. device_type = "ethernet-phy";
  67. };
  68. phy1: ethernet-phy@1 {
  69. interrupt-parent = <&mpic>;
  70. interrupts = <5 1>;
  71. reg = <1>;
  72. device_type = "ethernet-phy";
  73. };
  74. phy2: ethernet-phy@2 {
  75. interrupt-parent = <&mpic>;
  76. interrupts = <7 1>;
  77. reg = <2>;
  78. device_type = "ethernet-phy";
  79. };
  80. phy3: ethernet-phy@3 {
  81. interrupt-parent = <&mpic>;
  82. interrupts = <7 1>;
  83. reg = <3>;
  84. device_type = "ethernet-phy";
  85. };
  86. };
  87. ethernet@24000 {
  88. device_type = "network";
  89. model = "TSEC";
  90. compatible = "gianfar";
  91. reg = <24000 1000>;
  92. /*
  93. * address is deprecated and will be removed
  94. * in 2.6.25. Only recent versions of
  95. * U-Boot support local-mac-address, however.
  96. */
  97. address = [ 00 00 00 00 00 00 ];
  98. local-mac-address = [ 00 00 00 00 00 00 ];
  99. interrupts = <1d 2 1e 2 22 2>;
  100. interrupt-parent = <&mpic>;
  101. phy-handle = <&phy0>;
  102. };
  103. ethernet@25000 {
  104. #address-cells = <1>;
  105. #size-cells = <0>;
  106. device_type = "network";
  107. model = "TSEC";
  108. compatible = "gianfar";
  109. reg = <25000 1000>;
  110. /*
  111. * address is deprecated and will be removed
  112. * in 2.6.25. Only recent versions of
  113. * U-Boot support local-mac-address, however.
  114. */
  115. address = [ 00 00 00 00 00 00 ];
  116. local-mac-address = [ 00 00 00 00 00 00 ];
  117. interrupts = <23 2 24 2 28 2>;
  118. interrupt-parent = <&mpic>;
  119. phy-handle = <&phy1>;
  120. };
  121. mpic: pic@40000 {
  122. interrupt-controller;
  123. #address-cells = <0>;
  124. #interrupt-cells = <2>;
  125. reg = <40000 40000>;
  126. device_type = "open-pic";
  127. };
  128. cpm@919c0 {
  129. #address-cells = <1>;
  130. #size-cells = <1>;
  131. compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
  132. reg = <919c0 30>;
  133. ranges;
  134. muram@80000 {
  135. #address-cells = <1>;
  136. #size-cells = <1>;
  137. ranges = <0 80000 10000>;
  138. data@0 {
  139. compatible = "fsl,cpm-muram-data";
  140. reg = <0 4000 9000 2000>;
  141. };
  142. };
  143. brg@919f0 {
  144. compatible = "fsl,mpc8560-brg",
  145. "fsl,cpm2-brg",
  146. "fsl,cpm-brg";
  147. reg = <919f0 10 915f0 10>;
  148. clock-frequency = <d#165000000>;
  149. };
  150. cpmpic: pic@90c00 {
  151. interrupt-controller;
  152. #address-cells = <0>;
  153. #interrupt-cells = <2>;
  154. interrupts = <2e 2>;
  155. interrupt-parent = <&mpic>;
  156. reg = <90c00 80>;
  157. compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
  158. };
  159. serial@91a00 {
  160. device_type = "serial";
  161. compatible = "fsl,mpc8560-scc-uart",
  162. "fsl,cpm2-scc-uart";
  163. reg = <91a00 20 88000 100>;
  164. fsl,cpm-brg = <1>;
  165. fsl,cpm-command = <00800000>;
  166. current-speed = <1c200>;
  167. interrupts = <28 8>;
  168. interrupt-parent = <&cpmpic>;
  169. };
  170. serial@91a20 {
  171. device_type = "serial";
  172. compatible = "fsl,mpc8560-scc-uart",
  173. "fsl,cpm2-scc-uart";
  174. reg = <91a20 20 88100 100>;
  175. fsl,cpm-brg = <2>;
  176. fsl,cpm-command = <04a00000>;
  177. current-speed = <1c200>;
  178. interrupts = <29 8>;
  179. interrupt-parent = <&cpmpic>;
  180. };
  181. ethernet@91320 {
  182. device_type = "network";
  183. compatible = "fsl,mpc8560-fcc-enet",
  184. "fsl,cpm2-fcc-enet";
  185. reg = <91320 20 88500 100 913b0 1>;
  186. /*
  187. * mac-address is deprecated and will be removed
  188. * in 2.6.25. Only recent versions of
  189. * U-Boot support local-mac-address, however.
  190. */
  191. mac-address = [ 00 00 00 00 00 00 ];
  192. local-mac-address = [ 00 00 00 00 00 00 ];
  193. fsl,cpm-command = <16200300>;
  194. interrupts = <21 8>;
  195. interrupt-parent = <&cpmpic>;
  196. phy-handle = <&phy2>;
  197. };
  198. ethernet@91340 {
  199. device_type = "network";
  200. compatible = "fsl,mpc8560-fcc-enet",
  201. "fsl,cpm2-fcc-enet";
  202. reg = <91340 20 88600 100 913d0 1>;
  203. /*
  204. * mac-address is deprecated and will be removed
  205. * in 2.6.25. Only recent versions of
  206. * U-Boot support local-mac-address, however.
  207. */
  208. mac-address = [ 00 00 00 00 00 00 ];
  209. local-mac-address = [ 00 00 00 00 00 00 ];
  210. fsl,cpm-command = <1a400300>;
  211. interrupts = <22 8>;
  212. interrupt-parent = <&cpmpic>;
  213. phy-handle = <&phy3>;
  214. };
  215. };
  216. };
  217. pci@e0008000 {
  218. #interrupt-cells = <1>;
  219. #size-cells = <2>;
  220. #address-cells = <3>;
  221. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  222. device_type = "pci";
  223. reg = <e0008000 1000>;
  224. clock-frequency = <3f940aa>;
  225. interrupt-map-mask = <f800 0 0 7>;
  226. interrupt-map = <
  227. /* IDSEL 0x2 */
  228. 1000 0 0 1 &mpic 1 1
  229. 1000 0 0 2 &mpic 2 1
  230. 1000 0 0 3 &mpic 3 1
  231. 1000 0 0 4 &mpic 4 1
  232. /* IDSEL 0x3 */
  233. 1800 0 0 1 &mpic 4 1
  234. 1800 0 0 2 &mpic 1 1
  235. 1800 0 0 3 &mpic 2 1
  236. 1800 0 0 4 &mpic 3 1
  237. /* IDSEL 0x4 */
  238. 2000 0 0 1 &mpic 3 1
  239. 2000 0 0 2 &mpic 4 1
  240. 2000 0 0 3 &mpic 1 1
  241. 2000 0 0 4 &mpic 2 1
  242. /* IDSEL 0x5 */
  243. 2800 0 0 1 &mpic 2 1
  244. 2800 0 0 2 &mpic 3 1
  245. 2800 0 0 3 &mpic 4 1
  246. 2800 0 0 4 &mpic 1 1
  247. /* IDSEL 12 */
  248. 6000 0 0 1 &mpic 1 1
  249. 6000 0 0 2 &mpic 2 1
  250. 6000 0 0 3 &mpic 3 1
  251. 6000 0 0 4 &mpic 4 1
  252. /* IDSEL 13 */
  253. 6800 0 0 1 &mpic 4 1
  254. 6800 0 0 2 &mpic 1 1
  255. 6800 0 0 3 &mpic 2 1
  256. 6800 0 0 4 &mpic 3 1
  257. /* IDSEL 14*/
  258. 7000 0 0 1 &mpic 3 1
  259. 7000 0 0 2 &mpic 4 1
  260. 7000 0 0 3 &mpic 1 1
  261. 7000 0 0 4 &mpic 2 1
  262. /* IDSEL 15 */
  263. 7800 0 0 1 &mpic 2 1
  264. 7800 0 0 2 &mpic 3 1
  265. 7800 0 0 3 &mpic 4 1
  266. 7800 0 0 4 &mpic 1 1
  267. /* IDSEL 18 */
  268. 9000 0 0 1 &mpic 1 1
  269. 9000 0 0 2 &mpic 2 1
  270. 9000 0 0 3 &mpic 3 1
  271. 9000 0 0 4 &mpic 4 1
  272. /* IDSEL 19 */
  273. 9800 0 0 1 &mpic 4 1
  274. 9800 0 0 2 &mpic 1 1
  275. 9800 0 0 3 &mpic 2 1
  276. 9800 0 0 4 &mpic 3 1
  277. /* IDSEL 20 */
  278. a000 0 0 1 &mpic 3 1
  279. a000 0 0 2 &mpic 4 1
  280. a000 0 0 3 &mpic 1 1
  281. a000 0 0 4 &mpic 2 1
  282. /* IDSEL 21 */
  283. a800 0 0 1 &mpic 2 1
  284. a800 0 0 2 &mpic 3 1
  285. a800 0 0 3 &mpic 4 1
  286. a800 0 0 4 &mpic 1 1>;
  287. interrupt-parent = <&mpic>;
  288. interrupts = <18 2>;
  289. bus-range = <0 0>;
  290. ranges = <02000000 0 80000000 80000000 0 20000000
  291. 01000000 0 00000000 e2000000 0 01000000>;
  292. };
  293. };