mpc8568mds.dts 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  1. /*
  2. * MPC8568E MDS Device Tree Source
  3. *
  4. * Copyright 2007 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. /memreserve/ 00000000 1000000;
  13. */
  14. / {
  15. model = "MPC8568EMDS";
  16. compatible = "MPC8568EMDS", "MPC85xxMDS";
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. cpus {
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. PowerPC,8568@0 {
  23. device_type = "cpu";
  24. reg = <0>;
  25. d-cache-line-size = <20>; // 32 bytes
  26. i-cache-line-size = <20>; // 32 bytes
  27. d-cache-size = <8000>; // L1, 32K
  28. i-cache-size = <8000>; // L1, 32K
  29. timebase-frequency = <0>;
  30. bus-frequency = <0>;
  31. clock-frequency = <0>;
  32. 32-bit;
  33. };
  34. };
  35. memory {
  36. device_type = "memory";
  37. reg = <00000000 10000000>;
  38. };
  39. bcsr@f8000000 {
  40. device_type = "board-control";
  41. reg = <f8000000 8000>;
  42. };
  43. soc8568@e0000000 {
  44. #address-cells = <1>;
  45. #size-cells = <1>;
  46. #interrupt-cells = <2>;
  47. device_type = "soc";
  48. ranges = <0 e0000000 00100000>;
  49. reg = <e0000000 00100000>;
  50. bus-frequency = <0>;
  51. memory-controller@2000 {
  52. compatible = "fsl,8568-memory-controller";
  53. reg = <2000 1000>;
  54. interrupt-parent = <&mpic>;
  55. interrupts = <2 2>;
  56. };
  57. l2-cache-controller@20000 {
  58. compatible = "fsl,8568-l2-cache-controller";
  59. reg = <20000 1000>;
  60. cache-line-size = <20>; // 32 bytes
  61. cache-size = <80000>; // L2, 512K
  62. interrupt-parent = <&mpic>;
  63. interrupts = <0 2>;
  64. };
  65. i2c@3000 {
  66. device_type = "i2c";
  67. compatible = "fsl-i2c";
  68. reg = <3000 100>;
  69. interrupts = <1b 2>;
  70. interrupt-parent = <&mpic>;
  71. dfsrr;
  72. };
  73. i2c@3100 {
  74. device_type = "i2c";
  75. compatible = "fsl-i2c";
  76. reg = <3100 100>;
  77. interrupts = <1b 2>;
  78. interrupt-parent = <&mpic>;
  79. dfsrr;
  80. };
  81. mdio@24520 {
  82. #address-cells = <1>;
  83. #size-cells = <0>;
  84. device_type = "mdio";
  85. compatible = "gianfar";
  86. reg = <24520 20>;
  87. phy0: ethernet-phy@0 {
  88. interrupt-parent = <&mpic>;
  89. interrupts = <31 1>;
  90. reg = <0>;
  91. device_type = "ethernet-phy";
  92. };
  93. phy1: ethernet-phy@1 {
  94. interrupt-parent = <&mpic>;
  95. interrupts = <32 1>;
  96. reg = <1>;
  97. device_type = "ethernet-phy";
  98. };
  99. phy2: ethernet-phy@2 {
  100. interrupt-parent = <&mpic>;
  101. interrupts = <31 1>;
  102. reg = <2>;
  103. device_type = "ethernet-phy";
  104. };
  105. phy3: ethernet-phy@3 {
  106. interrupt-parent = <&mpic>;
  107. interrupts = <32 1>;
  108. reg = <3>;
  109. device_type = "ethernet-phy";
  110. };
  111. };
  112. ethernet@24000 {
  113. #address-cells = <1>;
  114. #size-cells = <0>;
  115. device_type = "network";
  116. model = "eTSEC";
  117. compatible = "gianfar";
  118. reg = <24000 1000>;
  119. mac-address = [ 00 00 00 00 00 00 ];
  120. interrupts = <d 2 e 2 12 2>;
  121. interrupt-parent = <&mpic>;
  122. phy-handle = <&phy2>;
  123. };
  124. ethernet@25000 {
  125. #address-cells = <1>;
  126. #size-cells = <0>;
  127. device_type = "network";
  128. model = "eTSEC";
  129. compatible = "gianfar";
  130. reg = <25000 1000>;
  131. mac-address = [ 00 00 00 00 00 00];
  132. interrupts = <13 2 14 2 18 2>;
  133. interrupt-parent = <&mpic>;
  134. phy-handle = <&phy3>;
  135. };
  136. serial@4500 {
  137. device_type = "serial";
  138. compatible = "ns16550";
  139. reg = <4500 100>;
  140. clock-frequency = <0>;
  141. interrupts = <1a 2>;
  142. interrupt-parent = <&mpic>;
  143. };
  144. serial@4600 {
  145. device_type = "serial";
  146. compatible = "ns16550";
  147. reg = <4600 100>;
  148. clock-frequency = <0>;
  149. interrupts = <1a 2>;
  150. interrupt-parent = <&mpic>;
  151. };
  152. crypto@30000 {
  153. device_type = "crypto";
  154. model = "SEC2";
  155. compatible = "talitos";
  156. reg = <30000 f000>;
  157. interrupts = <1d 2>;
  158. interrupt-parent = <&mpic>;
  159. num-channels = <4>;
  160. channel-fifo-len = <18>;
  161. exec-units-mask = <000000fe>;
  162. descriptor-types-mask = <012b0ebf>;
  163. };
  164. mpic: pic@40000 {
  165. clock-frequency = <0>;
  166. interrupt-controller;
  167. #address-cells = <0>;
  168. #interrupt-cells = <2>;
  169. reg = <40000 40000>;
  170. built-in;
  171. compatible = "chrp,open-pic";
  172. device_type = "open-pic";
  173. big-endian;
  174. };
  175. par_io@e0100 {
  176. reg = <e0100 100>;
  177. device_type = "par_io";
  178. num-ports = <7>;
  179. pio1: ucc_pin@01 {
  180. pio-map = <
  181. /* port pin dir open_drain assignment has_irq */
  182. 4 0a 1 0 2 0 /* TxD0 */
  183. 4 09 1 0 2 0 /* TxD1 */
  184. 4 08 1 0 2 0 /* TxD2 */
  185. 4 07 1 0 2 0 /* TxD3 */
  186. 4 17 1 0 2 0 /* TxD4 */
  187. 4 16 1 0 2 0 /* TxD5 */
  188. 4 15 1 0 2 0 /* TxD6 */
  189. 4 14 1 0 2 0 /* TxD7 */
  190. 4 0f 2 0 2 0 /* RxD0 */
  191. 4 0e 2 0 2 0 /* RxD1 */
  192. 4 0d 2 0 2 0 /* RxD2 */
  193. 4 0c 2 0 2 0 /* RxD3 */
  194. 4 1d 2 0 2 0 /* RxD4 */
  195. 4 1c 2 0 2 0 /* RxD5 */
  196. 4 1b 2 0 2 0 /* RxD6 */
  197. 4 1a 2 0 2 0 /* RxD7 */
  198. 4 0b 1 0 2 0 /* TX_EN */
  199. 4 18 1 0 2 0 /* TX_ER */
  200. 4 0f 2 0 2 0 /* RX_DV */
  201. 4 1e 2 0 2 0 /* RX_ER */
  202. 4 11 2 0 2 0 /* RX_CLK */
  203. 4 13 1 0 2 0 /* GTX_CLK */
  204. 1 1f 2 0 3 0>; /* GTX125 */
  205. };
  206. pio2: ucc_pin@02 {
  207. pio-map = <
  208. /* port pin dir open_drain assignment has_irq */
  209. 5 0a 1 0 2 0 /* TxD0 */
  210. 5 09 1 0 2 0 /* TxD1 */
  211. 5 08 1 0 2 0 /* TxD2 */
  212. 5 07 1 0 2 0 /* TxD3 */
  213. 5 17 1 0 2 0 /* TxD4 */
  214. 5 16 1 0 2 0 /* TxD5 */
  215. 5 15 1 0 2 0 /* TxD6 */
  216. 5 14 1 0 2 0 /* TxD7 */
  217. 5 0f 2 0 2 0 /* RxD0 */
  218. 5 0e 2 0 2 0 /* RxD1 */
  219. 5 0d 2 0 2 0 /* RxD2 */
  220. 5 0c 2 0 2 0 /* RxD3 */
  221. 5 1d 2 0 2 0 /* RxD4 */
  222. 5 1c 2 0 2 0 /* RxD5 */
  223. 5 1b 2 0 2 0 /* RxD6 */
  224. 5 1a 2 0 2 0 /* RxD7 */
  225. 5 0b 1 0 2 0 /* TX_EN */
  226. 5 18 1 0 2 0 /* TX_ER */
  227. 5 10 2 0 2 0 /* RX_DV */
  228. 5 1e 2 0 2 0 /* RX_ER */
  229. 5 11 2 0 2 0 /* RX_CLK */
  230. 5 13 1 0 2 0 /* GTX_CLK */
  231. 1 1f 2 0 3 0 /* GTX125 */
  232. 4 06 3 0 2 0 /* MDIO */
  233. 4 05 1 0 2 0>; /* MDC */
  234. };
  235. };
  236. };
  237. qe@e0080000 {
  238. #address-cells = <1>;
  239. #size-cells = <1>;
  240. device_type = "qe";
  241. model = "QE";
  242. ranges = <0 e0080000 00040000>;
  243. reg = <e0080000 480>;
  244. brg-frequency = <0>;
  245. bus-frequency = <179A7B00>;
  246. muram@10000 {
  247. device_type = "muram";
  248. ranges = <0 00010000 0000c000>;
  249. data-only@0{
  250. reg = <0 c000>;
  251. };
  252. };
  253. spi@4c0 {
  254. device_type = "spi";
  255. compatible = "fsl_spi";
  256. reg = <4c0 40>;
  257. interrupts = <2>;
  258. interrupt-parent = <&qeic>;
  259. mode = "cpu";
  260. };
  261. spi@500 {
  262. device_type = "spi";
  263. compatible = "fsl_spi";
  264. reg = <500 40>;
  265. interrupts = <1>;
  266. interrupt-parent = <&qeic>;
  267. mode = "cpu";
  268. };
  269. ucc@2000 {
  270. device_type = "network";
  271. compatible = "ucc_geth";
  272. model = "UCC";
  273. device-id = <1>;
  274. reg = <2000 200>;
  275. interrupts = <20>;
  276. interrupt-parent = <&qeic>;
  277. mac-address = [ 00 04 9f 00 23 23 ];
  278. rx-clock = <0>;
  279. tx-clock = <19>;
  280. phy-handle = <&qe_phy0>;
  281. phy-connection-type = "gmii";
  282. pio-handle = <&pio1>;
  283. };
  284. ucc@3000 {
  285. device_type = "network";
  286. compatible = "ucc_geth";
  287. model = "UCC";
  288. device-id = <2>;
  289. reg = <3000 200>;
  290. interrupts = <21>;
  291. interrupt-parent = <&qeic>;
  292. mac-address = [ 00 11 22 33 44 55 ];
  293. rx-clock = <0>;
  294. tx-clock = <14>;
  295. phy-handle = <&qe_phy1>;
  296. phy-connection-type = "gmii";
  297. pio-handle = <&pio2>;
  298. };
  299. mdio@2120 {
  300. #address-cells = <1>;
  301. #size-cells = <0>;
  302. reg = <2120 18>;
  303. device_type = "mdio";
  304. compatible = "ucc_geth_phy";
  305. /* These are the same PHYs as on
  306. * gianfar's MDIO bus */
  307. qe_phy0: ethernet-phy@00 {
  308. interrupt-parent = <&mpic>;
  309. interrupts = <31 1>;
  310. reg = <0>;
  311. device_type = "ethernet-phy";
  312. };
  313. qe_phy1: ethernet-phy@01 {
  314. interrupt-parent = <&mpic>;
  315. interrupts = <32 1>;
  316. reg = <1>;
  317. device_type = "ethernet-phy";
  318. };
  319. qe_phy2: ethernet-phy@02 {
  320. interrupt-parent = <&mpic>;
  321. interrupts = <31 1>;
  322. reg = <2>;
  323. device_type = "ethernet-phy";
  324. };
  325. qe_phy3: ethernet-phy@03 {
  326. interrupt-parent = <&mpic>;
  327. interrupts = <32 1>;
  328. reg = <3>;
  329. device_type = "ethernet-phy";
  330. };
  331. };
  332. qeic: qeic@80 {
  333. interrupt-controller;
  334. device_type = "qeic";
  335. #address-cells = <0>;
  336. #interrupt-cells = <1>;
  337. reg = <80 80>;
  338. built-in;
  339. big-endian;
  340. interrupts = <1e 2 1e 2>; //high:30 low:30
  341. interrupt-parent = <&mpic>;
  342. };
  343. };
  344. };