mpc836x_mds.dts 10 KB

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