mpc832x_mds.dts 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. /*
  2. * MPC8323E 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. model = "MPC8323EMDS";
  13. compatible = "MPC8323EMDS", "MPC832xMDS", "MPC83xxMDS";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. cpus {
  17. #cpus = <1>;
  18. #address-cells = <1>;
  19. #size-cells = <0>;
  20. PowerPC,8323@0 {
  21. device_type = "cpu";
  22. reg = <0>;
  23. d-cache-line-size = <20>; // 32 bytes
  24. i-cache-line-size = <20>; // 32 bytes
  25. d-cache-size = <4000>; // L1, 16K
  26. i-cache-size = <4000>; // L1, 16K
  27. timebase-frequency = <0>;
  28. bus-frequency = <0>;
  29. clock-frequency = <0>;
  30. 32-bit;
  31. };
  32. };
  33. memory {
  34. device_type = "memory";
  35. reg = <00000000 08000000>;
  36. };
  37. bcsr@f8000000 {
  38. device_type = "board-control";
  39. reg = <f8000000 8000>;
  40. };
  41. soc8323@e0000000 {
  42. #address-cells = <1>;
  43. #size-cells = <1>;
  44. #interrupt-cells = <2>;
  45. device_type = "soc";
  46. ranges = <0 e0000000 00100000>;
  47. reg = <e0000000 00000200>;
  48. bus-frequency = <7DE2900>;
  49. wdt@200 {
  50. device_type = "watchdog";
  51. compatible = "mpc83xx_wdt";
  52. reg = <200 100>;
  53. };
  54. i2c@3000 {
  55. device_type = "i2c";
  56. compatible = "fsl-i2c";
  57. reg = <3000 100>;
  58. interrupts = <e 8>;
  59. interrupt-parent = < &ipic >;
  60. dfsrr;
  61. };
  62. serial@4500 {
  63. device_type = "serial";
  64. compatible = "ns16550";
  65. reg = <4500 100>;
  66. clock-frequency = <0>;
  67. interrupts = <9 8>;
  68. interrupt-parent = < &ipic >;
  69. };
  70. serial@4600 {
  71. device_type = "serial";
  72. compatible = "ns16550";
  73. reg = <4600 100>;
  74. clock-frequency = <0>;
  75. interrupts = <a 8>;
  76. interrupt-parent = < &ipic >;
  77. };
  78. crypto@30000 {
  79. device_type = "crypto";
  80. model = "SEC2";
  81. compatible = "talitos";
  82. reg = <30000 7000>;
  83. interrupts = <b 8>;
  84. interrupt-parent = < &ipic >;
  85. /* Rev. 2.2 */
  86. num-channels = <1>;
  87. channel-fifo-len = <18>;
  88. exec-units-mask = <0000004c>;
  89. descriptor-types-mask = <0122003f>;
  90. };
  91. pci@8500 {
  92. interrupt-map-mask = <f800 0 0 7>;
  93. interrupt-map = <
  94. /* IDSEL 0x11 AD17 */
  95. 8800 0 0 1 &ipic 14 8
  96. 8800 0 0 2 &ipic 15 8
  97. 8800 0 0 3 &ipic 16 8
  98. 8800 0 0 4 &ipic 17 8
  99. /* IDSEL 0x12 AD18 */
  100. 9000 0 0 1 &ipic 16 8
  101. 9000 0 0 2 &ipic 17 8
  102. 9000 0 0 3 &ipic 14 8
  103. 9000 0 0 4 &ipic 15 8
  104. /* IDSEL 0x13 AD19 */
  105. 9800 0 0 1 &ipic 17 8
  106. 9800 0 0 2 &ipic 14 8
  107. 9800 0 0 3 &ipic 15 8
  108. 9800 0 0 4 &ipic 16 8
  109. /* IDSEL 0x15 AD21*/
  110. a800 0 0 1 &ipic 14 8
  111. a800 0 0 2 &ipic 15 8
  112. a800 0 0 3 &ipic 16 8
  113. a800 0 0 4 &ipic 17 8
  114. /* IDSEL 0x16 AD22*/
  115. b000 0 0 1 &ipic 17 8
  116. b000 0 0 2 &ipic 14 8
  117. b000 0 0 3 &ipic 15 8
  118. b000 0 0 4 &ipic 16 8
  119. /* IDSEL 0x17 AD23*/
  120. b800 0 0 1 &ipic 16 8
  121. b800 0 0 2 &ipic 17 8
  122. b800 0 0 3 &ipic 14 8
  123. b800 0 0 4 &ipic 15 8
  124. /* IDSEL 0x18 AD24*/
  125. c000 0 0 1 &ipic 15 8
  126. c000 0 0 2 &ipic 16 8
  127. c000 0 0 3 &ipic 17 8
  128. c000 0 0 4 &ipic 14 8>;
  129. interrupt-parent = < &ipic >;
  130. interrupts = <42 8>;
  131. bus-range = <0 0>;
  132. ranges = <02000000 0 a0000000 90000000 0 10000000
  133. 42000000 0 80000000 80000000 0 10000000
  134. 01000000 0 00000000 d0000000 0 00100000>;
  135. clock-frequency = <0>;
  136. #interrupt-cells = <1>;
  137. #size-cells = <2>;
  138. #address-cells = <3>;
  139. reg = <8500 100>;
  140. compatible = "83xx";
  141. device_type = "pci";
  142. };
  143. ipic: pic@700 {
  144. interrupt-controller;
  145. #address-cells = <0>;
  146. #interrupt-cells = <2>;
  147. reg = <700 100>;
  148. built-in;
  149. device_type = "ipic";
  150. };
  151. par_io@1400 {
  152. reg = <1400 100>;
  153. device_type = "par_io";
  154. num-ports = <7>;
  155. pio3: ucc_pin@03 {
  156. pio-map = <
  157. /* port pin dir open_drain assignment has_irq */
  158. 3 4 3 0 2 0 /* MDIO */
  159. 3 5 1 0 2 0 /* MDC */
  160. 0 d 2 0 1 0 /* RX_CLK (CLK9) */
  161. 3 18 2 0 1 0 /* TX_CLK (CLK10) */
  162. 1 1 1 0 1 0 /* TxD1 */
  163. 1 0 1 0 1 0 /* TxD0 */
  164. 1 1 1 0 1 0 /* TxD1 */
  165. 1 2 1 0 1 0 /* TxD2 */
  166. 1 3 1 0 1 0 /* TxD3 */
  167. 1 4 2 0 1 0 /* RxD0 */
  168. 1 5 2 0 1 0 /* RxD1 */
  169. 1 6 2 0 1 0 /* RxD2 */
  170. 1 7 2 0 1 0 /* RxD3 */
  171. 1 8 2 0 1 0 /* RX_ER */
  172. 1 9 1 0 1 0 /* TX_ER */
  173. 1 a 2 0 1 0 /* RX_DV */
  174. 1 b 2 0 1 0 /* COL */
  175. 1 c 1 0 1 0 /* TX_EN */
  176. 1 d 2 0 1 0>;/* CRS */
  177. };
  178. pio4: ucc_pin@04 {
  179. pio-map = <
  180. /* port pin dir open_drain assignment has_irq */
  181. 3 1f 2 0 1 0 /* RX_CLK (CLK7) */
  182. 3 6 2 0 1 0 /* TX_CLK (CLK8) */
  183. 1 12 1 0 1 0 /* TxD0 */
  184. 1 13 1 0 1 0 /* TxD1 */
  185. 1 14 1 0 1 0 /* TxD2 */
  186. 1 15 1 0 1 0 /* TxD3 */
  187. 1 16 2 0 1 0 /* RxD0 */
  188. 1 17 2 0 1 0 /* RxD1 */
  189. 1 18 2 0 1 0 /* RxD2 */
  190. 1 19 2 0 1 0 /* RxD3 */
  191. 1 1a 2 0 1 0 /* RX_ER */
  192. 1 1b 1 0 1 0 /* TX_ER */
  193. 1 1c 2 0 1 0 /* RX_DV */
  194. 1 1d 2 0 1 0 /* COL */
  195. 1 1e 1 0 1 0 /* TX_EN */
  196. 1 1f 2 0 1 0>;/* CRS */
  197. };
  198. };
  199. };
  200. qe@e0100000 {
  201. #address-cells = <1>;
  202. #size-cells = <1>;
  203. device_type = "qe";
  204. model = "QE";
  205. ranges = <0 e0100000 00100000>;
  206. reg = <e0100000 480>;
  207. brg-frequency = <0>;
  208. bus-frequency = <BCD3D80>;
  209. muram@10000 {
  210. device_type = "muram";
  211. ranges = <0 00010000 00004000>;
  212. data-only@0 {
  213. reg = <0 4000>;
  214. };
  215. };
  216. spi@4c0 {
  217. device_type = "spi";
  218. compatible = "fsl_spi";
  219. reg = <4c0 40>;
  220. interrupts = <2>;
  221. interrupt-parent = < &qeic >;
  222. mode = "cpu";
  223. };
  224. spi@500 {
  225. device_type = "spi";
  226. compatible = "fsl_spi";
  227. reg = <500 40>;
  228. interrupts = <1>;
  229. interrupt-parent = < &qeic >;
  230. mode = "cpu";
  231. };
  232. usb@6c0 {
  233. device_type = "usb";
  234. compatible = "qe_udc";
  235. reg = <6c0 40 8B00 100>;
  236. interrupts = <b>;
  237. interrupt-parent = < &qeic >;
  238. mode = "slave";
  239. };
  240. ucc@2200 {
  241. device_type = "network";
  242. compatible = "ucc_geth";
  243. model = "UCC";
  244. device-id = <3>;
  245. reg = <2200 200>;
  246. interrupts = <22>;
  247. interrupt-parent = < &qeic >;
  248. mac-address = [ 00 04 9f 00 23 23 ];
  249. rx-clock = <19>;
  250. tx-clock = <1a>;
  251. phy-handle = < &phy3 >;
  252. pio-handle = < &pio3 >;
  253. };
  254. ucc@3200 {
  255. device_type = "network";
  256. compatible = "ucc_geth";
  257. model = "UCC";
  258. device-id = <4>;
  259. reg = <3000 200>;
  260. interrupts = <23>;
  261. interrupt-parent = < &qeic >;
  262. mac-address = [ 00 11 22 33 44 55 ];
  263. rx-clock = <17>;
  264. tx-clock = <18>;
  265. phy-handle = < &phy4 >;
  266. pio-handle = < &pio4 >;
  267. };
  268. mdio@2320 {
  269. #address-cells = <1>;
  270. #size-cells = <0>;
  271. reg = <2320 18>;
  272. device_type = "mdio";
  273. compatible = "ucc_geth_phy";
  274. phy3: ethernet-phy@03 {
  275. interrupt-parent = < &ipic >;
  276. interrupts = <11 8>;
  277. reg = <3>;
  278. device_type = "ethernet-phy";
  279. interface = <3>; //ENET_100_MII
  280. };
  281. phy4: ethernet-phy@04 {
  282. interrupt-parent = < &ipic >;
  283. interrupts = <12 8>;
  284. reg = <4>;
  285. device_type = "ethernet-phy";
  286. interface = <3>;
  287. };
  288. };
  289. qeic: qeic@80 {
  290. interrupt-controller;
  291. device_type = "qeic";
  292. #address-cells = <0>;
  293. #interrupt-cells = <1>;
  294. reg = <80 80>;
  295. built-in;
  296. big-endian;
  297. interrupts = <20 8 21 8>; //high:32 low:33
  298. interrupt-parent = < &ipic >;
  299. };
  300. };
  301. };