mpc832x_mds.dts 7.5 KB

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