mpc834x_mds.dts 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. /*
  2. * MPC8349E MDS Device Tree Source
  3. *
  4. * Copyright 2005, 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 = "MPC8349EMDS";
  13. compatible = "MPC8349EMDS", "MPC834xMDS", "MPC83xxMDS";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. cpus {
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. PowerPC,8349@0 {
  20. device_type = "cpu";
  21. reg = <0>;
  22. d-cache-line-size = <20>; // 32 bytes
  23. i-cache-line-size = <20>; // 32 bytes
  24. d-cache-size = <8000>; // L1, 32K
  25. i-cache-size = <8000>; // L1, 32K
  26. timebase-frequency = <0>; // from bootloader
  27. bus-frequency = <0>; // from bootloader
  28. clock-frequency = <0>; // from bootloader
  29. };
  30. };
  31. memory {
  32. device_type = "memory";
  33. reg = <00000000 10000000>; // 256MB at 0
  34. };
  35. bcsr@e2400000 {
  36. device_type = "board-control";
  37. reg = <e2400000 8000>;
  38. };
  39. soc8349@e0000000 {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. device_type = "soc";
  43. ranges = <0 e0000000 00100000>;
  44. reg = <e0000000 00000200>;
  45. bus-frequency = <0>;
  46. wdt@200 {
  47. device_type = "watchdog";
  48. compatible = "mpc83xx_wdt";
  49. reg = <200 100>;
  50. };
  51. i2c@3000 {
  52. device_type = "i2c";
  53. compatible = "fsl-i2c";
  54. reg = <3000 100>;
  55. interrupts = <e 8>;
  56. interrupt-parent = < &ipic >;
  57. dfsrr;
  58. };
  59. i2c@3100 {
  60. device_type = "i2c";
  61. compatible = "fsl-i2c";
  62. reg = <3100 100>;
  63. interrupts = <f 8>;
  64. interrupt-parent = < &ipic >;
  65. dfsrr;
  66. };
  67. spi@7000 {
  68. device_type = "spi";
  69. compatible = "fsl_spi";
  70. reg = <7000 1000>;
  71. interrupts = <10 8>;
  72. interrupt-parent = < &ipic >;
  73. mode = "cpu";
  74. };
  75. /* phy type (ULPI or SERIAL) are only types supportted for MPH */
  76. /* port = 0 or 1 */
  77. usb@22000 {
  78. device_type = "usb";
  79. compatible = "fsl-usb2-mph";
  80. reg = <22000 1000>;
  81. #address-cells = <1>;
  82. #size-cells = <0>;
  83. interrupt-parent = < &ipic >;
  84. interrupts = <27 8>;
  85. phy_type = "ulpi";
  86. port1;
  87. };
  88. /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */
  89. usb@23000 {
  90. device_type = "usb";
  91. compatible = "fsl-usb2-dr";
  92. reg = <23000 1000>;
  93. #address-cells = <1>;
  94. #size-cells = <0>;
  95. interrupt-parent = < &ipic >;
  96. interrupts = <26 8>;
  97. dr_mode = "otg";
  98. phy_type = "ulpi";
  99. };
  100. mdio@24520 {
  101. device_type = "mdio";
  102. compatible = "gianfar";
  103. reg = <24520 20>;
  104. #address-cells = <1>;
  105. #size-cells = <0>;
  106. phy0: ethernet-phy@0 {
  107. interrupt-parent = < &ipic >;
  108. interrupts = <11 8>;
  109. reg = <0>;
  110. device_type = "ethernet-phy";
  111. };
  112. phy1: ethernet-phy@1 {
  113. interrupt-parent = < &ipic >;
  114. interrupts = <12 8>;
  115. reg = <1>;
  116. device_type = "ethernet-phy";
  117. };
  118. };
  119. ethernet@24000 {
  120. device_type = "network";
  121. model = "TSEC";
  122. compatible = "gianfar";
  123. reg = <24000 1000>;
  124. /*
  125. * address is deprecated and will be removed
  126. * in 2.6.25. Only recent versions of
  127. * U-Boot support local-mac-address, however.
  128. */
  129. address = [ 00 00 00 00 00 00 ];
  130. local-mac-address = [ 00 00 00 00 00 00 ];
  131. interrupts = <20 8 21 8 22 8>;
  132. interrupt-parent = < &ipic >;
  133. phy-handle = < &phy0 >;
  134. linux,network-index = <0>;
  135. };
  136. ethernet@25000 {
  137. #address-cells = <1>;
  138. #size-cells = <0>;
  139. device_type = "network";
  140. model = "TSEC";
  141. compatible = "gianfar";
  142. reg = <25000 1000>;
  143. /*
  144. * address is deprecated and will be removed
  145. * in 2.6.25. Only recent versions of
  146. * U-Boot support local-mac-address, however.
  147. */
  148. address = [ 00 00 00 00 00 00 ];
  149. local-mac-address = [ 00 00 00 00 00 00 ];
  150. interrupts = <23 8 24 8 25 8>;
  151. interrupt-parent = < &ipic >;
  152. phy-handle = < &phy1 >;
  153. linux,network-index = <1>;
  154. };
  155. serial@4500 {
  156. device_type = "serial";
  157. compatible = "ns16550";
  158. reg = <4500 100>;
  159. clock-frequency = <0>;
  160. interrupts = <9 8>;
  161. interrupt-parent = < &ipic >;
  162. };
  163. serial@4600 {
  164. device_type = "serial";
  165. compatible = "ns16550";
  166. reg = <4600 100>;
  167. clock-frequency = <0>;
  168. interrupts = <a 8>;
  169. interrupt-parent = < &ipic >;
  170. };
  171. /* May need to remove if on a part without crypto engine */
  172. crypto@30000 {
  173. device_type = "crypto";
  174. model = "SEC2";
  175. compatible = "talitos";
  176. reg = <30000 10000>;
  177. interrupts = <b 8>;
  178. interrupt-parent = < &ipic >;
  179. num-channels = <4>;
  180. channel-fifo-len = <18>;
  181. exec-units-mask = <0000007e>;
  182. /* desc mask is for rev2.0,
  183. * we need runtime fixup for >2.0 */
  184. descriptor-types-mask = <01010ebf>;
  185. };
  186. /* IPIC
  187. * interrupts cell = <intr #, sense>
  188. * sense values match linux IORESOURCE_IRQ_* defines:
  189. * sense == 8: Level, low assertion
  190. * sense == 2: Edge, high-to-low change
  191. */
  192. ipic: pic@700 {
  193. interrupt-controller;
  194. #address-cells = <0>;
  195. #interrupt-cells = <2>;
  196. reg = <700 100>;
  197. device_type = "ipic";
  198. };
  199. };
  200. pci@e0008500 {
  201. interrupt-map-mask = <f800 0 0 7>;
  202. interrupt-map = <
  203. /* IDSEL 0x11 */
  204. 8800 0 0 1 &ipic 14 8
  205. 8800 0 0 2 &ipic 15 8
  206. 8800 0 0 3 &ipic 16 8
  207. 8800 0 0 4 &ipic 17 8
  208. /* IDSEL 0x12 */
  209. 9000 0 0 1 &ipic 16 8
  210. 9000 0 0 2 &ipic 17 8
  211. 9000 0 0 3 &ipic 14 8
  212. 9000 0 0 4 &ipic 15 8
  213. /* IDSEL 0x13 */
  214. 9800 0 0 1 &ipic 17 8
  215. 9800 0 0 2 &ipic 14 8
  216. 9800 0 0 3 &ipic 15 8
  217. 9800 0 0 4 &ipic 16 8
  218. /* IDSEL 0x15 */
  219. a800 0 0 1 &ipic 14 8
  220. a800 0 0 2 &ipic 15 8
  221. a800 0 0 3 &ipic 16 8
  222. a800 0 0 4 &ipic 17 8
  223. /* IDSEL 0x16 */
  224. b000 0 0 1 &ipic 17 8
  225. b000 0 0 2 &ipic 14 8
  226. b000 0 0 3 &ipic 15 8
  227. b000 0 0 4 &ipic 16 8
  228. /* IDSEL 0x17 */
  229. b800 0 0 1 &ipic 16 8
  230. b800 0 0 2 &ipic 17 8
  231. b800 0 0 3 &ipic 14 8
  232. b800 0 0 4 &ipic 15 8
  233. /* IDSEL 0x18 */
  234. c000 0 0 1 &ipic 15 8
  235. c000 0 0 2 &ipic 16 8
  236. c000 0 0 3 &ipic 17 8
  237. c000 0 0 4 &ipic 14 8>;
  238. interrupt-parent = < &ipic >;
  239. interrupts = <42 8>;
  240. bus-range = <0 0>;
  241. ranges = <02000000 0 90000000 90000000 0 10000000
  242. 42000000 0 80000000 80000000 0 10000000
  243. 01000000 0 00000000 e2000000 0 00100000>;
  244. clock-frequency = <3f940aa>;
  245. #interrupt-cells = <1>;
  246. #size-cells = <2>;
  247. #address-cells = <3>;
  248. reg = <e0008500 100>;
  249. compatible = "fsl,mpc8349-pci";
  250. device_type = "pci";
  251. };
  252. pci@e0008600 {
  253. interrupt-map-mask = <f800 0 0 7>;
  254. interrupt-map = <
  255. /* IDSEL 0x11 */
  256. 8800 0 0 1 &ipic 14 8
  257. 8800 0 0 2 &ipic 15 8
  258. 8800 0 0 3 &ipic 16 8
  259. 8800 0 0 4 &ipic 17 8
  260. /* IDSEL 0x12 */
  261. 9000 0 0 1 &ipic 16 8
  262. 9000 0 0 2 &ipic 17 8
  263. 9000 0 0 3 &ipic 14 8
  264. 9000 0 0 4 &ipic 15 8
  265. /* IDSEL 0x13 */
  266. 9800 0 0 1 &ipic 17 8
  267. 9800 0 0 2 &ipic 14 8
  268. 9800 0 0 3 &ipic 15 8
  269. 9800 0 0 4 &ipic 16 8
  270. /* IDSEL 0x15 */
  271. a800 0 0 1 &ipic 14 8
  272. a800 0 0 2 &ipic 15 8
  273. a800 0 0 3 &ipic 16 8
  274. a800 0 0 4 &ipic 17 8
  275. /* IDSEL 0x16 */
  276. b000 0 0 1 &ipic 17 8
  277. b000 0 0 2 &ipic 14 8
  278. b000 0 0 3 &ipic 15 8
  279. b000 0 0 4 &ipic 16 8
  280. /* IDSEL 0x17 */
  281. b800 0 0 1 &ipic 16 8
  282. b800 0 0 2 &ipic 17 8
  283. b800 0 0 3 &ipic 14 8
  284. b800 0 0 4 &ipic 15 8
  285. /* IDSEL 0x18 */
  286. c000 0 0 1 &ipic 15 8
  287. c000 0 0 2 &ipic 16 8
  288. c000 0 0 3 &ipic 17 8
  289. c000 0 0 4 &ipic 14 8>;
  290. interrupt-parent = < &ipic >;
  291. interrupts = <42 8>;
  292. bus-range = <0 0>;
  293. ranges = <02000000 0 b0000000 b0000000 0 10000000
  294. 42000000 0 a0000000 a0000000 0 10000000
  295. 01000000 0 00000000 e2100000 0 00100000>;
  296. clock-frequency = <3f940aa>;
  297. #interrupt-cells = <1>;
  298. #size-cells = <2>;
  299. #address-cells = <3>;
  300. reg = <e0008600 100>;
  301. compatible = "fsl,mpc8349-pci";
  302. device_type = "pci";
  303. };
  304. };