mpc8560ads.dts 9.3 KB

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