mpc8568mds.dts 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  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. rapidio0 = &rio0;
  27. };
  28. cpus {
  29. #address-cells = <1>;
  30. #size-cells = <0>;
  31. PowerPC,8568@0 {
  32. device_type = "cpu";
  33. reg = <0x0>;
  34. d-cache-line-size = <32>; // 32 bytes
  35. i-cache-line-size = <32>; // 32 bytes
  36. d-cache-size = <0x8000>; // L1, 32K
  37. i-cache-size = <0x8000>; // L1, 32K
  38. timebase-frequency = <0>;
  39. bus-frequency = <0>;
  40. clock-frequency = <0>;
  41. next-level-cache = <&L2>;
  42. };
  43. };
  44. memory {
  45. device_type = "memory";
  46. reg = <0x0 0x10000000>;
  47. };
  48. bcsr@f8000000 {
  49. compatible = "fsl,mpc8568mds-bcsr";
  50. reg = <0xf8000000 0x8000>;
  51. };
  52. soc8568@e0000000 {
  53. #address-cells = <1>;
  54. #size-cells = <1>;
  55. device_type = "soc";
  56. compatible = "simple-bus";
  57. ranges = <0x0 0xe0000000 0x100000>;
  58. bus-frequency = <0>;
  59. ecm-law@0 {
  60. compatible = "fsl,ecm-law";
  61. reg = <0x0 0x1000>;
  62. fsl,num-laws = <10>;
  63. };
  64. ecm@1000 {
  65. compatible = "fsl,mpc8568-ecm", "fsl,ecm";
  66. reg = <0x1000 0x1000>;
  67. interrupts = <17 2>;
  68. interrupt-parent = <&mpic>;
  69. };
  70. memory-controller@2000 {
  71. compatible = "fsl,8568-memory-controller";
  72. reg = <0x2000 0x1000>;
  73. interrupt-parent = <&mpic>;
  74. interrupts = <18 2>;
  75. };
  76. L2: l2-cache-controller@20000 {
  77. compatible = "fsl,8568-l2-cache-controller";
  78. reg = <0x20000 0x1000>;
  79. cache-line-size = <32>; // 32 bytes
  80. cache-size = <0x80000>; // L2, 512K
  81. interrupt-parent = <&mpic>;
  82. interrupts = <16 2>;
  83. };
  84. i2c@3000 {
  85. #address-cells = <1>;
  86. #size-cells = <0>;
  87. cell-index = <0>;
  88. compatible = "fsl-i2c";
  89. reg = <0x3000 0x100>;
  90. interrupts = <43 2>;
  91. interrupt-parent = <&mpic>;
  92. dfsrr;
  93. rtc@68 {
  94. compatible = "dallas,ds1374";
  95. reg = <0x68>;
  96. };
  97. };
  98. i2c@3100 {
  99. #address-cells = <1>;
  100. #size-cells = <0>;
  101. cell-index = <1>;
  102. compatible = "fsl-i2c";
  103. reg = <0x3100 0x100>;
  104. interrupts = <43 2>;
  105. interrupt-parent = <&mpic>;
  106. dfsrr;
  107. };
  108. dma@21300 {
  109. #address-cells = <1>;
  110. #size-cells = <1>;
  111. compatible = "fsl,mpc8568-dma", "fsl,eloplus-dma";
  112. reg = <0x21300 0x4>;
  113. ranges = <0x0 0x21100 0x200>;
  114. cell-index = <0>;
  115. dma-channel@0 {
  116. compatible = "fsl,mpc8568-dma-channel",
  117. "fsl,eloplus-dma-channel";
  118. reg = <0x0 0x80>;
  119. cell-index = <0>;
  120. interrupt-parent = <&mpic>;
  121. interrupts = <20 2>;
  122. };
  123. dma-channel@80 {
  124. compatible = "fsl,mpc8568-dma-channel",
  125. "fsl,eloplus-dma-channel";
  126. reg = <0x80 0x80>;
  127. cell-index = <1>;
  128. interrupt-parent = <&mpic>;
  129. interrupts = <21 2>;
  130. };
  131. dma-channel@100 {
  132. compatible = "fsl,mpc8568-dma-channel",
  133. "fsl,eloplus-dma-channel";
  134. reg = <0x100 0x80>;
  135. cell-index = <2>;
  136. interrupt-parent = <&mpic>;
  137. interrupts = <22 2>;
  138. };
  139. dma-channel@180 {
  140. compatible = "fsl,mpc8568-dma-channel",
  141. "fsl,eloplus-dma-channel";
  142. reg = <0x180 0x80>;
  143. cell-index = <3>;
  144. interrupt-parent = <&mpic>;
  145. interrupts = <23 2>;
  146. };
  147. };
  148. enet0: ethernet@24000 {
  149. #address-cells = <1>;
  150. #size-cells = <1>;
  151. cell-index = <0>;
  152. device_type = "network";
  153. model = "eTSEC";
  154. compatible = "gianfar";
  155. reg = <0x24000 0x1000>;
  156. ranges = <0x0 0x24000 0x1000>;
  157. local-mac-address = [ 00 00 00 00 00 00 ];
  158. interrupts = <29 2 30 2 34 2>;
  159. interrupt-parent = <&mpic>;
  160. tbi-handle = <&tbi0>;
  161. phy-handle = <&phy2>;
  162. mdio@520 {
  163. #address-cells = <1>;
  164. #size-cells = <0>;
  165. compatible = "fsl,gianfar-mdio";
  166. reg = <0x520 0x20>;
  167. phy0: ethernet-phy@7 {
  168. interrupt-parent = <&mpic>;
  169. interrupts = <1 1>;
  170. reg = <0x7>;
  171. device_type = "ethernet-phy";
  172. };
  173. phy1: ethernet-phy@1 {
  174. interrupt-parent = <&mpic>;
  175. interrupts = <2 1>;
  176. reg = <0x1>;
  177. device_type = "ethernet-phy";
  178. };
  179. phy2: ethernet-phy@2 {
  180. interrupt-parent = <&mpic>;
  181. interrupts = <1 1>;
  182. reg = <0x2>;
  183. device_type = "ethernet-phy";
  184. };
  185. phy3: ethernet-phy@3 {
  186. interrupt-parent = <&mpic>;
  187. interrupts = <2 1>;
  188. reg = <0x3>;
  189. device_type = "ethernet-phy";
  190. };
  191. tbi0: tbi-phy@11 {
  192. reg = <0x11>;
  193. device_type = "tbi-phy";
  194. };
  195. };
  196. };
  197. enet1: ethernet@25000 {
  198. #address-cells = <1>;
  199. #size-cells = <1>;
  200. cell-index = <1>;
  201. device_type = "network";
  202. model = "eTSEC";
  203. compatible = "gianfar";
  204. reg = <0x25000 0x1000>;
  205. ranges = <0x0 0x25000 0x1000>;
  206. local-mac-address = [ 00 00 00 00 00 00 ];
  207. interrupts = <35 2 36 2 40 2>;
  208. interrupt-parent = <&mpic>;
  209. tbi-handle = <&tbi1>;
  210. phy-handle = <&phy3>;
  211. mdio@520 {
  212. #address-cells = <1>;
  213. #size-cells = <0>;
  214. compatible = "fsl,gianfar-tbi";
  215. reg = <0x520 0x20>;
  216. tbi1: tbi-phy@11 {
  217. reg = <0x11>;
  218. device_type = "tbi-phy";
  219. };
  220. };
  221. };
  222. serial0: serial@4500 {
  223. cell-index = <0>;
  224. device_type = "serial";
  225. compatible = "ns16550";
  226. reg = <0x4500 0x100>;
  227. clock-frequency = <0>;
  228. interrupts = <42 2>;
  229. interrupt-parent = <&mpic>;
  230. };
  231. global-utilities@e0000 { //global utilities block
  232. compatible = "fsl,mpc8548-guts";
  233. reg = <0xe0000 0x1000>;
  234. fsl,has-rstcr;
  235. };
  236. serial1: serial@4600 {
  237. cell-index = <1>;
  238. device_type = "serial";
  239. compatible = "ns16550";
  240. reg = <0x4600 0x100>;
  241. clock-frequency = <0>;
  242. interrupts = <42 2>;
  243. interrupt-parent = <&mpic>;
  244. };
  245. crypto@30000 {
  246. compatible = "fsl,sec2.1", "fsl,sec2.0";
  247. reg = <0x30000 0x10000>;
  248. interrupts = <45 2>;
  249. interrupt-parent = <&mpic>;
  250. fsl,num-channels = <4>;
  251. fsl,channel-fifo-len = <24>;
  252. fsl,exec-units-mask = <0xfe>;
  253. fsl,descriptor-types-mask = <0x12b0ebf>;
  254. };
  255. mpic: pic@40000 {
  256. interrupt-controller;
  257. #address-cells = <0>;
  258. #interrupt-cells = <2>;
  259. reg = <0x40000 0x40000>;
  260. compatible = "chrp,open-pic";
  261. device_type = "open-pic";
  262. };
  263. msi@41600 {
  264. compatible = "fsl,mpc8568-msi", "fsl,mpic-msi";
  265. reg = <0x41600 0x80>;
  266. msi-available-ranges = <0 0x100>;
  267. interrupts = <
  268. 0xe0 0
  269. 0xe1 0
  270. 0xe2 0
  271. 0xe3 0
  272. 0xe4 0
  273. 0xe5 0
  274. 0xe6 0
  275. 0xe7 0>;
  276. interrupt-parent = <&mpic>;
  277. };
  278. par_io@e0100 {
  279. reg = <0xe0100 0x100>;
  280. device_type = "par_io";
  281. num-ports = <7>;
  282. pio1: ucc_pin@01 {
  283. pio-map = <
  284. /* port pin dir open_drain assignment has_irq */
  285. 0x4 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
  286. 0x4 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
  287. 0x4 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
  288. 0x4 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
  289. 0x4 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
  290. 0x4 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
  291. 0x4 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
  292. 0x4 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
  293. 0x4 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
  294. 0x4 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
  295. 0x4 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
  296. 0x4 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
  297. 0x4 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
  298. 0x4 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
  299. 0x4 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
  300. 0x4 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
  301. 0x4 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
  302. 0x4 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
  303. 0x4 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
  304. 0x4 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
  305. 0x4 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
  306. 0x4 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
  307. 0x1 0x1f 0x2 0x0 0x3 0x0>; /* GTX125 */
  308. };
  309. pio2: ucc_pin@02 {
  310. pio-map = <
  311. /* port pin dir open_drain assignment has_irq */
  312. 0x5 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
  313. 0x5 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
  314. 0x5 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
  315. 0x5 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
  316. 0x5 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
  317. 0x5 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
  318. 0x5 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
  319. 0x5 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
  320. 0x5 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
  321. 0x5 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
  322. 0x5 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
  323. 0x5 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
  324. 0x5 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
  325. 0x5 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
  326. 0x5 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
  327. 0x5 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
  328. 0x5 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
  329. 0x5 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
  330. 0x5 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
  331. 0x5 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
  332. 0x5 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
  333. 0x5 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
  334. 0x1 0x1f 0x2 0x0 0x3 0x0 /* GTX125 */
  335. 0x4 0x6 0x3 0x0 0x2 0x0 /* MDIO */
  336. 0x4 0x5 0x1 0x0 0x2 0x0>; /* MDC */
  337. };
  338. };
  339. };
  340. qe@e0080000 {
  341. #address-cells = <1>;
  342. #size-cells = <1>;
  343. device_type = "qe";
  344. compatible = "fsl,qe";
  345. ranges = <0x0 0xe0080000 0x40000>;
  346. reg = <0xe0080000 0x480>;
  347. brg-frequency = <0>;
  348. bus-frequency = <396000000>;
  349. fsl,qe-num-riscs = <2>;
  350. fsl,qe-num-snums = <28>;
  351. muram@10000 {
  352. #address-cells = <1>;
  353. #size-cells = <1>;
  354. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  355. ranges = <0x0 0x10000 0x10000>;
  356. data-only@0 {
  357. compatible = "fsl,qe-muram-data",
  358. "fsl,cpm-muram-data";
  359. reg = <0x0 0x10000>;
  360. };
  361. };
  362. spi@4c0 {
  363. cell-index = <0>;
  364. compatible = "fsl,spi";
  365. reg = <0x4c0 0x40>;
  366. interrupts = <2>;
  367. interrupt-parent = <&qeic>;
  368. mode = "cpu";
  369. };
  370. spi@500 {
  371. cell-index = <1>;
  372. compatible = "fsl,spi";
  373. reg = <0x500 0x40>;
  374. interrupts = <1>;
  375. interrupt-parent = <&qeic>;
  376. mode = "cpu";
  377. };
  378. enet2: ucc@2000 {
  379. device_type = "network";
  380. compatible = "ucc_geth";
  381. cell-index = <1>;
  382. reg = <0x2000 0x200>;
  383. interrupts = <32>;
  384. interrupt-parent = <&qeic>;
  385. local-mac-address = [ 00 00 00 00 00 00 ];
  386. rx-clock-name = "none";
  387. tx-clock-name = "clk16";
  388. pio-handle = <&pio1>;
  389. phy-handle = <&phy0>;
  390. phy-connection-type = "rgmii-id";
  391. };
  392. enet3: ucc@3000 {
  393. device_type = "network";
  394. compatible = "ucc_geth";
  395. cell-index = <2>;
  396. reg = <0x3000 0x200>;
  397. interrupts = <33>;
  398. interrupt-parent = <&qeic>;
  399. local-mac-address = [ 00 00 00 00 00 00 ];
  400. rx-clock-name = "none";
  401. tx-clock-name = "clk16";
  402. pio-handle = <&pio2>;
  403. phy-handle = <&phy1>;
  404. phy-connection-type = "rgmii-id";
  405. };
  406. mdio@2120 {
  407. #address-cells = <1>;
  408. #size-cells = <0>;
  409. reg = <0x2120 0x18>;
  410. compatible = "fsl,ucc-mdio";
  411. /* These are the same PHYs as on
  412. * gianfar's MDIO bus */
  413. qe_phy0: ethernet-phy@07 {
  414. interrupt-parent = <&mpic>;
  415. interrupts = <1 1>;
  416. reg = <0x7>;
  417. device_type = "ethernet-phy";
  418. };
  419. qe_phy1: ethernet-phy@01 {
  420. interrupt-parent = <&mpic>;
  421. interrupts = <2 1>;
  422. reg = <0x1>;
  423. device_type = "ethernet-phy";
  424. };
  425. qe_phy2: ethernet-phy@02 {
  426. interrupt-parent = <&mpic>;
  427. interrupts = <1 1>;
  428. reg = <0x2>;
  429. device_type = "ethernet-phy";
  430. };
  431. qe_phy3: ethernet-phy@03 {
  432. interrupt-parent = <&mpic>;
  433. interrupts = <2 1>;
  434. reg = <0x3>;
  435. device_type = "ethernet-phy";
  436. };
  437. };
  438. qeic: interrupt-controller@80 {
  439. interrupt-controller;
  440. compatible = "fsl,qe-ic";
  441. #address-cells = <0>;
  442. #interrupt-cells = <1>;
  443. reg = <0x80 0x80>;
  444. big-endian;
  445. interrupts = <46 2 46 2>; //high:30 low:30
  446. interrupt-parent = <&mpic>;
  447. };
  448. };
  449. pci0: pci@e0008000 {
  450. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  451. interrupt-map = <
  452. /* IDSEL 0x12 AD18 */
  453. 0x9000 0x0 0x0 0x1 &mpic 0x5 0x1
  454. 0x9000 0x0 0x0 0x2 &mpic 0x6 0x1
  455. 0x9000 0x0 0x0 0x3 &mpic 0x7 0x1
  456. 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
  457. /* IDSEL 0x13 AD19 */
  458. 0x9800 0x0 0x0 0x1 &mpic 0x6 0x1
  459. 0x9800 0x0 0x0 0x2 &mpic 0x7 0x1
  460. 0x9800 0x0 0x0 0x3 &mpic 0x4 0x1
  461. 0x9800 0x0 0x0 0x4 &mpic 0x5 0x1>;
  462. interrupt-parent = <&mpic>;
  463. interrupts = <24 2>;
  464. bus-range = <0 255>;
  465. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  466. 0x1000000 0x0 0x0 0xe2000000 0x0 0x800000>;
  467. clock-frequency = <66666666>;
  468. #interrupt-cells = <1>;
  469. #size-cells = <2>;
  470. #address-cells = <3>;
  471. reg = <0xe0008000 0x1000>;
  472. compatible = "fsl,mpc8540-pci";
  473. device_type = "pci";
  474. };
  475. /* PCI Express */
  476. pci1: pcie@e000a000 {
  477. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  478. interrupt-map = <
  479. /* IDSEL 0x0 (PEX) */
  480. 00000 0x0 0x0 0x1 &mpic 0x0 0x1
  481. 00000 0x0 0x0 0x2 &mpic 0x1 0x1
  482. 00000 0x0 0x0 0x3 &mpic 0x2 0x1
  483. 00000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  484. interrupt-parent = <&mpic>;
  485. interrupts = <26 2>;
  486. bus-range = <0 255>;
  487. ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  488. 0x1000000 0x0 0x0 0xe2800000 0x0 0x800000>;
  489. clock-frequency = <33333333>;
  490. #interrupt-cells = <1>;
  491. #size-cells = <2>;
  492. #address-cells = <3>;
  493. reg = <0xe000a000 0x1000>;
  494. compatible = "fsl,mpc8548-pcie";
  495. device_type = "pci";
  496. pcie@0 {
  497. reg = <0x0 0x0 0x0 0x0 0x0>;
  498. #size-cells = <2>;
  499. #address-cells = <3>;
  500. device_type = "pci";
  501. ranges = <0x2000000 0x0 0xa0000000
  502. 0x2000000 0x0 0xa0000000
  503. 0x0 0x10000000
  504. 0x1000000 0x0 0x0
  505. 0x1000000 0x0 0x0
  506. 0x0 0x800000>;
  507. };
  508. };
  509. rio0: rapidio@e00c00000 {
  510. #address-cells = <2>;
  511. #size-cells = <2>;
  512. compatible = "fsl,mpc8568-rapidio", "fsl,rapidio-delta";
  513. reg = <0xe00c0000 0x20000>;
  514. ranges = <0x0 0x0 0xc0000000 0x0 0x20000000>;
  515. interrupts = <48 2 /* error */
  516. 49 2 /* bell_outb */
  517. 50 2 /* bell_inb */
  518. 53 2 /* msg1_tx */
  519. 54 2 /* msg1_rx */
  520. 55 2 /* msg2_tx */
  521. 56 2 /* msg2_rx */>;
  522. interrupt-parent = <&mpic>;
  523. };
  524. };