mpc836x_mds.dts 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  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. };
  33. };
  34. memory {
  35. device_type = "memory";
  36. reg = <00000000 10000000>;
  37. };
  38. bcsr@f8000000 {
  39. device_type = "board-control";
  40. reg = <f8000000 8000>;
  41. };
  42. soc8360@e0000000 {
  43. #address-cells = <1>;
  44. #size-cells = <1>;
  45. device_type = "soc";
  46. ranges = <0 e0000000 00100000>;
  47. reg = <e0000000 00000200>;
  48. bus-frequency = <FBC5200>;
  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. i2c@3100 {
  63. device_type = "i2c";
  64. compatible = "fsl-i2c";
  65. reg = <3100 100>;
  66. interrupts = <f 8>;
  67. interrupt-parent = < &ipic >;
  68. dfsrr;
  69. };
  70. serial@4500 {
  71. device_type = "serial";
  72. compatible = "ns16550";
  73. reg = <4500 100>;
  74. clock-frequency = <FBC5200>;
  75. interrupts = <9 8>;
  76. interrupt-parent = < &ipic >;
  77. };
  78. serial@4600 {
  79. device_type = "serial";
  80. compatible = "ns16550";
  81. reg = <4600 100>;
  82. clock-frequency = <FBC5200>;
  83. interrupts = <a 8>;
  84. interrupt-parent = < &ipic >;
  85. };
  86. crypto@30000 {
  87. device_type = "crypto";
  88. model = "SEC2";
  89. compatible = "talitos";
  90. reg = <30000 10000>;
  91. interrupts = <b 8>;
  92. interrupt-parent = < &ipic >;
  93. num-channels = <4>;
  94. channel-fifo-len = <18>;
  95. exec-units-mask = <0000007e>;
  96. /* desc mask is for rev1.x, we need runtime fixup for >=2.x */
  97. descriptor-types-mask = <01010ebf>;
  98. };
  99. pci@8500 {
  100. interrupt-map-mask = <f800 0 0 7>;
  101. interrupt-map = <
  102. /* IDSEL 0x11 AD17 */
  103. 8800 0 0 1 &ipic 14 8
  104. 8800 0 0 2 &ipic 15 8
  105. 8800 0 0 3 &ipic 16 8
  106. 8800 0 0 4 &ipic 17 8
  107. /* IDSEL 0x12 AD18 */
  108. 9000 0 0 1 &ipic 16 8
  109. 9000 0 0 2 &ipic 17 8
  110. 9000 0 0 3 &ipic 14 8
  111. 9000 0 0 4 &ipic 15 8
  112. /* IDSEL 0x13 AD19 */
  113. 9800 0 0 1 &ipic 17 8
  114. 9800 0 0 2 &ipic 14 8
  115. 9800 0 0 3 &ipic 15 8
  116. 9800 0 0 4 &ipic 16 8
  117. /* IDSEL 0x15 AD21*/
  118. a800 0 0 1 &ipic 14 8
  119. a800 0 0 2 &ipic 15 8
  120. a800 0 0 3 &ipic 16 8
  121. a800 0 0 4 &ipic 17 8
  122. /* IDSEL 0x16 AD22*/
  123. b000 0 0 1 &ipic 17 8
  124. b000 0 0 2 &ipic 14 8
  125. b000 0 0 3 &ipic 15 8
  126. b000 0 0 4 &ipic 16 8
  127. /* IDSEL 0x17 AD23*/
  128. b800 0 0 1 &ipic 16 8
  129. b800 0 0 2 &ipic 17 8
  130. b800 0 0 3 &ipic 14 8
  131. b800 0 0 4 &ipic 15 8
  132. /* IDSEL 0x18 AD24*/
  133. c000 0 0 1 &ipic 15 8
  134. c000 0 0 2 &ipic 16 8
  135. c000 0 0 3 &ipic 17 8
  136. c000 0 0 4 &ipic 14 8>;
  137. interrupt-parent = < &ipic >;
  138. interrupts = <42 8>;
  139. bus-range = <0 0>;
  140. ranges = <02000000 0 a0000000 a0000000 0 10000000
  141. 42000000 0 80000000 80000000 0 10000000
  142. 01000000 0 00000000 e2000000 0 00100000>;
  143. clock-frequency = <3f940aa>;
  144. #interrupt-cells = <1>;
  145. #size-cells = <2>;
  146. #address-cells = <3>;
  147. reg = <8500 100>;
  148. compatible = "fsl,mpc8349-pci";
  149. device_type = "pci";
  150. };
  151. ipic: pic@700 {
  152. interrupt-controller;
  153. #address-cells = <0>;
  154. #interrupt-cells = <2>;
  155. reg = <700 100>;
  156. device_type = "ipic";
  157. };
  158. par_io@1400 {
  159. reg = <1400 100>;
  160. device_type = "par_io";
  161. num-ports = <7>;
  162. pio1: ucc_pin@01 {
  163. pio-map = <
  164. /* port pin dir open_drain assignment has_irq */
  165. 0 3 1 0 1 0 /* TxD0 */
  166. 0 4 1 0 1 0 /* TxD1 */
  167. 0 5 1 0 1 0 /* TxD2 */
  168. 0 6 1 0 1 0 /* TxD3 */
  169. 1 6 1 0 3 0 /* TxD4 */
  170. 1 7 1 0 1 0 /* TxD5 */
  171. 1 9 1 0 2 0 /* TxD6 */
  172. 1 a 1 0 2 0 /* TxD7 */
  173. 0 9 2 0 1 0 /* RxD0 */
  174. 0 a 2 0 1 0 /* RxD1 */
  175. 0 b 2 0 1 0 /* RxD2 */
  176. 0 c 2 0 1 0 /* RxD3 */
  177. 0 d 2 0 1 0 /* RxD4 */
  178. 1 1 2 0 2 0 /* RxD5 */
  179. 1 0 2 0 2 0 /* RxD6 */
  180. 1 4 2 0 2 0 /* RxD7 */
  181. 0 7 1 0 1 0 /* TX_EN */
  182. 0 8 1 0 1 0 /* TX_ER */
  183. 0 f 2 0 1 0 /* RX_DV */
  184. 0 10 2 0 1 0 /* RX_ER */
  185. 0 0 2 0 1 0 /* RX_CLK */
  186. 2 9 1 0 3 0 /* GTX_CLK - CLK10 */
  187. 2 8 2 0 1 0>; /* GTX125 - CLK9 */
  188. };
  189. pio2: ucc_pin@02 {
  190. pio-map = <
  191. /* port pin dir open_drain assignment has_irq */
  192. 0 11 1 0 1 0 /* TxD0 */
  193. 0 12 1 0 1 0 /* TxD1 */
  194. 0 13 1 0 1 0 /* TxD2 */
  195. 0 14 1 0 1 0 /* TxD3 */
  196. 1 2 1 0 1 0 /* TxD4 */
  197. 1 3 1 0 2 0 /* TxD5 */
  198. 1 5 1 0 3 0 /* TxD6 */
  199. 1 8 1 0 3 0 /* TxD7 */
  200. 0 17 2 0 1 0 /* RxD0 */
  201. 0 18 2 0 1 0 /* RxD1 */
  202. 0 19 2 0 1 0 /* RxD2 */
  203. 0 1a 2 0 1 0 /* RxD3 */
  204. 0 1b 2 0 1 0 /* RxD4 */
  205. 1 c 2 0 2 0 /* RxD5 */
  206. 1 d 2 0 3 0 /* RxD6 */
  207. 1 b 2 0 2 0 /* RxD7 */
  208. 0 15 1 0 1 0 /* TX_EN */
  209. 0 16 1 0 1 0 /* TX_ER */
  210. 0 1d 2 0 1 0 /* RX_DV */
  211. 0 1e 2 0 1 0 /* RX_ER */
  212. 0 1f 2 0 1 0 /* RX_CLK */
  213. 2 2 1 0 2 0 /* GTX_CLK - CLK10 */
  214. 2 3 2 0 1 0 /* GTX125 - CLK4 */
  215. 0 1 3 0 2 0 /* MDIO */
  216. 0 2 1 0 1 0>; /* MDC */
  217. };
  218. };
  219. };
  220. qe@e0100000 {
  221. #address-cells = <1>;
  222. #size-cells = <1>;
  223. device_type = "qe";
  224. model = "QE";
  225. ranges = <0 e0100000 00100000>;
  226. reg = <e0100000 480>;
  227. brg-frequency = <0>;
  228. bus-frequency = <179A7B00>;
  229. muram@10000 {
  230. device_type = "muram";
  231. ranges = <0 00010000 0000c000>;
  232. data-only@0{
  233. reg = <0 c000>;
  234. };
  235. };
  236. spi@4c0 {
  237. device_type = "spi";
  238. compatible = "fsl_spi";
  239. reg = <4c0 40>;
  240. interrupts = <2>;
  241. interrupt-parent = < &qeic >;
  242. mode = "cpu";
  243. };
  244. spi@500 {
  245. device_type = "spi";
  246. compatible = "fsl_spi";
  247. reg = <500 40>;
  248. interrupts = <1>;
  249. interrupt-parent = < &qeic >;
  250. mode = "cpu";
  251. };
  252. usb@6c0 {
  253. device_type = "usb";
  254. compatible = "qe_udc";
  255. reg = <6c0 40 8B00 100>;
  256. interrupts = <b>;
  257. interrupt-parent = < &qeic >;
  258. mode = "slave";
  259. };
  260. ucc@2000 {
  261. device_type = "network";
  262. compatible = "ucc_geth";
  263. model = "UCC";
  264. device-id = <1>;
  265. reg = <2000 200>;
  266. interrupts = <20>;
  267. interrupt-parent = < &qeic >;
  268. /*
  269. * mac-address is deprecated and will be removed
  270. * in 2.6.25. Only recent versions of
  271. * U-Boot support local-mac-address, however.
  272. */
  273. mac-address = [ 00 00 00 00 00 00 ];
  274. local-mac-address = [ 00 00 00 00 00 00 ];
  275. rx-clock = <0>;
  276. tx-clock = <19>;
  277. phy-handle = < &phy0 >;
  278. phy-connection-type = "rgmii-id";
  279. pio-handle = < &pio1 >;
  280. };
  281. ucc@3000 {
  282. device_type = "network";
  283. compatible = "ucc_geth";
  284. model = "UCC";
  285. device-id = <2>;
  286. reg = <3000 200>;
  287. interrupts = <21>;
  288. interrupt-parent = < &qeic >;
  289. /*
  290. * mac-address is deprecated and will be removed
  291. * in 2.6.25. Only recent versions of
  292. * U-Boot support local-mac-address, however.
  293. */
  294. mac-address = [ 00 00 00 00 00 00 ];
  295. local-mac-address = [ 00 00 00 00 00 00 ];
  296. rx-clock = <0>;
  297. tx-clock = <14>;
  298. phy-handle = < &phy1 >;
  299. phy-connection-type = "rgmii-id";
  300. pio-handle = < &pio2 >;
  301. };
  302. mdio@2120 {
  303. #address-cells = <1>;
  304. #size-cells = <0>;
  305. reg = <2120 18>;
  306. device_type = "mdio";
  307. compatible = "ucc_geth_phy";
  308. phy0: ethernet-phy@00 {
  309. interrupt-parent = < &ipic >;
  310. interrupts = <11 8>;
  311. reg = <0>;
  312. device_type = "ethernet-phy";
  313. };
  314. phy1: ethernet-phy@01 {
  315. interrupt-parent = < &ipic >;
  316. interrupts = <12 8>;
  317. reg = <1>;
  318. device_type = "ethernet-phy";
  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. big-endian;
  328. interrupts = <20 8 21 8>; //high:32 low:33
  329. interrupt-parent = < &ipic >;
  330. };
  331. };
  332. };