mpc836x_mds.dts 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  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. compatible = "fsl,sec2.0";
  140. reg = <0x30000 0x10000>;
  141. interrupts = <11 0x8>;
  142. interrupt-parent = <&ipic>;
  143. fsl,num-channels = <4>;
  144. fsl,channel-fifo-len = <24>;
  145. fsl,exec-units-mask = <0x7e>;
  146. fsl,descriptor-types-mask = <0x01010ebf>;
  147. };
  148. ipic: pic@700 {
  149. interrupt-controller;
  150. #address-cells = <0>;
  151. #interrupt-cells = <2>;
  152. reg = <0x700 0x100>;
  153. device_type = "ipic";
  154. };
  155. par_io@1400 {
  156. reg = <0x1400 0x100>;
  157. device_type = "par_io";
  158. num-ports = <7>;
  159. pio1: ucc_pin@01 {
  160. pio-map = <
  161. /* port pin dir open_drain assignment has_irq */
  162. 0 3 1 0 1 0 /* TxD0 */
  163. 0 4 1 0 1 0 /* TxD1 */
  164. 0 5 1 0 1 0 /* TxD2 */
  165. 0 6 1 0 1 0 /* TxD3 */
  166. 1 6 1 0 3 0 /* TxD4 */
  167. 1 7 1 0 1 0 /* TxD5 */
  168. 1 9 1 0 2 0 /* TxD6 */
  169. 1 10 1 0 2 0 /* TxD7 */
  170. 0 9 2 0 1 0 /* RxD0 */
  171. 0 10 2 0 1 0 /* RxD1 */
  172. 0 11 2 0 1 0 /* RxD2 */
  173. 0 12 2 0 1 0 /* RxD3 */
  174. 0 13 2 0 1 0 /* RxD4 */
  175. 1 1 2 0 2 0 /* RxD5 */
  176. 1 0 2 0 2 0 /* RxD6 */
  177. 1 4 2 0 2 0 /* RxD7 */
  178. 0 7 1 0 1 0 /* TX_EN */
  179. 0 8 1 0 1 0 /* TX_ER */
  180. 0 15 2 0 1 0 /* RX_DV */
  181. 0 16 2 0 1 0 /* RX_ER */
  182. 0 0 2 0 1 0 /* RX_CLK */
  183. 2 9 1 0 3 0 /* GTX_CLK - CLK10 */
  184. 2 8 2 0 1 0>; /* GTX125 - CLK9 */
  185. };
  186. pio2: ucc_pin@02 {
  187. pio-map = <
  188. /* port pin dir open_drain assignment has_irq */
  189. 0 17 1 0 1 0 /* TxD0 */
  190. 0 18 1 0 1 0 /* TxD1 */
  191. 0 19 1 0 1 0 /* TxD2 */
  192. 0 20 1 0 1 0 /* TxD3 */
  193. 1 2 1 0 1 0 /* TxD4 */
  194. 1 3 1 0 2 0 /* TxD5 */
  195. 1 5 1 0 3 0 /* TxD6 */
  196. 1 8 1 0 3 0 /* TxD7 */
  197. 0 23 2 0 1 0 /* RxD0 */
  198. 0 24 2 0 1 0 /* RxD1 */
  199. 0 25 2 0 1 0 /* RxD2 */
  200. 0 26 2 0 1 0 /* RxD3 */
  201. 0 27 2 0 1 0 /* RxD4 */
  202. 1 12 2 0 2 0 /* RxD5 */
  203. 1 13 2 0 3 0 /* RxD6 */
  204. 1 11 2 0 2 0 /* RxD7 */
  205. 0 21 1 0 1 0 /* TX_EN */
  206. 0 22 1 0 1 0 /* TX_ER */
  207. 0 29 2 0 1 0 /* RX_DV */
  208. 0 30 2 0 1 0 /* RX_ER */
  209. 0 31 2 0 1 0 /* RX_CLK */
  210. 2 2 1 0 2 0 /* GTX_CLK - CLK10 */
  211. 2 3 2 0 1 0 /* GTX125 - CLK4 */
  212. 0 1 3 0 2 0 /* MDIO */
  213. 0 2 1 0 1 0>; /* MDC */
  214. };
  215. };
  216. };
  217. qe@e0100000 {
  218. #address-cells = <1>;
  219. #size-cells = <1>;
  220. device_type = "qe";
  221. compatible = "fsl,qe";
  222. ranges = <0x0 0xe0100000 0x00100000>;
  223. reg = <0xe0100000 0x480>;
  224. brg-frequency = <0>;
  225. bus-frequency = <396000000>;
  226. muram@10000 {
  227. #address-cells = <1>;
  228. #size-cells = <1>;
  229. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  230. ranges = <0x0 0x00010000 0x0000c000>;
  231. data-only@0 {
  232. compatible = "fsl,qe-muram-data",
  233. "fsl,cpm-muram-data";
  234. reg = <0x0 0xc000>;
  235. };
  236. };
  237. spi@4c0 {
  238. cell-index = <0>;
  239. compatible = "fsl,spi";
  240. reg = <0x4c0 0x40>;
  241. interrupts = <2>;
  242. interrupt-parent = <&qeic>;
  243. mode = "cpu";
  244. };
  245. spi@500 {
  246. cell-index = <1>;
  247. compatible = "fsl,spi";
  248. reg = <0x500 0x40>;
  249. interrupts = <1>;
  250. interrupt-parent = <&qeic>;
  251. mode = "cpu";
  252. };
  253. usb@6c0 {
  254. compatible = "qe_udc";
  255. reg = <0x6c0 0x40 0x8b00 0x100>;
  256. interrupts = <11>;
  257. interrupt-parent = <&qeic>;
  258. mode = "slave";
  259. };
  260. enet0: ucc@2000 {
  261. device_type = "network";
  262. compatible = "ucc_geth";
  263. cell-index = <1>;
  264. reg = <0x2000 0x200>;
  265. interrupts = <32>;
  266. interrupt-parent = <&qeic>;
  267. local-mac-address = [ 00 00 00 00 00 00 ];
  268. rx-clock-name = "none";
  269. tx-clock-name = "clk9";
  270. phy-handle = <&phy0>;
  271. phy-connection-type = "rgmii-id";
  272. pio-handle = <&pio1>;
  273. };
  274. enet1: ucc@3000 {
  275. device_type = "network";
  276. compatible = "ucc_geth";
  277. cell-index = <2>;
  278. reg = <0x3000 0x200>;
  279. interrupts = <33>;
  280. interrupt-parent = <&qeic>;
  281. local-mac-address = [ 00 00 00 00 00 00 ];
  282. rx-clock-name = "none";
  283. tx-clock-name = "clk4";
  284. phy-handle = <&phy1>;
  285. phy-connection-type = "rgmii-id";
  286. pio-handle = <&pio2>;
  287. };
  288. mdio@2120 {
  289. #address-cells = <1>;
  290. #size-cells = <0>;
  291. reg = <0x2120 0x18>;
  292. compatible = "fsl,ucc-mdio";
  293. phy0: ethernet-phy@00 {
  294. interrupt-parent = <&ipic>;
  295. interrupts = <17 0x8>;
  296. reg = <0x0>;
  297. device_type = "ethernet-phy";
  298. };
  299. phy1: ethernet-phy@01 {
  300. interrupt-parent = <&ipic>;
  301. interrupts = <18 0x8>;
  302. reg = <0x1>;
  303. device_type = "ethernet-phy";
  304. };
  305. };
  306. qeic: interrupt-controller@80 {
  307. interrupt-controller;
  308. compatible = "fsl,qe-ic";
  309. #address-cells = <0>;
  310. #interrupt-cells = <1>;
  311. reg = <0x80 0x80>;
  312. big-endian;
  313. interrupts = <32 0x8 33 0x8>; // high:32 low:33
  314. interrupt-parent = <&ipic>;
  315. };
  316. };
  317. pci0: pci@e0008500 {
  318. cell-index = <1>;
  319. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  320. interrupt-map = <
  321. /* IDSEL 0x11 AD17 */
  322. 0x8800 0x0 0x0 0x1 &ipic 20 0x8
  323. 0x8800 0x0 0x0 0x2 &ipic 21 0x8
  324. 0x8800 0x0 0x0 0x3 &ipic 22 0x8
  325. 0x8800 0x0 0x0 0x4 &ipic 23 0x8
  326. /* IDSEL 0x12 AD18 */
  327. 0x9000 0x0 0x0 0x1 &ipic 22 0x8
  328. 0x9000 0x0 0x0 0x2 &ipic 23 0x8
  329. 0x9000 0x0 0x0 0x3 &ipic 20 0x8
  330. 0x9000 0x0 0x0 0x4 &ipic 21 0x8
  331. /* IDSEL 0x13 AD19 */
  332. 0x9800 0x0 0x0 0x1 &ipic 23 0x8
  333. 0x9800 0x0 0x0 0x2 &ipic 20 0x8
  334. 0x9800 0x0 0x0 0x3 &ipic 21 0x8
  335. 0x9800 0x0 0x0 0x4 &ipic 22 0x8
  336. /* IDSEL 0x15 AD21*/
  337. 0xa800 0x0 0x0 0x1 &ipic 20 0x8
  338. 0xa800 0x0 0x0 0x2 &ipic 21 0x8
  339. 0xa800 0x0 0x0 0x3 &ipic 22 0x8
  340. 0xa800 0x0 0x0 0x4 &ipic 23 0x8
  341. /* IDSEL 0x16 AD22*/
  342. 0xb000 0x0 0x0 0x1 &ipic 23 0x8
  343. 0xb000 0x0 0x0 0x2 &ipic 20 0x8
  344. 0xb000 0x0 0x0 0x3 &ipic 21 0x8
  345. 0xb000 0x0 0x0 0x4 &ipic 22 0x8
  346. /* IDSEL 0x17 AD23*/
  347. 0xb800 0x0 0x0 0x1 &ipic 22 0x8
  348. 0xb800 0x0 0x0 0x2 &ipic 23 0x8
  349. 0xb800 0x0 0x0 0x3 &ipic 20 0x8
  350. 0xb800 0x0 0x0 0x4 &ipic 21 0x8
  351. /* IDSEL 0x18 AD24*/
  352. 0xc000 0x0 0x0 0x1 &ipic 21 0x8
  353. 0xc000 0x0 0x0 0x2 &ipic 22 0x8
  354. 0xc000 0x0 0x0 0x3 &ipic 23 0x8
  355. 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
  356. interrupt-parent = <&ipic>;
  357. interrupts = <66 0x8>;
  358. bus-range = <0 0>;
  359. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  360. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  361. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
  362. clock-frequency = <66666666>;
  363. #interrupt-cells = <1>;
  364. #size-cells = <2>;
  365. #address-cells = <3>;
  366. reg = <0xe0008500 0x100>;
  367. compatible = "fsl,mpc8349-pci";
  368. device_type = "pci";
  369. };
  370. };