mpc8568mds.dts 13 KB

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