mpc8568mds.dts 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  1. /*
  2. * MPC8568E MDS Device Tree Source
  3. *
  4. * Copyright 2007, 2008 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. /dts-v1/;
  12. / {
  13. model = "MPC8568EMDS";
  14. compatible = "MPC8568EMDS", "MPC85xxMDS";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. ethernet2 = &enet2;
  21. ethernet3 = &enet3;
  22. serial0 = &serial0;
  23. serial1 = &serial1;
  24. pci0 = &pci0;
  25. pci1 = &pci1;
  26. };
  27. cpus {
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. PowerPC,8568@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 = <0x8000>; // L1, 32K
  36. i-cache-size = <0x8000>; // L1, 32K
  37. timebase-frequency = <0>;
  38. bus-frequency = <0>;
  39. clock-frequency = <0>;
  40. };
  41. };
  42. memory {
  43. device_type = "memory";
  44. reg = <0x0 0x10000000>;
  45. };
  46. bcsr@f8000000 {
  47. device_type = "board-control";
  48. reg = <0xf8000000 0x8000>;
  49. };
  50. soc8568@e0000000 {
  51. #address-cells = <1>;
  52. #size-cells = <1>;
  53. device_type = "soc";
  54. ranges = <0x0 0xe0000000 0x100000>;
  55. reg = <0xe0000000 0x1000>;
  56. bus-frequency = <0>;
  57. memory-controller@2000 {
  58. compatible = "fsl,8568-memory-controller";
  59. reg = <0x2000 0x1000>;
  60. interrupt-parent = <&mpic>;
  61. interrupts = <18 2>;
  62. };
  63. l2-cache-controller@20000 {
  64. compatible = "fsl,8568-l2-cache-controller";
  65. reg = <0x20000 0x1000>;
  66. cache-line-size = <32>; // 32 bytes
  67. cache-size = <0x80000>; // L2, 512K
  68. interrupt-parent = <&mpic>;
  69. interrupts = <16 2>;
  70. };
  71. i2c@3000 {
  72. #address-cells = <1>;
  73. #size-cells = <0>;
  74. cell-index = <0>;
  75. compatible = "fsl-i2c";
  76. reg = <0x3000 0x100>;
  77. interrupts = <43 2>;
  78. interrupt-parent = <&mpic>;
  79. dfsrr;
  80. rtc@68 {
  81. compatible = "dallas,ds1374";
  82. reg = <0x68>;
  83. };
  84. };
  85. i2c@3100 {
  86. #address-cells = <1>;
  87. #size-cells = <0>;
  88. cell-index = <1>;
  89. compatible = "fsl-i2c";
  90. reg = <0x3100 0x100>;
  91. interrupts = <43 2>;
  92. interrupt-parent = <&mpic>;
  93. dfsrr;
  94. };
  95. mdio@24520 {
  96. #address-cells = <1>;
  97. #size-cells = <0>;
  98. compatible = "fsl,gianfar-mdio";
  99. reg = <0x24520 0x20>;
  100. phy0: ethernet-phy@7 {
  101. interrupt-parent = <&mpic>;
  102. interrupts = <1 1>;
  103. reg = <0x7>;
  104. device_type = "ethernet-phy";
  105. };
  106. phy1: ethernet-phy@1 {
  107. interrupt-parent = <&mpic>;
  108. interrupts = <2 1>;
  109. reg = <0x1>;
  110. device_type = "ethernet-phy";
  111. };
  112. phy2: ethernet-phy@2 {
  113. interrupt-parent = <&mpic>;
  114. interrupts = <1 1>;
  115. reg = <0x2>;
  116. device_type = "ethernet-phy";
  117. };
  118. phy3: ethernet-phy@3 {
  119. interrupt-parent = <&mpic>;
  120. interrupts = <2 1>;
  121. reg = <0x3>;
  122. device_type = "ethernet-phy";
  123. };
  124. };
  125. enet0: ethernet@24000 {
  126. cell-index = <0>;
  127. device_type = "network";
  128. model = "eTSEC";
  129. compatible = "gianfar";
  130. reg = <0x24000 0x1000>;
  131. local-mac-address = [ 00 00 00 00 00 00 ];
  132. interrupts = <29 2 30 2 34 2>;
  133. interrupt-parent = <&mpic>;
  134. phy-handle = <&phy2>;
  135. };
  136. enet1: ethernet@25000 {
  137. cell-index = <1>;
  138. device_type = "network";
  139. model = "eTSEC";
  140. compatible = "gianfar";
  141. reg = <0x25000 0x1000>;
  142. local-mac-address = [ 00 00 00 00 00 00 ];
  143. interrupts = <35 2 36 2 40 2>;
  144. interrupt-parent = <&mpic>;
  145. phy-handle = <&phy3>;
  146. };
  147. serial0: serial@4500 {
  148. cell-index = <0>;
  149. device_type = "serial";
  150. compatible = "ns16550";
  151. reg = <0x4500 0x100>;
  152. clock-frequency = <0>;
  153. interrupts = <42 2>;
  154. interrupt-parent = <&mpic>;
  155. };
  156. global-utilities@e0000 { //global utilities block
  157. compatible = "fsl,mpc8548-guts";
  158. reg = <0xe0000 0x1000>;
  159. fsl,has-rstcr;
  160. };
  161. serial1: serial@4600 {
  162. cell-index = <1>;
  163. device_type = "serial";
  164. compatible = "ns16550";
  165. reg = <0x4600 0x100>;
  166. clock-frequency = <0>;
  167. interrupts = <42 2>;
  168. interrupt-parent = <&mpic>;
  169. };
  170. crypto@30000 {
  171. device_type = "crypto";
  172. model = "SEC2";
  173. compatible = "talitos";
  174. reg = <0x30000 0xf000>;
  175. interrupts = <45 2>;
  176. interrupt-parent = <&mpic>;
  177. num-channels = <4>;
  178. channel-fifo-len = <24>;
  179. exec-units-mask = <0xfe>;
  180. descriptor-types-mask = <0x12b0ebf>;
  181. };
  182. mpic: pic@40000 {
  183. clock-frequency = <0>;
  184. interrupt-controller;
  185. #address-cells = <0>;
  186. #interrupt-cells = <2>;
  187. reg = <0x40000 0x40000>;
  188. compatible = "chrp,open-pic";
  189. device_type = "open-pic";
  190. big-endian;
  191. };
  192. par_io@e0100 {
  193. reg = <0xe0100 0x100>;
  194. device_type = "par_io";
  195. num-ports = <7>;
  196. pio1: ucc_pin@01 {
  197. pio-map = <
  198. /* port pin dir open_drain assignment has_irq */
  199. 0x4 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
  200. 0x4 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
  201. 0x4 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
  202. 0x4 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
  203. 0x4 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
  204. 0x4 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
  205. 0x4 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
  206. 0x4 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
  207. 0x4 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
  208. 0x4 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
  209. 0x4 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
  210. 0x4 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
  211. 0x4 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
  212. 0x4 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
  213. 0x4 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
  214. 0x4 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
  215. 0x4 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
  216. 0x4 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
  217. 0x4 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
  218. 0x4 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
  219. 0x4 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
  220. 0x4 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
  221. 0x1 0x1f 0x2 0x0 0x3 0x0>; /* GTX125 */
  222. };
  223. pio2: ucc_pin@02 {
  224. pio-map = <
  225. /* port pin dir open_drain assignment has_irq */
  226. 0x5 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
  227. 0x5 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
  228. 0x5 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
  229. 0x5 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
  230. 0x5 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
  231. 0x5 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
  232. 0x5 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
  233. 0x5 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
  234. 0x5 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
  235. 0x5 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
  236. 0x5 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
  237. 0x5 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
  238. 0x5 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
  239. 0x5 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
  240. 0x5 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
  241. 0x5 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
  242. 0x5 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
  243. 0x5 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
  244. 0x5 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
  245. 0x5 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
  246. 0x5 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
  247. 0x5 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
  248. 0x1 0x1f 0x2 0x0 0x3 0x0 /* GTX125 */
  249. 0x4 0x6 0x3 0x0 0x2 0x0 /* MDIO */
  250. 0x4 0x5 0x1 0x0 0x2 0x0>; /* MDC */
  251. };
  252. };
  253. };
  254. qe@e0080000 {
  255. #address-cells = <1>;
  256. #size-cells = <1>;
  257. device_type = "qe";
  258. compatible = "fsl,qe";
  259. ranges = <0x0 0xe0080000 0x40000>;
  260. reg = <0xe0080000 0x480>;
  261. brg-frequency = <0>;
  262. bus-frequency = <396000000>;
  263. muram@10000 {
  264. #address-cells = <1>;
  265. #size-cells = <1>;
  266. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  267. ranges = <0x0 0x10000 0x10000>;
  268. data-only@0 {
  269. compatible = "fsl,qe-muram-data",
  270. "fsl,cpm-muram-data";
  271. reg = <0x0 0x10000>;
  272. };
  273. };
  274. spi@4c0 {
  275. cell-index = <0>;
  276. compatible = "fsl,spi";
  277. reg = <0x4c0 0x40>;
  278. interrupts = <2>;
  279. interrupt-parent = <&qeic>;
  280. mode = "cpu";
  281. };
  282. spi@500 {
  283. cell-index = <1>;
  284. compatible = "fsl,spi";
  285. reg = <0x500 0x40>;
  286. interrupts = <1>;
  287. interrupt-parent = <&qeic>;
  288. mode = "cpu";
  289. };
  290. enet2: ucc@2000 {
  291. device_type = "network";
  292. compatible = "ucc_geth";
  293. cell-index = <1>;
  294. reg = <0x2000 0x200>;
  295. interrupts = <32>;
  296. interrupt-parent = <&qeic>;
  297. local-mac-address = [ 00 00 00 00 00 00 ];
  298. rx-clock-name = "none";
  299. tx-clock-name = "clk16";
  300. pio-handle = <&pio1>;
  301. phy-handle = <&phy0>;
  302. phy-connection-type = "rgmii-id";
  303. };
  304. enet3: ucc@3000 {
  305. device_type = "network";
  306. compatible = "ucc_geth";
  307. cell-index = <2>;
  308. reg = <0x3000 0x200>;
  309. interrupts = <33>;
  310. interrupt-parent = <&qeic>;
  311. local-mac-address = [ 00 00 00 00 00 00 ];
  312. rx-clock-name = "none";
  313. tx-clock-name = "clk16";
  314. pio-handle = <&pio2>;
  315. phy-handle = <&phy1>;
  316. phy-connection-type = "rgmii-id";
  317. };
  318. mdio@2120 {
  319. #address-cells = <1>;
  320. #size-cells = <0>;
  321. reg = <0x2120 0x18>;
  322. compatible = "fsl,ucc-mdio";
  323. /* These are the same PHYs as on
  324. * gianfar's MDIO bus */
  325. qe_phy0: ethernet-phy@07 {
  326. interrupt-parent = <&mpic>;
  327. interrupts = <1 1>;
  328. reg = <0x7>;
  329. device_type = "ethernet-phy";
  330. };
  331. qe_phy1: ethernet-phy@01 {
  332. interrupt-parent = <&mpic>;
  333. interrupts = <2 1>;
  334. reg = <0x1>;
  335. device_type = "ethernet-phy";
  336. };
  337. qe_phy2: ethernet-phy@02 {
  338. interrupt-parent = <&mpic>;
  339. interrupts = <1 1>;
  340. reg = <0x2>;
  341. device_type = "ethernet-phy";
  342. };
  343. qe_phy3: ethernet-phy@03 {
  344. interrupt-parent = <&mpic>;
  345. interrupts = <2 1>;
  346. reg = <0x3>;
  347. device_type = "ethernet-phy";
  348. };
  349. };
  350. qeic: interrupt-controller@80 {
  351. interrupt-controller;
  352. compatible = "fsl,qe-ic";
  353. #address-cells = <0>;
  354. #interrupt-cells = <1>;
  355. reg = <0x80 0x80>;
  356. big-endian;
  357. interrupts = <46 2 46 2>; //high:30 low:30
  358. interrupt-parent = <&mpic>;
  359. };
  360. };
  361. pci0: pci@e0008000 {
  362. cell-index = <0>;
  363. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  364. interrupt-map = <
  365. /* IDSEL 0x12 AD18 */
  366. 0x9000 0x0 0x0 0x1 &mpic 0x5 0x1
  367. 0x9000 0x0 0x0 0x2 &mpic 0x6 0x1
  368. 0x9000 0x0 0x0 0x3 &mpic 0x7 0x1
  369. 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
  370. /* IDSEL 0x13 AD19 */
  371. 0x9800 0x0 0x0 0x1 &mpic 0x6 0x1
  372. 0x9800 0x0 0x0 0x2 &mpic 0x7 0x1
  373. 0x9800 0x0 0x0 0x3 &mpic 0x4 0x1
  374. 0x9800 0x0 0x0 0x4 &mpic 0x5 0x1>;
  375. interrupt-parent = <&mpic>;
  376. interrupts = <24 2>;
  377. bus-range = <0 255>;
  378. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  379. 0x1000000 0x0 0x0 0xe2000000 0x0 0x800000>;
  380. clock-frequency = <66666666>;
  381. #interrupt-cells = <1>;
  382. #size-cells = <2>;
  383. #address-cells = <3>;
  384. reg = <0xe0008000 0x1000>;
  385. compatible = "fsl,mpc8540-pci";
  386. device_type = "pci";
  387. };
  388. /* PCI Express */
  389. pci1: pcie@e000a000 {
  390. cell-index = <2>;
  391. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  392. interrupt-map = <
  393. /* IDSEL 0x0 (PEX) */
  394. 00000 0x0 0x0 0x1 &mpic 0x0 0x1
  395. 00000 0x0 0x0 0x2 &mpic 0x1 0x1
  396. 00000 0x0 0x0 0x3 &mpic 0x2 0x1
  397. 00000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  398. interrupt-parent = <&mpic>;
  399. interrupts = <26 2>;
  400. bus-range = <0 255>;
  401. ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  402. 0x1000000 0x0 0x0 0xe2800000 0x0 0x800000>;
  403. clock-frequency = <33333333>;
  404. #interrupt-cells = <1>;
  405. #size-cells = <2>;
  406. #address-cells = <3>;
  407. reg = <0xe000a000 0x1000>;
  408. compatible = "fsl,mpc8548-pcie";
  409. device_type = "pci";
  410. pcie@0 {
  411. reg = <0x0 0x0 0x0 0x0 0x0>;
  412. #size-cells = <2>;
  413. #address-cells = <3>;
  414. device_type = "pci";
  415. ranges = <0x2000000 0x0 0xa0000000
  416. 0x2000000 0x0 0xa0000000
  417. 0x0 0x10000000
  418. 0x1000000 0x0 0x0
  419. 0x1000000 0x0 0x0
  420. 0x0 0x800000>;
  421. };
  422. };
  423. };