mpc8568mds.dts 7.9 KB

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