mpc834x_mds.dts 7.7 KB

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