mpc8568mds.dts 13 KB

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