mpc8568mds.dts 13 KB

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