mpc8560ads.dts 7.0 KB

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