mpc8568mds.dts 11 KB

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