mpc836x_mds.dts 8.1 KB

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