mpc836x_mds.dts 10 KB

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