mpc836x_mds.dts 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. /*
  2. * MPC8360E EMDS Device Tree Source
  3. *
  4. * Copyright 2006 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 = "MPC8360MDS";
  16. compatible = "MPC8360EMDS", "MPC836xMDS", "MPC83xxMDS";
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. cpus {
  20. #cpus = <1>;
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. PowerPC,8360@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 = <3EF1480>;
  31. bus-frequency = <FBC5200>;
  32. clock-frequency = <1F78A400>;
  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. soc8360@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 00000200>;
  51. bus-frequency = <FBC5200>;
  52. wdt@200 {
  53. device_type = "watchdog";
  54. compatible = "mpc83xx_wdt";
  55. reg = <200 100>;
  56. };
  57. i2c@3000 {
  58. device_type = "i2c";
  59. compatible = "fsl-i2c";
  60. reg = <3000 100>;
  61. interrupts = <e 8>;
  62. interrupt-parent = < &ipic >;
  63. dfsrr;
  64. };
  65. i2c@3100 {
  66. device_type = "i2c";
  67. compatible = "fsl-i2c";
  68. reg = <3100 100>;
  69. interrupts = <f 8>;
  70. interrupt-parent = < &ipic >;
  71. dfsrr;
  72. };
  73. serial@4500 {
  74. device_type = "serial";
  75. compatible = "ns16550";
  76. reg = <4500 100>;
  77. clock-frequency = <FBC5200>;
  78. interrupts = <9 8>;
  79. interrupt-parent = < &ipic >;
  80. };
  81. serial@4600 {
  82. device_type = "serial";
  83. compatible = "ns16550";
  84. reg = <4600 100>;
  85. clock-frequency = <FBC5200>;
  86. interrupts = <a 8>;
  87. interrupt-parent = < &ipic >;
  88. };
  89. crypto@30000 {
  90. device_type = "crypto";
  91. model = "SEC2";
  92. compatible = "talitos";
  93. reg = <30000 10000>;
  94. interrupts = <b 8>;
  95. interrupt-parent = < &ipic >;
  96. num-channels = <4>;
  97. channel-fifo-len = <18>;
  98. exec-units-mask = <0000007e>;
  99. /* desc mask is for rev1.x, we need runtime fixup for >=2.x */
  100. descriptor-types-mask = <01010ebf>;
  101. };
  102. pci@8500 {
  103. interrupt-map-mask = <f800 0 0 7>;
  104. interrupt-map = <
  105. /* IDSEL 0x11 AD17 */
  106. 8800 0 0 1 &ipic 14 8
  107. 8800 0 0 2 &ipic 15 8
  108. 8800 0 0 3 &ipic 16 8
  109. 8800 0 0 4 &ipic 17 8
  110. /* IDSEL 0x12 AD18 */
  111. 9000 0 0 1 &ipic 16 8
  112. 9000 0 0 2 &ipic 17 8
  113. 9000 0 0 3 &ipic 14 8
  114. 9000 0 0 4 &ipic 15 8
  115. /* IDSEL 0x13 AD19 */
  116. 9800 0 0 1 &ipic 17 8
  117. 9800 0 0 2 &ipic 14 8
  118. 9800 0 0 3 &ipic 15 8
  119. 9800 0 0 4 &ipic 16 8
  120. /* IDSEL 0x15 AD21*/
  121. a800 0 0 1 &ipic 14 8
  122. a800 0 0 2 &ipic 15 8
  123. a800 0 0 3 &ipic 16 8
  124. a800 0 0 4 &ipic 17 8
  125. /* IDSEL 0x16 AD22*/
  126. b000 0 0 1 &ipic 17 8
  127. b000 0 0 2 &ipic 14 8
  128. b000 0 0 3 &ipic 15 8
  129. b000 0 0 4 &ipic 16 8
  130. /* IDSEL 0x17 AD23*/
  131. b800 0 0 1 &ipic 16 8
  132. b800 0 0 2 &ipic 17 8
  133. b800 0 0 3 &ipic 14 8
  134. b800 0 0 4 &ipic 15 8
  135. /* IDSEL 0x18 AD24*/
  136. c000 0 0 1 &ipic 15 8
  137. c000 0 0 2 &ipic 16 8
  138. c000 0 0 3 &ipic 17 8
  139. c000 0 0 4 &ipic 14 8>;
  140. interrupt-parent = < &ipic >;
  141. interrupts = <42 8>;
  142. bus-range = <0 0>;
  143. ranges = <02000000 0 a0000000 a0000000 0 10000000
  144. 42000000 0 80000000 80000000 0 10000000
  145. 01000000 0 00000000 e2000000 0 00100000>;
  146. clock-frequency = <3f940aa>;
  147. #interrupt-cells = <1>;
  148. #size-cells = <2>;
  149. #address-cells = <3>;
  150. reg = <8500 100>;
  151. compatible = "83xx";
  152. device_type = "pci";
  153. };
  154. ipic: pic@700 {
  155. interrupt-controller;
  156. #address-cells = <0>;
  157. #interrupt-cells = <2>;
  158. reg = <700 100>;
  159. built-in;
  160. device_type = "ipic";
  161. };
  162. par_io@1400 {
  163. reg = <1400 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. 0 3 1 0 1 0 /* TxD0 */
  170. 0 4 1 0 1 0 /* TxD1 */
  171. 0 5 1 0 1 0 /* TxD2 */
  172. 0 6 1 0 1 0 /* TxD3 */
  173. 1 6 1 0 3 0 /* TxD4 */
  174. 1 7 1 0 1 0 /* TxD5 */
  175. 1 9 1 0 2 0 /* TxD6 */
  176. 1 a 1 0 2 0 /* TxD7 */
  177. 0 9 2 0 1 0 /* RxD0 */
  178. 0 a 2 0 1 0 /* RxD1 */
  179. 0 b 2 0 1 0 /* RxD2 */
  180. 0 c 2 0 1 0 /* RxD3 */
  181. 0 d 2 0 1 0 /* RxD4 */
  182. 1 1 2 0 2 0 /* RxD5 */
  183. 1 0 2 0 2 0 /* RxD6 */
  184. 1 4 2 0 2 0 /* RxD7 */
  185. 0 7 1 0 1 0 /* TX_EN */
  186. 0 8 1 0 1 0 /* TX_ER */
  187. 0 f 2 0 1 0 /* RX_DV */
  188. 0 10 2 0 1 0 /* RX_ER */
  189. 0 0 2 0 1 0 /* RX_CLK */
  190. 2 9 1 0 3 0 /* GTX_CLK - CLK10 */
  191. 2 8 2 0 1 0>; /* GTX125 - CLK9 */
  192. };
  193. pio2: ucc_pin@02 {
  194. pio-map = <
  195. /* port pin dir open_drain assignment has_irq */
  196. 0 11 1 0 1 0 /* TxD0 */
  197. 0 12 1 0 1 0 /* TxD1 */
  198. 0 13 1 0 1 0 /* TxD2 */
  199. 0 14 1 0 1 0 /* TxD3 */
  200. 1 2 1 0 1 0 /* TxD4 */
  201. 1 3 1 0 2 0 /* TxD5 */
  202. 1 5 1 0 3 0 /* TxD6 */
  203. 1 8 1 0 3 0 /* TxD7 */
  204. 0 17 2 0 1 0 /* RxD0 */
  205. 0 18 2 0 1 0 /* RxD1 */
  206. 0 19 2 0 1 0 /* RxD2 */
  207. 0 1a 2 0 1 0 /* RxD3 */
  208. 0 1b 2 0 1 0 /* RxD4 */
  209. 1 c 2 0 2 0 /* RxD5 */
  210. 1 d 2 0 3 0 /* RxD6 */
  211. 1 b 2 0 2 0 /* RxD7 */
  212. 0 15 1 0 1 0 /* TX_EN */
  213. 0 16 1 0 1 0 /* TX_ER */
  214. 0 1d 2 0 1 0 /* RX_DV */
  215. 0 1e 2 0 1 0 /* RX_ER */
  216. 0 1f 2 0 1 0 /* RX_CLK */
  217. 2 2 1 0 2 0 /* GTX_CLK - CLK10 */
  218. 2 3 2 0 1 0 /* GTX125 - CLK4 */
  219. 0 1 3 0 2 0 /* MDIO */
  220. 0 2 1 0 1 0>; /* MDC */
  221. };
  222. };
  223. };
  224. qe@e0100000 {
  225. #address-cells = <1>;
  226. #size-cells = <1>;
  227. device_type = "qe";
  228. model = "QE";
  229. ranges = <0 e0100000 00100000>;
  230. reg = <e0100000 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. usb@6c0 {
  257. device_type = "usb";
  258. compatible = "qe_udc";
  259. reg = <6c0 40 8B00 100>;
  260. interrupts = <b>;
  261. interrupt-parent = < &qeic >;
  262. mode = "slave";
  263. };
  264. ucc@2000 {
  265. device_type = "network";
  266. compatible = "ucc_geth";
  267. model = "UCC";
  268. device-id = <1>;
  269. reg = <2000 200>;
  270. interrupts = <20>;
  271. interrupt-parent = < &qeic >;
  272. mac-address = [ 00 04 9f 00 23 23 ];
  273. rx-clock = <0>;
  274. tx-clock = <19>;
  275. phy-handle = < &phy0 >;
  276. pio-handle = < &pio1 >;
  277. };
  278. ucc@3000 {
  279. device_type = "network";
  280. compatible = "ucc_geth";
  281. model = "UCC";
  282. device-id = <2>;
  283. reg = <3000 200>;
  284. interrupts = <21>;
  285. interrupt-parent = < &qeic >;
  286. mac-address = [ 00 11 22 33 44 55 ];
  287. rx-clock = <0>;
  288. tx-clock = <14>;
  289. phy-handle = < &phy1 >;
  290. pio-handle = < &pio2 >;
  291. };
  292. mdio@2120 {
  293. #address-cells = <1>;
  294. #size-cells = <0>;
  295. reg = <2120 18>;
  296. device_type = "mdio";
  297. compatible = "ucc_geth_phy";
  298. phy0: ethernet-phy@00 {
  299. interrupt-parent = < &ipic >;
  300. interrupts = <11 8>;
  301. reg = <0>;
  302. device_type = "ethernet-phy";
  303. interface = <6>; //ENET_1000_GMII
  304. };
  305. phy1: ethernet-phy@01 {
  306. interrupt-parent = < &ipic >;
  307. interrupts = <12 8>;
  308. reg = <1>;
  309. device_type = "ethernet-phy";
  310. interface = <6>;
  311. };
  312. };
  313. qeic: qeic@80 {
  314. interrupt-controller;
  315. device_type = "qeic";
  316. #address-cells = <0>;
  317. #interrupt-cells = <1>;
  318. reg = <80 80>;
  319. built-in;
  320. big-endian;
  321. interrupts = <20 8 21 8>; //high:32 low:33
  322. interrupt-parent = < &ipic >;
  323. };
  324. };
  325. };