mpc836x_mds.dts 9.8 KB

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