mpc8560ads.dts 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  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. compatible = "simple-bus";
  50. ranges = <0x0 0xe0000000 0x100000>;
  51. bus-frequency = <330000000>;
  52. ecm-law@0 {
  53. compatible = "fsl,ecm-law";
  54. reg = <0x0 0x1000>;
  55. fsl,num-laws = <8>;
  56. };
  57. ecm@1000 {
  58. compatible = "fsl,mpc8560-ecm", "fsl,ecm";
  59. reg = <0x1000 0x1000>;
  60. interrupts = <17 2>;
  61. interrupt-parent = <&mpic>;
  62. };
  63. memory-controller@2000 {
  64. compatible = "fsl,mpc8540-memory-controller";
  65. reg = <0x2000 0x1000>;
  66. interrupt-parent = <&mpic>;
  67. interrupts = <18 2>;
  68. };
  69. L2: l2-cache-controller@20000 {
  70. compatible = "fsl,mpc8540-l2-cache-controller";
  71. reg = <0x20000 0x1000>;
  72. cache-line-size = <32>; // 32 bytes
  73. cache-size = <0x40000>; // L2, 256K
  74. interrupt-parent = <&mpic>;
  75. interrupts = <16 2>;
  76. };
  77. dma@21300 {
  78. #address-cells = <1>;
  79. #size-cells = <1>;
  80. compatible = "fsl,mpc8560-dma", "fsl,eloplus-dma";
  81. reg = <0x21300 0x4>;
  82. ranges = <0x0 0x21100 0x200>;
  83. cell-index = <0>;
  84. dma-channel@0 {
  85. compatible = "fsl,mpc8560-dma-channel",
  86. "fsl,eloplus-dma-channel";
  87. reg = <0x0 0x80>;
  88. cell-index = <0>;
  89. interrupt-parent = <&mpic>;
  90. interrupts = <20 2>;
  91. };
  92. dma-channel@80 {
  93. compatible = "fsl,mpc8560-dma-channel",
  94. "fsl,eloplus-dma-channel";
  95. reg = <0x80 0x80>;
  96. cell-index = <1>;
  97. interrupt-parent = <&mpic>;
  98. interrupts = <21 2>;
  99. };
  100. dma-channel@100 {
  101. compatible = "fsl,mpc8560-dma-channel",
  102. "fsl,eloplus-dma-channel";
  103. reg = <0x100 0x80>;
  104. cell-index = <2>;
  105. interrupt-parent = <&mpic>;
  106. interrupts = <22 2>;
  107. };
  108. dma-channel@180 {
  109. compatible = "fsl,mpc8560-dma-channel",
  110. "fsl,eloplus-dma-channel";
  111. reg = <0x180 0x80>;
  112. cell-index = <3>;
  113. interrupt-parent = <&mpic>;
  114. interrupts = <23 2>;
  115. };
  116. };
  117. enet0: ethernet@24000 {
  118. #address-cells = <1>;
  119. #size-cells = <1>;
  120. cell-index = <0>;
  121. device_type = "network";
  122. model = "TSEC";
  123. compatible = "gianfar";
  124. reg = <0x24000 0x1000>;
  125. ranges = <0x0 0x24000 0x1000>;
  126. local-mac-address = [ 00 00 00 00 00 00 ];
  127. interrupts = <29 2 30 2 34 2>;
  128. interrupt-parent = <&mpic>;
  129. tbi-handle = <&tbi0>;
  130. phy-handle = <&phy0>;
  131. mdio@520 {
  132. #address-cells = <1>;
  133. #size-cells = <0>;
  134. compatible = "fsl,gianfar-mdio";
  135. reg = <0x520 0x20>;
  136. phy0: ethernet-phy@0 {
  137. interrupt-parent = <&mpic>;
  138. interrupts = <5 1>;
  139. reg = <0x0>;
  140. device_type = "ethernet-phy";
  141. };
  142. phy1: ethernet-phy@1 {
  143. interrupt-parent = <&mpic>;
  144. interrupts = <5 1>;
  145. reg = <0x1>;
  146. device_type = "ethernet-phy";
  147. };
  148. phy2: ethernet-phy@2 {
  149. interrupt-parent = <&mpic>;
  150. interrupts = <7 1>;
  151. reg = <0x2>;
  152. device_type = "ethernet-phy";
  153. };
  154. phy3: ethernet-phy@3 {
  155. interrupt-parent = <&mpic>;
  156. interrupts = <7 1>;
  157. reg = <0x3>;
  158. device_type = "ethernet-phy";
  159. };
  160. tbi0: tbi-phy@11 {
  161. reg = <0x11>;
  162. device_type = "tbi-phy";
  163. };
  164. };
  165. };
  166. enet1: ethernet@25000 {
  167. #address-cells = <1>;
  168. #size-cells = <1>;
  169. cell-index = <1>;
  170. device_type = "network";
  171. model = "TSEC";
  172. compatible = "gianfar";
  173. reg = <0x25000 0x1000>;
  174. ranges = <0x0 0x25000 0x1000>;
  175. local-mac-address = [ 00 00 00 00 00 00 ];
  176. interrupts = <35 2 36 2 40 2>;
  177. interrupt-parent = <&mpic>;
  178. tbi-handle = <&tbi1>;
  179. phy-handle = <&phy1>;
  180. mdio@520 {
  181. #address-cells = <1>;
  182. #size-cells = <0>;
  183. compatible = "fsl,gianfar-tbi";
  184. reg = <0x520 0x20>;
  185. tbi1: tbi-phy@11 {
  186. reg = <0x11>;
  187. device_type = "tbi-phy";
  188. };
  189. };
  190. };
  191. mpic: pic@40000 {
  192. interrupt-controller;
  193. #address-cells = <0>;
  194. #interrupt-cells = <2>;
  195. reg = <0x40000 0x40000>;
  196. compatible = "chrp,open-pic";
  197. device_type = "open-pic";
  198. };
  199. cpm@919c0 {
  200. #address-cells = <1>;
  201. #size-cells = <1>;
  202. compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
  203. reg = <0x919c0 0x30>;
  204. ranges;
  205. muram@80000 {
  206. #address-cells = <1>;
  207. #size-cells = <1>;
  208. ranges = <0x0 0x80000 0x10000>;
  209. data@0 {
  210. compatible = "fsl,cpm-muram-data";
  211. reg = <0x0 0x4000 0x9000 0x2000>;
  212. };
  213. };
  214. brg@919f0 {
  215. compatible = "fsl,mpc8560-brg",
  216. "fsl,cpm2-brg",
  217. "fsl,cpm-brg";
  218. reg = <0x919f0 0x10 0x915f0 0x10>;
  219. clock-frequency = <165000000>;
  220. };
  221. cpmpic: pic@90c00 {
  222. interrupt-controller;
  223. #address-cells = <0>;
  224. #interrupt-cells = <2>;
  225. interrupts = <46 2>;
  226. interrupt-parent = <&mpic>;
  227. reg = <0x90c00 0x80>;
  228. compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
  229. };
  230. serial0: serial@91a00 {
  231. device_type = "serial";
  232. compatible = "fsl,mpc8560-scc-uart",
  233. "fsl,cpm2-scc-uart";
  234. reg = <0x91a00 0x20 0x88000 0x100>;
  235. fsl,cpm-brg = <1>;
  236. fsl,cpm-command = <0x800000>;
  237. current-speed = <115200>;
  238. interrupts = <40 8>;
  239. interrupt-parent = <&cpmpic>;
  240. };
  241. serial1: serial@91a20 {
  242. device_type = "serial";
  243. compatible = "fsl,mpc8560-scc-uart",
  244. "fsl,cpm2-scc-uart";
  245. reg = <0x91a20 0x20 0x88100 0x100>;
  246. fsl,cpm-brg = <2>;
  247. fsl,cpm-command = <0x4a00000>;
  248. current-speed = <115200>;
  249. interrupts = <41 8>;
  250. interrupt-parent = <&cpmpic>;
  251. };
  252. enet2: ethernet@91320 {
  253. device_type = "network";
  254. compatible = "fsl,mpc8560-fcc-enet",
  255. "fsl,cpm2-fcc-enet";
  256. reg = <0x91320 0x20 0x88500 0x100 0x913b0 0x1>;
  257. local-mac-address = [ 00 00 00 00 00 00 ];
  258. fsl,cpm-command = <0x16200300>;
  259. interrupts = <33 8>;
  260. interrupt-parent = <&cpmpic>;
  261. phy-handle = <&phy2>;
  262. };
  263. enet3: ethernet@91340 {
  264. device_type = "network";
  265. compatible = "fsl,mpc8560-fcc-enet",
  266. "fsl,cpm2-fcc-enet";
  267. reg = <0x91340 0x20 0x88600 0x100 0x913d0 0x1>;
  268. local-mac-address = [ 00 00 00 00 00 00 ];
  269. fsl,cpm-command = <0x1a400300>;
  270. interrupts = <34 8>;
  271. interrupt-parent = <&cpmpic>;
  272. phy-handle = <&phy3>;
  273. };
  274. };
  275. };
  276. pci0: pci@e0008000 {
  277. #interrupt-cells = <1>;
  278. #size-cells = <2>;
  279. #address-cells = <3>;
  280. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  281. device_type = "pci";
  282. reg = <0xe0008000 0x1000>;
  283. clock-frequency = <66666666>;
  284. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  285. interrupt-map = <
  286. /* IDSEL 0x2 */
  287. 0x1000 0x0 0x0 0x1 &mpic 0x1 0x1
  288. 0x1000 0x0 0x0 0x2 &mpic 0x2 0x1
  289. 0x1000 0x0 0x0 0x3 &mpic 0x3 0x1
  290. 0x1000 0x0 0x0 0x4 &mpic 0x4 0x1
  291. /* IDSEL 0x3 */
  292. 0x1800 0x0 0x0 0x1 &mpic 0x4 0x1
  293. 0x1800 0x0 0x0 0x2 &mpic 0x1 0x1
  294. 0x1800 0x0 0x0 0x3 &mpic 0x2 0x1
  295. 0x1800 0x0 0x0 0x4 &mpic 0x3 0x1
  296. /* IDSEL 0x4 */
  297. 0x2000 0x0 0x0 0x1 &mpic 0x3 0x1
  298. 0x2000 0x0 0x0 0x2 &mpic 0x4 0x1
  299. 0x2000 0x0 0x0 0x3 &mpic 0x1 0x1
  300. 0x2000 0x0 0x0 0x4 &mpic 0x2 0x1
  301. /* IDSEL 0x5 */
  302. 0x2800 0x0 0x0 0x1 &mpic 0x2 0x1
  303. 0x2800 0x0 0x0 0x2 &mpic 0x3 0x1
  304. 0x2800 0x0 0x0 0x3 &mpic 0x4 0x1
  305. 0x2800 0x0 0x0 0x4 &mpic 0x1 0x1
  306. /* IDSEL 12 */
  307. 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1
  308. 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1
  309. 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1
  310. 0x6000 0x0 0x0 0x4 &mpic 0x4 0x1
  311. /* IDSEL 13 */
  312. 0x6800 0x0 0x0 0x1 &mpic 0x4 0x1
  313. 0x6800 0x0 0x0 0x2 &mpic 0x1 0x1
  314. 0x6800 0x0 0x0 0x3 &mpic 0x2 0x1
  315. 0x6800 0x0 0x0 0x4 &mpic 0x3 0x1
  316. /* IDSEL 14*/
  317. 0x7000 0x0 0x0 0x1 &mpic 0x3 0x1
  318. 0x7000 0x0 0x0 0x2 &mpic 0x4 0x1
  319. 0x7000 0x0 0x0 0x3 &mpic 0x1 0x1
  320. 0x7000 0x0 0x0 0x4 &mpic 0x2 0x1
  321. /* IDSEL 15 */
  322. 0x7800 0x0 0x0 0x1 &mpic 0x2 0x1
  323. 0x7800 0x0 0x0 0x2 &mpic 0x3 0x1
  324. 0x7800 0x0 0x0 0x3 &mpic 0x4 0x1
  325. 0x7800 0x0 0x0 0x4 &mpic 0x1 0x1
  326. /* IDSEL 18 */
  327. 0x9000 0x0 0x0 0x1 &mpic 0x1 0x1
  328. 0x9000 0x0 0x0 0x2 &mpic 0x2 0x1
  329. 0x9000 0x0 0x0 0x3 &mpic 0x3 0x1
  330. 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
  331. /* IDSEL 19 */
  332. 0x9800 0x0 0x0 0x1 &mpic 0x4 0x1
  333. 0x9800 0x0 0x0 0x2 &mpic 0x1 0x1
  334. 0x9800 0x0 0x0 0x3 &mpic 0x2 0x1
  335. 0x9800 0x0 0x0 0x4 &mpic 0x3 0x1
  336. /* IDSEL 20 */
  337. 0xa000 0x0 0x0 0x1 &mpic 0x3 0x1
  338. 0xa000 0x0 0x0 0x2 &mpic 0x4 0x1
  339. 0xa000 0x0 0x0 0x3 &mpic 0x1 0x1
  340. 0xa000 0x0 0x0 0x4 &mpic 0x2 0x1
  341. /* IDSEL 21 */
  342. 0xa800 0x0 0x0 0x1 &mpic 0x2 0x1
  343. 0xa800 0x0 0x0 0x2 &mpic 0x3 0x1
  344. 0xa800 0x0 0x0 0x3 &mpic 0x4 0x1
  345. 0xa800 0x0 0x0 0x4 &mpic 0x1 0x1>;
  346. interrupt-parent = <&mpic>;
  347. interrupts = <24 2>;
  348. bus-range = <0 0>;
  349. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  350. 0x1000000 0x0 0x0 0xe2000000 0x0 0x1000000>;
  351. };
  352. };