mpc836x_mds.dts 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  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. dma@82a8 {
  105. #address-cells = <1>;
  106. #size-cells = <1>;
  107. compatible = "fsl,mpc8360-dma", "fsl,elo-dma";
  108. reg = <0x82a8 4>;
  109. ranges = <0 0x8100 0x1a8>;
  110. interrupt-parent = <&ipic>;
  111. interrupts = <71 8>;
  112. cell-index = <0>;
  113. dma-channel@0 {
  114. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  115. reg = <0 0x80>;
  116. interrupt-parent = <&ipic>;
  117. interrupts = <71 8>;
  118. };
  119. dma-channel@80 {
  120. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  121. reg = <0x80 0x80>;
  122. interrupt-parent = <&ipic>;
  123. interrupts = <71 8>;
  124. };
  125. dma-channel@100 {
  126. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  127. reg = <0x100 0x80>;
  128. interrupt-parent = <&ipic>;
  129. interrupts = <71 8>;
  130. };
  131. dma-channel@180 {
  132. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  133. reg = <0x180 0x28>;
  134. interrupt-parent = <&ipic>;
  135. interrupts = <71 8>;
  136. };
  137. };
  138. crypto@30000 {
  139. device_type = "crypto";
  140. model = "SEC2";
  141. compatible = "talitos";
  142. reg = <0x30000 0x10000>;
  143. interrupts = <11 0x8>;
  144. interrupt-parent = <&ipic>;
  145. num-channels = <4>;
  146. channel-fifo-len = <24>;
  147. exec-units-mask = <0x0000007e>;
  148. /* desc mask is for rev1.x, we need runtime fixup for >=2.x */
  149. descriptor-types-mask = <0x01010ebf>;
  150. };
  151. ipic: pic@700 {
  152. interrupt-controller;
  153. #address-cells = <0>;
  154. #interrupt-cells = <2>;
  155. reg = <0x700 0x100>;
  156. device_type = "ipic";
  157. };
  158. par_io@1400 {
  159. reg = <0x1400 0x100>;
  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 10 1 0 2 0 /* TxD7 */
  173. 0 9 2 0 1 0 /* RxD0 */
  174. 0 10 2 0 1 0 /* RxD1 */
  175. 0 11 2 0 1 0 /* RxD2 */
  176. 0 12 2 0 1 0 /* RxD3 */
  177. 0 13 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 15 2 0 1 0 /* RX_DV */
  184. 0 16 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 17 1 0 1 0 /* TxD0 */
  193. 0 18 1 0 1 0 /* TxD1 */
  194. 0 19 1 0 1 0 /* TxD2 */
  195. 0 20 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 23 2 0 1 0 /* RxD0 */
  201. 0 24 2 0 1 0 /* RxD1 */
  202. 0 25 2 0 1 0 /* RxD2 */
  203. 0 26 2 0 1 0 /* RxD3 */
  204. 0 27 2 0 1 0 /* RxD4 */
  205. 1 12 2 0 2 0 /* RxD5 */
  206. 1 13 2 0 3 0 /* RxD6 */
  207. 1 11 2 0 2 0 /* RxD7 */
  208. 0 21 1 0 1 0 /* TX_EN */
  209. 0 22 1 0 1 0 /* TX_ER */
  210. 0 29 2 0 1 0 /* RX_DV */
  211. 0 30 2 0 1 0 /* RX_ER */
  212. 0 31 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. compatible = "fsl,qe";
  225. ranges = <0x0 0xe0100000 0x00100000>;
  226. reg = <0xe0100000 0x480>;
  227. brg-frequency = <0>;
  228. bus-frequency = <396000000>;
  229. muram@10000 {
  230. #address-cells = <1>;
  231. #size-cells = <1>;
  232. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  233. ranges = <0x0 0x00010000 0x0000c000>;
  234. data-only@0 {
  235. compatible = "fsl,qe-muram-data",
  236. "fsl,cpm-muram-data";
  237. reg = <0x0 0xc000>;
  238. };
  239. };
  240. spi@4c0 {
  241. cell-index = <0>;
  242. compatible = "fsl,spi";
  243. reg = <0x4c0 0x40>;
  244. interrupts = <2>;
  245. interrupt-parent = <&qeic>;
  246. mode = "cpu";
  247. };
  248. spi@500 {
  249. cell-index = <1>;
  250. compatible = "fsl,spi";
  251. reg = <0x500 0x40>;
  252. interrupts = <1>;
  253. interrupt-parent = <&qeic>;
  254. mode = "cpu";
  255. };
  256. usb@6c0 {
  257. compatible = "qe_udc";
  258. reg = <0x6c0 0x40 0x8b00 0x100>;
  259. interrupts = <11>;
  260. interrupt-parent = <&qeic>;
  261. mode = "slave";
  262. };
  263. enet0: ucc@2000 {
  264. device_type = "network";
  265. compatible = "ucc_geth";
  266. cell-index = <1>;
  267. reg = <0x2000 0x200>;
  268. interrupts = <32>;
  269. interrupt-parent = <&qeic>;
  270. local-mac-address = [ 00 00 00 00 00 00 ];
  271. rx-clock-name = "none";
  272. tx-clock-name = "clk9";
  273. phy-handle = <&phy0>;
  274. phy-connection-type = "rgmii-id";
  275. pio-handle = <&pio1>;
  276. };
  277. enet1: ucc@3000 {
  278. device_type = "network";
  279. compatible = "ucc_geth";
  280. cell-index = <2>;
  281. reg = <0x3000 0x200>;
  282. interrupts = <33>;
  283. interrupt-parent = <&qeic>;
  284. local-mac-address = [ 00 00 00 00 00 00 ];
  285. rx-clock-name = "none";
  286. tx-clock-name = "clk4";
  287. phy-handle = <&phy1>;
  288. phy-connection-type = "rgmii-id";
  289. pio-handle = <&pio2>;
  290. };
  291. mdio@2120 {
  292. #address-cells = <1>;
  293. #size-cells = <0>;
  294. reg = <0x2120 0x18>;
  295. compatible = "fsl,ucc-mdio";
  296. phy0: ethernet-phy@00 {
  297. interrupt-parent = <&ipic>;
  298. interrupts = <17 0x8>;
  299. reg = <0x0>;
  300. device_type = "ethernet-phy";
  301. };
  302. phy1: ethernet-phy@01 {
  303. interrupt-parent = <&ipic>;
  304. interrupts = <18 0x8>;
  305. reg = <0x1>;
  306. device_type = "ethernet-phy";
  307. };
  308. };
  309. qeic: interrupt-controller@80 {
  310. interrupt-controller;
  311. compatible = "fsl,qe-ic";
  312. #address-cells = <0>;
  313. #interrupt-cells = <1>;
  314. reg = <0x80 0x80>;
  315. big-endian;
  316. interrupts = <32 0x8 33 0x8>; // high:32 low:33
  317. interrupt-parent = <&ipic>;
  318. };
  319. };
  320. pci0: pci@e0008500 {
  321. cell-index = <1>;
  322. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  323. interrupt-map = <
  324. /* IDSEL 0x11 AD17 */
  325. 0x8800 0x0 0x0 0x1 &ipic 20 0x8
  326. 0x8800 0x0 0x0 0x2 &ipic 21 0x8
  327. 0x8800 0x0 0x0 0x3 &ipic 22 0x8
  328. 0x8800 0x0 0x0 0x4 &ipic 23 0x8
  329. /* IDSEL 0x12 AD18 */
  330. 0x9000 0x0 0x0 0x1 &ipic 22 0x8
  331. 0x9000 0x0 0x0 0x2 &ipic 23 0x8
  332. 0x9000 0x0 0x0 0x3 &ipic 20 0x8
  333. 0x9000 0x0 0x0 0x4 &ipic 21 0x8
  334. /* IDSEL 0x13 AD19 */
  335. 0x9800 0x0 0x0 0x1 &ipic 23 0x8
  336. 0x9800 0x0 0x0 0x2 &ipic 20 0x8
  337. 0x9800 0x0 0x0 0x3 &ipic 21 0x8
  338. 0x9800 0x0 0x0 0x4 &ipic 22 0x8
  339. /* IDSEL 0x15 AD21*/
  340. 0xa800 0x0 0x0 0x1 &ipic 20 0x8
  341. 0xa800 0x0 0x0 0x2 &ipic 21 0x8
  342. 0xa800 0x0 0x0 0x3 &ipic 22 0x8
  343. 0xa800 0x0 0x0 0x4 &ipic 23 0x8
  344. /* IDSEL 0x16 AD22*/
  345. 0xb000 0x0 0x0 0x1 &ipic 23 0x8
  346. 0xb000 0x0 0x0 0x2 &ipic 20 0x8
  347. 0xb000 0x0 0x0 0x3 &ipic 21 0x8
  348. 0xb000 0x0 0x0 0x4 &ipic 22 0x8
  349. /* IDSEL 0x17 AD23*/
  350. 0xb800 0x0 0x0 0x1 &ipic 22 0x8
  351. 0xb800 0x0 0x0 0x2 &ipic 23 0x8
  352. 0xb800 0x0 0x0 0x3 &ipic 20 0x8
  353. 0xb800 0x0 0x0 0x4 &ipic 21 0x8
  354. /* IDSEL 0x18 AD24*/
  355. 0xc000 0x0 0x0 0x1 &ipic 21 0x8
  356. 0xc000 0x0 0x0 0x2 &ipic 22 0x8
  357. 0xc000 0x0 0x0 0x3 &ipic 23 0x8
  358. 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
  359. interrupt-parent = <&ipic>;
  360. interrupts = <66 0x8>;
  361. bus-range = <0 0>;
  362. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  363. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  364. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
  365. clock-frequency = <66666666>;
  366. #interrupt-cells = <1>;
  367. #size-cells = <2>;
  368. #address-cells = <3>;
  369. reg = <0xe0008500 0x100>;
  370. compatible = "fsl,mpc8349-pci";
  371. device_type = "pci";
  372. };
  373. };