mpc8568mds.dts 8.0 KB

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