mpc8560ads.dts 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. /*
  2. * MPC8560 ADS Device Tree Source
  3. *
  4. * Copyright 2006, 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 = "MPC8560ADS";
  14. compatible = "MPC8560ADS", "MPC85xxADS";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. ethernet2 = &enet2;
  21. ethernet3 = &enet3;
  22. serial0 = &serial0;
  23. serial1 = &serial1;
  24. pci0 = &pci0;
  25. };
  26. cpus {
  27. #address-cells = <1>;
  28. #size-cells = <0>;
  29. PowerPC,8560@0 {
  30. device_type = "cpu";
  31. reg = <0x0>;
  32. d-cache-line-size = <32>; // 32 bytes
  33. i-cache-line-size = <32>; // 32 bytes
  34. d-cache-size = <0x8000>; // L1, 32K
  35. i-cache-size = <0x8000>; // L1, 32K
  36. timebase-frequency = <82500000>;
  37. bus-frequency = <330000000>;
  38. clock-frequency = <825000000>;
  39. };
  40. };
  41. memory {
  42. device_type = "memory";
  43. reg = <0x0 0x10000000>;
  44. };
  45. soc8560@e0000000 {
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. device_type = "soc";
  49. ranges = <0x0 0xe0000000 0x100000>;
  50. reg = <0xe0000000 0x200>;
  51. bus-frequency = <330000000>;
  52. memory-controller@2000 {
  53. compatible = "fsl,8540-memory-controller";
  54. reg = <0x2000 0x1000>;
  55. interrupt-parent = <&mpic>;
  56. interrupts = <18 2>;
  57. };
  58. L2: l2-cache-controller@20000 {
  59. compatible = "fsl,8540-l2-cache-controller";
  60. reg = <0x20000 0x1000>;
  61. cache-line-size = <32>; // 32 bytes
  62. cache-size = <0x40000>; // L2, 256K
  63. interrupt-parent = <&mpic>;
  64. interrupts = <16 2>;
  65. };
  66. mdio@24520 {
  67. #address-cells = <1>;
  68. #size-cells = <0>;
  69. compatible = "fsl,gianfar-mdio";
  70. reg = <0x24520 0x20>;
  71. phy0: ethernet-phy@0 {
  72. interrupt-parent = <&mpic>;
  73. interrupts = <5 1>;
  74. reg = <0x0>;
  75. device_type = "ethernet-phy";
  76. };
  77. phy1: ethernet-phy@1 {
  78. interrupt-parent = <&mpic>;
  79. interrupts = <5 1>;
  80. reg = <0x1>;
  81. device_type = "ethernet-phy";
  82. };
  83. phy2: ethernet-phy@2 {
  84. interrupt-parent = <&mpic>;
  85. interrupts = <7 1>;
  86. reg = <0x2>;
  87. device_type = "ethernet-phy";
  88. };
  89. phy3: ethernet-phy@3 {
  90. interrupt-parent = <&mpic>;
  91. interrupts = <7 1>;
  92. reg = <0x3>;
  93. device_type = "ethernet-phy";
  94. };
  95. };
  96. enet0: ethernet@24000 {
  97. cell-index = <0>;
  98. device_type = "network";
  99. model = "TSEC";
  100. compatible = "gianfar";
  101. reg = <0x24000 0x1000>;
  102. local-mac-address = [ 00 00 00 00 00 00 ];
  103. interrupts = <29 2 30 2 34 2>;
  104. interrupt-parent = <&mpic>;
  105. phy-handle = <&phy0>;
  106. };
  107. enet1: ethernet@25000 {
  108. cell-index = <1>;
  109. device_type = "network";
  110. model = "TSEC";
  111. compatible = "gianfar";
  112. reg = <0x25000 0x1000>;
  113. local-mac-address = [ 00 00 00 00 00 00 ];
  114. interrupts = <35 2 36 2 40 2>;
  115. interrupt-parent = <&mpic>;
  116. phy-handle = <&phy1>;
  117. };
  118. mpic: pic@40000 {
  119. interrupt-controller;
  120. #address-cells = <0>;
  121. #interrupt-cells = <2>;
  122. reg = <0x40000 0x40000>;
  123. compatible = "chrp,open-pic";
  124. device_type = "open-pic";
  125. };
  126. cpm@919c0 {
  127. #address-cells = <1>;
  128. #size-cells = <1>;
  129. compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
  130. reg = <0x919c0 0x30>;
  131. ranges;
  132. muram@80000 {
  133. #address-cells = <1>;
  134. #size-cells = <1>;
  135. ranges = <0x0 0x80000 0x10000>;
  136. data@0 {
  137. compatible = "fsl,cpm-muram-data";
  138. reg = <0x0 0x4000 0x9000 0x2000>;
  139. };
  140. };
  141. brg@919f0 {
  142. compatible = "fsl,mpc8560-brg",
  143. "fsl,cpm2-brg",
  144. "fsl,cpm-brg";
  145. reg = <0x919f0 0x10 0x915f0 0x10>;
  146. clock-frequency = <165000000>;
  147. };
  148. cpmpic: pic@90c00 {
  149. interrupt-controller;
  150. #address-cells = <0>;
  151. #interrupt-cells = <2>;
  152. interrupts = <46 2>;
  153. interrupt-parent = <&mpic>;
  154. reg = <0x90c00 0x80>;
  155. compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
  156. };
  157. serial0: serial@91a00 {
  158. device_type = "serial";
  159. compatible = "fsl,mpc8560-scc-uart",
  160. "fsl,cpm2-scc-uart";
  161. reg = <0x91a00 0x20 0x88000 0x100>;
  162. fsl,cpm-brg = <1>;
  163. fsl,cpm-command = <0x800000>;
  164. current-speed = <115200>;
  165. interrupts = <40 8>;
  166. interrupt-parent = <&cpmpic>;
  167. };
  168. serial1: serial@91a20 {
  169. device_type = "serial";
  170. compatible = "fsl,mpc8560-scc-uart",
  171. "fsl,cpm2-scc-uart";
  172. reg = <0x91a20 0x20 0x88100 0x100>;
  173. fsl,cpm-brg = <2>;
  174. fsl,cpm-command = <0x4a00000>;
  175. current-speed = <115200>;
  176. interrupts = <41 8>;
  177. interrupt-parent = <&cpmpic>;
  178. };
  179. enet2: ethernet@91320 {
  180. device_type = "network";
  181. compatible = "fsl,mpc8560-fcc-enet",
  182. "fsl,cpm2-fcc-enet";
  183. reg = <0x91320 0x20 0x88500 0x100 0x913b0 0x1>;
  184. local-mac-address = [ 00 00 00 00 00 00 ];
  185. fsl,cpm-command = <0x16200300>;
  186. interrupts = <33 8>;
  187. interrupt-parent = <&cpmpic>;
  188. phy-handle = <&phy2>;
  189. };
  190. enet3: ethernet@91340 {
  191. device_type = "network";
  192. compatible = "fsl,mpc8560-fcc-enet",
  193. "fsl,cpm2-fcc-enet";
  194. reg = <0x91340 0x20 0x88600 0x100 0x913d0 0x1>;
  195. local-mac-address = [ 00 00 00 00 00 00 ];
  196. fsl,cpm-command = <0x1a400300>;
  197. interrupts = <34 8>;
  198. interrupt-parent = <&cpmpic>;
  199. phy-handle = <&phy3>;
  200. };
  201. };
  202. };
  203. pci0: pci@e0008000 {
  204. cell-index = <0>;
  205. #interrupt-cells = <1>;
  206. #size-cells = <2>;
  207. #address-cells = <3>;
  208. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  209. device_type = "pci";
  210. reg = <0xe0008000 0x1000>;
  211. clock-frequency = <66666666>;
  212. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  213. interrupt-map = <
  214. /* IDSEL 0x2 */
  215. 0x1000 0x0 0x0 0x1 &mpic 0x1 0x1
  216. 0x1000 0x0 0x0 0x2 &mpic 0x2 0x1
  217. 0x1000 0x0 0x0 0x3 &mpic 0x3 0x1
  218. 0x1000 0x0 0x0 0x4 &mpic 0x4 0x1
  219. /* IDSEL 0x3 */
  220. 0x1800 0x0 0x0 0x1 &mpic 0x4 0x1
  221. 0x1800 0x0 0x0 0x2 &mpic 0x1 0x1
  222. 0x1800 0x0 0x0 0x3 &mpic 0x2 0x1
  223. 0x1800 0x0 0x0 0x4 &mpic 0x3 0x1
  224. /* IDSEL 0x4 */
  225. 0x2000 0x0 0x0 0x1 &mpic 0x3 0x1
  226. 0x2000 0x0 0x0 0x2 &mpic 0x4 0x1
  227. 0x2000 0x0 0x0 0x3 &mpic 0x1 0x1
  228. 0x2000 0x0 0x0 0x4 &mpic 0x2 0x1
  229. /* IDSEL 0x5 */
  230. 0x2800 0x0 0x0 0x1 &mpic 0x2 0x1
  231. 0x2800 0x0 0x0 0x2 &mpic 0x3 0x1
  232. 0x2800 0x0 0x0 0x3 &mpic 0x4 0x1
  233. 0x2800 0x0 0x0 0x4 &mpic 0x1 0x1
  234. /* IDSEL 12 */
  235. 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1
  236. 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1
  237. 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1
  238. 0x6000 0x0 0x0 0x4 &mpic 0x4 0x1
  239. /* IDSEL 13 */
  240. 0x6800 0x0 0x0 0x1 &mpic 0x4 0x1
  241. 0x6800 0x0 0x0 0x2 &mpic 0x1 0x1
  242. 0x6800 0x0 0x0 0x3 &mpic 0x2 0x1
  243. 0x6800 0x0 0x0 0x4 &mpic 0x3 0x1
  244. /* IDSEL 14*/
  245. 0x7000 0x0 0x0 0x1 &mpic 0x3 0x1
  246. 0x7000 0x0 0x0 0x2 &mpic 0x4 0x1
  247. 0x7000 0x0 0x0 0x3 &mpic 0x1 0x1
  248. 0x7000 0x0 0x0 0x4 &mpic 0x2 0x1
  249. /* IDSEL 15 */
  250. 0x7800 0x0 0x0 0x1 &mpic 0x2 0x1
  251. 0x7800 0x0 0x0 0x2 &mpic 0x3 0x1
  252. 0x7800 0x0 0x0 0x3 &mpic 0x4 0x1
  253. 0x7800 0x0 0x0 0x4 &mpic 0x1 0x1
  254. /* IDSEL 18 */
  255. 0x9000 0x0 0x0 0x1 &mpic 0x1 0x1
  256. 0x9000 0x0 0x0 0x2 &mpic 0x2 0x1
  257. 0x9000 0x0 0x0 0x3 &mpic 0x3 0x1
  258. 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
  259. /* IDSEL 19 */
  260. 0x9800 0x0 0x0 0x1 &mpic 0x4 0x1
  261. 0x9800 0x0 0x0 0x2 &mpic 0x1 0x1
  262. 0x9800 0x0 0x0 0x3 &mpic 0x2 0x1
  263. 0x9800 0x0 0x0 0x4 &mpic 0x3 0x1
  264. /* IDSEL 20 */
  265. 0xa000 0x0 0x0 0x1 &mpic 0x3 0x1
  266. 0xa000 0x0 0x0 0x2 &mpic 0x4 0x1
  267. 0xa000 0x0 0x0 0x3 &mpic 0x1 0x1
  268. 0xa000 0x0 0x0 0x4 &mpic 0x2 0x1
  269. /* IDSEL 21 */
  270. 0xa800 0x0 0x0 0x1 &mpic 0x2 0x1
  271. 0xa800 0x0 0x0 0x2 &mpic 0x3 0x1
  272. 0xa800 0x0 0x0 0x3 &mpic 0x4 0x1
  273. 0xa800 0x0 0x0 0x4 &mpic 0x1 0x1>;
  274. interrupt-parent = <&mpic>;
  275. interrupts = <24 2>;
  276. bus-range = <0 0>;
  277. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  278. 0x1000000 0x0 0x0 0xe2000000 0x0 0x1000000>;
  279. };
  280. };