mpc836x_mds.dts 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  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. /dts-v1/;
  15. / {
  16. model = "MPC8360MDS";
  17. compatible = "MPC8360EMDS", "MPC836xMDS", "MPC83xxMDS";
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. aliases {
  21. ethernet0 = &enet0;
  22. ethernet1 = &enet1;
  23. serial0 = &serial0;
  24. serial1 = &serial1;
  25. pci0 = &pci0;
  26. };
  27. cpus {
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. PowerPC,8360@0 {
  31. device_type = "cpu";
  32. reg = <0x0>;
  33. d-cache-line-size = <32>; // 32 bytes
  34. i-cache-line-size = <32>; // 32 bytes
  35. d-cache-size = <32768>; // L1, 32K
  36. i-cache-size = <32768>; // L1, 32K
  37. timebase-frequency = <66000000>;
  38. bus-frequency = <264000000>;
  39. clock-frequency = <528000000>;
  40. };
  41. };
  42. memory {
  43. device_type = "memory";
  44. reg = <0x00000000 0x10000000>;
  45. };
  46. bcsr@f8000000 {
  47. device_type = "board-control";
  48. reg = <0xf8000000 0x8000>;
  49. };
  50. soc8360@e0000000 {
  51. #address-cells = <1>;
  52. #size-cells = <1>;
  53. device_type = "soc";
  54. ranges = <0x0 0xe0000000 0x00100000>;
  55. reg = <0xe0000000 0x00000200>;
  56. bus-frequency = <264000000>;
  57. wdt@200 {
  58. device_type = "watchdog";
  59. compatible = "mpc83xx_wdt";
  60. reg = <0x200 0x100>;
  61. };
  62. i2c@3000 {
  63. #address-cells = <1>;
  64. #size-cells = <0>;
  65. cell-index = <0>;
  66. compatible = "fsl-i2c";
  67. reg = <0x3000 0x100>;
  68. interrupts = <14 0x8>;
  69. interrupt-parent = <&ipic>;
  70. dfsrr;
  71. rtc@68 {
  72. compatible = "dallas,ds1374";
  73. reg = <0x68>;
  74. };
  75. };
  76. i2c@3100 {
  77. #address-cells = <1>;
  78. #size-cells = <0>;
  79. cell-index = <1>;
  80. compatible = "fsl-i2c";
  81. reg = <0x3100 0x100>;
  82. interrupts = <15 0x8>;
  83. interrupt-parent = <&ipic>;
  84. dfsrr;
  85. };
  86. serial0: serial@4500 {
  87. cell-index = <0>;
  88. device_type = "serial";
  89. compatible = "ns16550";
  90. reg = <0x4500 0x100>;
  91. clock-frequency = <264000000>;
  92. interrupts = <9 0x8>;
  93. interrupt-parent = <&ipic>;
  94. };
  95. serial1: serial@4600 {
  96. cell-index = <1>;
  97. device_type = "serial";
  98. compatible = "ns16550";
  99. reg = <0x4600 0x100>;
  100. clock-frequency = <264000000>;
  101. interrupts = <10 0x8>;
  102. interrupt-parent = <&ipic>;
  103. };
  104. crypto@30000 {
  105. device_type = "crypto";
  106. model = "SEC2";
  107. compatible = "talitos";
  108. reg = <0x30000 0x10000>;
  109. interrupts = <11 0x8>;
  110. interrupt-parent = <&ipic>;
  111. num-channels = <4>;
  112. channel-fifo-len = <24>;
  113. exec-units-mask = <0x0000007e>;
  114. /* desc mask is for rev1.x, we need runtime fixup for >=2.x */
  115. descriptor-types-mask = <0x01010ebf>;
  116. };
  117. ipic: pic@700 {
  118. interrupt-controller;
  119. #address-cells = <0>;
  120. #interrupt-cells = <2>;
  121. reg = <0x700 0x100>;
  122. device_type = "ipic";
  123. };
  124. par_io@1400 {
  125. reg = <0x1400 0x100>;
  126. device_type = "par_io";
  127. num-ports = <7>;
  128. pio1: ucc_pin@01 {
  129. pio-map = <
  130. /* port pin dir open_drain assignment has_irq */
  131. 0 3 1 0 1 0 /* TxD0 */
  132. 0 4 1 0 1 0 /* TxD1 */
  133. 0 5 1 0 1 0 /* TxD2 */
  134. 0 6 1 0 1 0 /* TxD3 */
  135. 1 6 1 0 3 0 /* TxD4 */
  136. 1 7 1 0 1 0 /* TxD5 */
  137. 1 9 1 0 2 0 /* TxD6 */
  138. 1 10 1 0 2 0 /* TxD7 */
  139. 0 9 2 0 1 0 /* RxD0 */
  140. 0 10 2 0 1 0 /* RxD1 */
  141. 0 11 2 0 1 0 /* RxD2 */
  142. 0 12 2 0 1 0 /* RxD3 */
  143. 0 13 2 0 1 0 /* RxD4 */
  144. 1 1 2 0 2 0 /* RxD5 */
  145. 1 0 2 0 2 0 /* RxD6 */
  146. 1 4 2 0 2 0 /* RxD7 */
  147. 0 7 1 0 1 0 /* TX_EN */
  148. 0 8 1 0 1 0 /* TX_ER */
  149. 0 15 2 0 1 0 /* RX_DV */
  150. 0 16 2 0 1 0 /* RX_ER */
  151. 0 0 2 0 1 0 /* RX_CLK */
  152. 2 9 1 0 3 0 /* GTX_CLK - CLK10 */
  153. 2 8 2 0 1 0>; /* GTX125 - CLK9 */
  154. };
  155. pio2: ucc_pin@02 {
  156. pio-map = <
  157. /* port pin dir open_drain assignment has_irq */
  158. 0 17 1 0 1 0 /* TxD0 */
  159. 0 18 1 0 1 0 /* TxD1 */
  160. 0 19 1 0 1 0 /* TxD2 */
  161. 0 20 1 0 1 0 /* TxD3 */
  162. 1 2 1 0 1 0 /* TxD4 */
  163. 1 3 1 0 2 0 /* TxD5 */
  164. 1 5 1 0 3 0 /* TxD6 */
  165. 1 8 1 0 3 0 /* TxD7 */
  166. 0 23 2 0 1 0 /* RxD0 */
  167. 0 24 2 0 1 0 /* RxD1 */
  168. 0 25 2 0 1 0 /* RxD2 */
  169. 0 26 2 0 1 0 /* RxD3 */
  170. 0 27 2 0 1 0 /* RxD4 */
  171. 1 12 2 0 2 0 /* RxD5 */
  172. 1 13 2 0 3 0 /* RxD6 */
  173. 1 11 2 0 2 0 /* RxD7 */
  174. 0 21 1 0 1 0 /* TX_EN */
  175. 0 22 1 0 1 0 /* TX_ER */
  176. 0 29 2 0 1 0 /* RX_DV */
  177. 0 30 2 0 1 0 /* RX_ER */
  178. 0 31 2 0 1 0 /* RX_CLK */
  179. 2 2 1 0 2 0 /* GTX_CLK - CLK10 */
  180. 2 3 2 0 1 0 /* GTX125 - CLK4 */
  181. 0 1 3 0 2 0 /* MDIO */
  182. 0 2 1 0 1 0>; /* MDC */
  183. };
  184. };
  185. };
  186. qe@e0100000 {
  187. #address-cells = <1>;
  188. #size-cells = <1>;
  189. device_type = "qe";
  190. compatible = "fsl,qe";
  191. ranges = <0x0 0xe0100000 0x00100000>;
  192. reg = <0xe0100000 0x480>;
  193. brg-frequency = <0>;
  194. bus-frequency = <396000000>;
  195. muram@10000 {
  196. #address-cells = <1>;
  197. #size-cells = <1>;
  198. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  199. ranges = <0x0 0x00010000 0x0000c000>;
  200. data-only@0 {
  201. compatible = "fsl,qe-muram-data",
  202. "fsl,cpm-muram-data";
  203. reg = <0x0 0xc000>;
  204. };
  205. };
  206. spi@4c0 {
  207. cell-index = <0>;
  208. compatible = "fsl,spi";
  209. reg = <0x4c0 0x40>;
  210. interrupts = <2>;
  211. interrupt-parent = <&qeic>;
  212. mode = "cpu";
  213. };
  214. spi@500 {
  215. cell-index = <1>;
  216. compatible = "fsl,spi";
  217. reg = <0x500 0x40>;
  218. interrupts = <1>;
  219. interrupt-parent = <&qeic>;
  220. mode = "cpu";
  221. };
  222. usb@6c0 {
  223. compatible = "qe_udc";
  224. reg = <0x6c0 0x40 0x8b00 0x100>;
  225. interrupts = <11>;
  226. interrupt-parent = <&qeic>;
  227. mode = "slave";
  228. };
  229. enet0: ucc@2000 {
  230. device_type = "network";
  231. compatible = "ucc_geth";
  232. cell-index = <1>;
  233. reg = <0x2000 0x200>;
  234. interrupts = <32>;
  235. interrupt-parent = <&qeic>;
  236. local-mac-address = [ 00 00 00 00 00 00 ];
  237. rx-clock-name = "none";
  238. tx-clock-name = "clk9";
  239. phy-handle = <&phy0>;
  240. phy-connection-type = "rgmii-id";
  241. pio-handle = <&pio1>;
  242. };
  243. enet1: ucc@3000 {
  244. device_type = "network";
  245. compatible = "ucc_geth";
  246. cell-index = <2>;
  247. reg = <0x3000 0x200>;
  248. interrupts = <33>;
  249. interrupt-parent = <&qeic>;
  250. local-mac-address = [ 00 00 00 00 00 00 ];
  251. rx-clock-name = "none";
  252. tx-clock-name = "clk4";
  253. phy-handle = <&phy1>;
  254. phy-connection-type = "rgmii-id";
  255. pio-handle = <&pio2>;
  256. };
  257. mdio@2120 {
  258. #address-cells = <1>;
  259. #size-cells = <0>;
  260. reg = <0x2120 0x18>;
  261. compatible = "fsl,ucc-mdio";
  262. phy0: ethernet-phy@00 {
  263. interrupt-parent = <&ipic>;
  264. interrupts = <17 0x8>;
  265. reg = <0x0>;
  266. device_type = "ethernet-phy";
  267. };
  268. phy1: ethernet-phy@01 {
  269. interrupt-parent = <&ipic>;
  270. interrupts = <18 0x8>;
  271. reg = <0x1>;
  272. device_type = "ethernet-phy";
  273. };
  274. };
  275. qeic: interrupt-controller@80 {
  276. interrupt-controller;
  277. compatible = "fsl,qe-ic";
  278. #address-cells = <0>;
  279. #interrupt-cells = <1>;
  280. reg = <0x80 0x80>;
  281. big-endian;
  282. interrupts = <32 0x8 33 0x8>; // high:32 low:33
  283. interrupt-parent = <&ipic>;
  284. };
  285. };
  286. pci0: pci@e0008500 {
  287. cell-index = <1>;
  288. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  289. interrupt-map = <
  290. /* IDSEL 0x11 AD17 */
  291. 0x8800 0x0 0x0 0x1 &ipic 20 0x8
  292. 0x8800 0x0 0x0 0x2 &ipic 21 0x8
  293. 0x8800 0x0 0x0 0x3 &ipic 22 0x8
  294. 0x8800 0x0 0x0 0x4 &ipic 23 0x8
  295. /* IDSEL 0x12 AD18 */
  296. 0x9000 0x0 0x0 0x1 &ipic 22 0x8
  297. 0x9000 0x0 0x0 0x2 &ipic 23 0x8
  298. 0x9000 0x0 0x0 0x3 &ipic 20 0x8
  299. 0x9000 0x0 0x0 0x4 &ipic 21 0x8
  300. /* IDSEL 0x13 AD19 */
  301. 0x9800 0x0 0x0 0x1 &ipic 23 0x8
  302. 0x9800 0x0 0x0 0x2 &ipic 20 0x8
  303. 0x9800 0x0 0x0 0x3 &ipic 21 0x8
  304. 0x9800 0x0 0x0 0x4 &ipic 22 0x8
  305. /* IDSEL 0x15 AD21*/
  306. 0xa800 0x0 0x0 0x1 &ipic 20 0x8
  307. 0xa800 0x0 0x0 0x2 &ipic 21 0x8
  308. 0xa800 0x0 0x0 0x3 &ipic 22 0x8
  309. 0xa800 0x0 0x0 0x4 &ipic 23 0x8
  310. /* IDSEL 0x16 AD22*/
  311. 0xb000 0x0 0x0 0x1 &ipic 23 0x8
  312. 0xb000 0x0 0x0 0x2 &ipic 20 0x8
  313. 0xb000 0x0 0x0 0x3 &ipic 21 0x8
  314. 0xb000 0x0 0x0 0x4 &ipic 22 0x8
  315. /* IDSEL 0x17 AD23*/
  316. 0xb800 0x0 0x0 0x1 &ipic 22 0x8
  317. 0xb800 0x0 0x0 0x2 &ipic 23 0x8
  318. 0xb800 0x0 0x0 0x3 &ipic 20 0x8
  319. 0xb800 0x0 0x0 0x4 &ipic 21 0x8
  320. /* IDSEL 0x18 AD24*/
  321. 0xc000 0x0 0x0 0x1 &ipic 21 0x8
  322. 0xc000 0x0 0x0 0x2 &ipic 22 0x8
  323. 0xc000 0x0 0x0 0x3 &ipic 23 0x8
  324. 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
  325. interrupt-parent = <&ipic>;
  326. interrupts = <66 0x8>;
  327. bus-range = <0 0>;
  328. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  329. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  330. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
  331. clock-frequency = <66666666>;
  332. #interrupt-cells = <1>;
  333. #size-cells = <2>;
  334. #address-cells = <3>;
  335. reg = <0xe0008500 0x100>;
  336. compatible = "fsl,mpc8349-pci";
  337. device_type = "pci";
  338. };
  339. };