mpc8569mds.dts 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  1. /*
  2. * MPC8569E MDS Device Tree Source
  3. *
  4. * Copyright (C) 2009 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 = "MPC8569EMDS";
  14. compatible = "fsl,MPC8569EMDS";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. serial0 = &serial0;
  19. serial1 = &serial1;
  20. ethernet0 = &enet0;
  21. ethernet1 = &enet1;
  22. ethernet2 = &enet2;
  23. ethernet3 = &enet3;
  24. pci1 = &pci1;
  25. };
  26. cpus {
  27. #address-cells = <1>;
  28. #size-cells = <0>;
  29. PowerPC,8569@0 {
  30. device_type = "cpu";
  31. reg = <0x0>;
  32. d-cache-line-size = <32>; // 32 bytes
  33. i-cache-line-size = <32>; // 32 bytes
  34. d-cache-size = <0x8000>; // L1, 32K
  35. i-cache-size = <0x8000>; // L1, 32K
  36. timebase-frequency = <0>;
  37. bus-frequency = <0>;
  38. clock-frequency = <0>;
  39. next-level-cache = <&L2>;
  40. };
  41. };
  42. memory {
  43. device_type = "memory";
  44. };
  45. localbus@e0005000 {
  46. #address-cells = <2>;
  47. #size-cells = <1>;
  48. compatible = "fsl,mpc8569-elbc", "fsl,elbc", "simple-bus";
  49. reg = <0xe0005000 0x1000>;
  50. interrupts = <19 2>;
  51. interrupt-parent = <&mpic>;
  52. ranges = <0x0 0x0 0xfe000000 0x02000000
  53. 0x1 0x0 0xf8000000 0x00008000
  54. 0x2 0x0 0xf0000000 0x04000000
  55. 0x3 0x0 0xfc000000 0x00008000
  56. 0x4 0x0 0xf8008000 0x00008000
  57. 0x5 0x0 0xf8010000 0x00008000>;
  58. nor@0,0 {
  59. #address-cells = <1>;
  60. #size-cells = <1>;
  61. compatible = "cfi-flash";
  62. reg = <0x0 0x0 0x02000000>;
  63. bank-width = <2>;
  64. device-width = <1>;
  65. };
  66. bcsr@1,0 {
  67. compatible = "fsl,mpc8569mds-bcsr";
  68. reg = <1 0 0x8000>;
  69. };
  70. nand@3,0 {
  71. compatible = "fsl,mpc8569-fcm-nand",
  72. "fsl,elbc-fcm-nand";
  73. reg = <3 0 0x8000>;
  74. };
  75. pib@4,0 {
  76. compatible = "fsl,mpc8569mds-pib";
  77. reg = <4 0 0x8000>;
  78. };
  79. pib@5,0 {
  80. compatible = "fsl,mpc8569mds-pib";
  81. reg = <5 0 0x8000>;
  82. };
  83. };
  84. soc@e0000000 {
  85. #address-cells = <1>;
  86. #size-cells = <1>;
  87. device_type = "soc";
  88. compatible = "fsl,mpc8569-immr", "simple-bus";
  89. ranges = <0x0 0xe0000000 0x100000>;
  90. bus-frequency = <0>;
  91. ecm-law@0 {
  92. compatible = "fsl,ecm-law";
  93. reg = <0x0 0x1000>;
  94. fsl,num-laws = <10>;
  95. };
  96. ecm@1000 {
  97. compatible = "fsl,mpc8569-ecm", "fsl,ecm";
  98. reg = <0x1000 0x1000>;
  99. interrupts = <17 2>;
  100. interrupt-parent = <&mpic>;
  101. };
  102. memory-controller@2000 {
  103. compatible = "fsl,mpc8569-memory-controller";
  104. reg = <0x2000 0x1000>;
  105. interrupt-parent = <&mpic>;
  106. interrupts = <18 2>;
  107. };
  108. i2c@3000 {
  109. #address-cells = <1>;
  110. #size-cells = <0>;
  111. cell-index = <0>;
  112. compatible = "fsl-i2c";
  113. reg = <0x3000 0x100>;
  114. interrupts = <43 2>;
  115. interrupt-parent = <&mpic>;
  116. dfsrr;
  117. rtc@68 {
  118. compatible = "dallas,ds1374";
  119. reg = <0x68>;
  120. };
  121. };
  122. i2c@3100 {
  123. #address-cells = <1>;
  124. #size-cells = <0>;
  125. cell-index = <1>;
  126. compatible = "fsl-i2c";
  127. reg = <0x3100 0x100>;
  128. interrupts = <43 2>;
  129. interrupt-parent = <&mpic>;
  130. dfsrr;
  131. };
  132. serial0: serial@4500 {
  133. cell-index = <0>;
  134. device_type = "serial";
  135. compatible = "ns16550";
  136. reg = <0x4500 0x100>;
  137. clock-frequency = <0>;
  138. interrupts = <42 2>;
  139. interrupt-parent = <&mpic>;
  140. };
  141. serial1: serial@4600 {
  142. cell-index = <1>;
  143. device_type = "serial";
  144. compatible = "ns16550";
  145. reg = <0x4600 0x100>;
  146. clock-frequency = <0>;
  147. interrupts = <42 2>;
  148. interrupt-parent = <&mpic>;
  149. };
  150. L2: l2-cache-controller@20000 {
  151. compatible = "fsl,mpc8569-l2-cache-controller";
  152. reg = <0x20000 0x1000>;
  153. cache-line-size = <32>; // 32 bytes
  154. cache-size = <0x80000>; // L2, 512K
  155. interrupt-parent = <&mpic>;
  156. interrupts = <16 2>;
  157. };
  158. dma@21300 {
  159. #address-cells = <1>;
  160. #size-cells = <1>;
  161. compatible = "fsl,mpc8569-dma", "fsl,eloplus-dma";
  162. reg = <0x21300 0x4>;
  163. ranges = <0x0 0x21100 0x200>;
  164. cell-index = <0>;
  165. dma-channel@0 {
  166. compatible = "fsl,mpc8569-dma-channel",
  167. "fsl,eloplus-dma-channel";
  168. reg = <0x0 0x80>;
  169. cell-index = <0>;
  170. interrupt-parent = <&mpic>;
  171. interrupts = <20 2>;
  172. };
  173. dma-channel@80 {
  174. compatible = "fsl,mpc8569-dma-channel",
  175. "fsl,eloplus-dma-channel";
  176. reg = <0x80 0x80>;
  177. cell-index = <1>;
  178. interrupt-parent = <&mpic>;
  179. interrupts = <21 2>;
  180. };
  181. dma-channel@100 {
  182. compatible = "fsl,mpc8569-dma-channel",
  183. "fsl,eloplus-dma-channel";
  184. reg = <0x100 0x80>;
  185. cell-index = <2>;
  186. interrupt-parent = <&mpic>;
  187. interrupts = <22 2>;
  188. };
  189. dma-channel@180 {
  190. compatible = "fsl,mpc8569-dma-channel",
  191. "fsl,eloplus-dma-channel";
  192. reg = <0x180 0x80>;
  193. cell-index = <3>;
  194. interrupt-parent = <&mpic>;
  195. interrupts = <23 2>;
  196. };
  197. };
  198. crypto@30000 {
  199. compatible = "fsl,sec3.1", "fsl,sec3.0", "fsl,sec2.4",
  200. "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
  201. reg = <0x30000 0x10000>;
  202. interrupts = <45 2 58 2>;
  203. interrupt-parent = <&mpic>;
  204. fsl,num-channels = <4>;
  205. fsl,channel-fifo-len = <24>;
  206. fsl,exec-units-mask = <0xbfe>;
  207. fsl,descriptor-types-mask = <0x3ab0ebf>;
  208. };
  209. mpic: pic@40000 {
  210. interrupt-controller;
  211. #address-cells = <0>;
  212. #interrupt-cells = <2>;
  213. reg = <0x40000 0x40000>;
  214. compatible = "chrp,open-pic";
  215. device_type = "open-pic";
  216. };
  217. global-utilities@e0000 {
  218. compatible = "fsl,mpc8569-guts";
  219. reg = <0xe0000 0x1000>;
  220. fsl,has-rstcr;
  221. };
  222. par_io@e0100 {
  223. reg = <0xe0100 0x100>;
  224. device_type = "par_io";
  225. num-ports = <7>;
  226. pio1: ucc_pin@01 {
  227. pio-map = <
  228. /* port pin dir open_drain assignment has_irq */
  229. 0x2 0x1f 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */
  230. 0x2 0x1e 0x3 0x0 0x2 0x0 /* QE_MUX_MDIO */
  231. 0x2 0x0b 0x2 0x0 0x1 0x0 /* CLK12*/
  232. 0x0 0x0 0x1 0x0 0x3 0x0 /* ENET1_TXD0_SER1_TXD0 */
  233. 0x0 0x1 0x1 0x0 0x3 0x0 /* ENET1_TXD1_SER1_TXD1 */
  234. 0x0 0x2 0x1 0x0 0x1 0x0 /* ENET1_TXD2_SER1_TXD2 */
  235. 0x0 0x3 0x1 0x0 0x2 0x0 /* ENET1_TXD3_SER1_TXD3 */
  236. 0x0 0x6 0x2 0x0 0x3 0x0 /* ENET1_RXD0_SER1_RXD0 */
  237. 0x0 0x7 0x2 0x0 0x1 0x0 /* ENET1_RXD1_SER1_RXD1 */
  238. 0x0 0x8 0x2 0x0 0x2 0x0 /* ENET1_RXD2_SER1_RXD2 */
  239. 0x0 0x9 0x2 0x0 0x2 0x0 /* ENET1_RXD3_SER1_RXD3 */
  240. 0x0 0x4 0x1 0x0 0x2 0x0 /* ENET1_TX_EN_SER1_RTS_B */
  241. 0x0 0xc 0x2 0x0 0x3 0x0 /* ENET1_RX_DV_SER1_CTS_B */
  242. 0x2 0x8 0x2 0x0 0x1 0x0 /* ENET1_GRXCLK */
  243. 0x2 0x14 0x1 0x0 0x2 0x0>; /* ENET1_GTXCLK */
  244. };
  245. pio2: ucc_pin@02 {
  246. pio-map = <
  247. /* port pin dir open_drain assignment has_irq */
  248. 0x2 0x1f 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */
  249. 0x2 0x1e 0x3 0x0 0x2 0x0 /* QE_MUX_MDIO */
  250. 0x2 0x10 0x2 0x0 0x3 0x0 /* CLK17 */
  251. 0x0 0xe 0x1 0x0 0x2 0x0 /* ENET2_TXD0_SER2_TXD0 */
  252. 0x0 0xf 0x1 0x0 0x2 0x0 /* ENET2_TXD1_SER2_TXD1 */
  253. 0x0 0x10 0x1 0x0 0x1 0x0 /* ENET2_TXD2_SER2_TXD2 */
  254. 0x0 0x11 0x1 0x0 0x1 0x0 /* ENET2_TXD3_SER2_TXD3 */
  255. 0x0 0x14 0x2 0x0 0x2 0x0 /* ENET2_RXD0_SER2_RXD0 */
  256. 0x0 0x15 0x2 0x0 0x1 0x0 /* ENET2_RXD1_SER2_RXD1 */
  257. 0x0 0x16 0x2 0x0 0x1 0x0 /* ENET2_RXD2_SER2_RXD2 */
  258. 0x0 0x17 0x2 0x0 0x1 0x0 /* ENET2_RXD3_SER2_RXD3 */
  259. 0x0 0x12 0x1 0x0 0x2 0x0 /* ENET2_TX_EN_SER2_RTS_B */
  260. 0x0 0x1a 0x2 0x0 0x3 0x0 /* ENET2_RX_DV_SER2_CTS_B */
  261. 0x2 0x3 0x2 0x0 0x1 0x0 /* ENET2_GRXCLK */
  262. 0x2 0x2 0x1 0x0 0x2 0x0>; /* ENET2_GTXCLK */
  263. };
  264. pio3: ucc_pin@03 {
  265. pio-map = <
  266. /* port pin dir open_drain assignment has_irq */
  267. 0x2 0x1f 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */
  268. 0x2 0x1e 0x3 0x0 0x2 0x0 /* QE_MUX_MDIO */
  269. 0x2 0x0b 0x2 0x0 0x1 0x0 /* CLK12*/
  270. 0x0 0x1d 0x1 0x0 0x2 0x0 /* ENET3_TXD0_SER3_TXD0 */
  271. 0x0 0x1e 0x1 0x0 0x3 0x0 /* ENET3_TXD1_SER3_TXD1 */
  272. 0x0 0x1f 0x1 0x0 0x2 0x0 /* ENET3_TXD2_SER3_TXD2 */
  273. 0x1 0x0 0x1 0x0 0x3 0x0 /* ENET3_TXD3_SER3_TXD3 */
  274. 0x1 0x3 0x2 0x0 0x3 0x0 /* ENET3_RXD0_SER3_RXD0 */
  275. 0x1 0x4 0x2 0x0 0x1 0x0 /* ENET3_RXD1_SER3_RXD1 */
  276. 0x1 0x5 0x2 0x0 0x2 0x0 /* ENET3_RXD2_SER3_RXD2 */
  277. 0x1 0x6 0x2 0x0 0x3 0x0 /* ENET3_RXD3_SER3_RXD3 */
  278. 0x1 0x1 0x1 0x0 0x1 0x0 /* ENET3_TX_EN_SER3_RTS_B */
  279. 0x1 0x9 0x2 0x0 0x3 0x0 /* ENET3_RX_DV_SER3_CTS_B */
  280. 0x2 0x9 0x2 0x0 0x2 0x0 /* ENET3_GRXCLK */
  281. 0x2 0x19 0x1 0x0 0x2 0x0>; /* ENET3_GTXCLK */
  282. };
  283. pio4: ucc_pin@04 {
  284. pio-map = <
  285. /* port pin dir open_drain assignment has_irq */
  286. 0x2 0x1f 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */
  287. 0x2 0x1e 0x3 0x0 0x2 0x0 /* QE_MUX_MDIO */
  288. 0x2 0x10 0x2 0x0 0x3 0x0 /* CLK17 */
  289. 0x1 0xc 0x1 0x0 0x2 0x0 /* ENET4_TXD0_SER4_TXD0 */
  290. 0x1 0xd 0x1 0x0 0x2 0x0 /* ENET4_TXD1_SER4_TXD1 */
  291. 0x1 0xe 0x1 0x0 0x1 0x0 /* ENET4_TXD2_SER4_TXD2 */
  292. 0x1 0xf 0x1 0x0 0x2 0x0 /* ENET4_TXD3_SER4_TXD3 */
  293. 0x1 0x12 0x2 0x0 0x2 0x0 /* ENET4_RXD0_SER4_RXD0 */
  294. 0x1 0x13 0x2 0x0 0x1 0x0 /* ENET4_RXD1_SER4_RXD1 */
  295. 0x1 0x14 0x2 0x0 0x1 0x0 /* ENET4_RXD2_SER4_RXD2 */
  296. 0x1 0x15 0x2 0x0 0x2 0x0 /* ENET4_RXD3_SER4_RXD3 */
  297. 0x1 0x10 0x1 0x0 0x2 0x0 /* ENET4_TX_EN_SER4_RTS_B */
  298. 0x1 0x18 0x2 0x0 0x3 0x0 /* ENET4_RX_DV_SER4_CTS_B */
  299. 0x2 0x11 0x2 0x0 0x2 0x0 /* ENET4_GRXCLK */
  300. 0x2 0x18 0x1 0x0 0x2 0x0>; /* ENET4_GTXCLK */
  301. };
  302. };
  303. };
  304. qe@e0080000 {
  305. #address-cells = <1>;
  306. #size-cells = <1>;
  307. device_type = "qe";
  308. compatible = "fsl,qe";
  309. ranges = <0x0 0xe0080000 0x40000>;
  310. reg = <0xe0080000 0x480>;
  311. brg-frequency = <0>;
  312. bus-frequency = <0>;
  313. fsl,qe-num-riscs = <4>;
  314. fsl,qe-num-snums = <46>;
  315. qeic: interrupt-controller@80 {
  316. interrupt-controller;
  317. compatible = "fsl,qe-ic";
  318. #address-cells = <0>;
  319. #interrupt-cells = <1>;
  320. reg = <0x80 0x80>;
  321. interrupts = <46 2 46 2>; //high:30 low:30
  322. interrupt-parent = <&mpic>;
  323. };
  324. spi@4c0 {
  325. cell-index = <0>;
  326. compatible = "fsl,spi";
  327. reg = <0x4c0 0x40>;
  328. interrupts = <2>;
  329. interrupt-parent = <&qeic>;
  330. mode = "cpu";
  331. };
  332. spi@500 {
  333. cell-index = <1>;
  334. compatible = "fsl,spi";
  335. reg = <0x500 0x40>;
  336. interrupts = <1>;
  337. interrupt-parent = <&qeic>;
  338. mode = "cpu";
  339. };
  340. enet0: ucc@2000 {
  341. device_type = "network";
  342. compatible = "ucc_geth";
  343. cell-index = <1>;
  344. reg = <0x2000 0x200>;
  345. interrupts = <32>;
  346. interrupt-parent = <&qeic>;
  347. local-mac-address = [ 00 00 00 00 00 00 ];
  348. rx-clock-name = "none";
  349. tx-clock-name = "clk12";
  350. pio-handle = <&pio1>;
  351. phy-handle = <&qe_phy0>;
  352. phy-connection-type = "rgmii-id";
  353. };
  354. mdio@2120 {
  355. #address-cells = <1>;
  356. #size-cells = <0>;
  357. reg = <0x2120 0x18>;
  358. compatible = "fsl,ucc-mdio";
  359. qe_phy0: ethernet-phy@07 {
  360. interrupt-parent = <&mpic>;
  361. interrupts = <1 1>;
  362. reg = <0x7>;
  363. device_type = "ethernet-phy";
  364. };
  365. qe_phy1: ethernet-phy@01 {
  366. interrupt-parent = <&mpic>;
  367. interrupts = <2 1>;
  368. reg = <0x1>;
  369. device_type = "ethernet-phy";
  370. };
  371. qe_phy2: ethernet-phy@02 {
  372. interrupt-parent = <&mpic>;
  373. interrupts = <3 1>;
  374. reg = <0x2>;
  375. device_type = "ethernet-phy";
  376. };
  377. qe_phy3: ethernet-phy@03 {
  378. interrupt-parent = <&mpic>;
  379. interrupts = <4 1>;
  380. reg = <0x3>;
  381. device_type = "ethernet-phy";
  382. };
  383. };
  384. enet2: ucc@2200 {
  385. device_type = "network";
  386. compatible = "ucc_geth";
  387. cell-index = <3>;
  388. reg = <0x2200 0x200>;
  389. interrupts = <34>;
  390. interrupt-parent = <&qeic>;
  391. local-mac-address = [ 00 00 00 00 00 00 ];
  392. rx-clock-name = "none";
  393. tx-clock-name = "clk12";
  394. pio-handle = <&pio3>;
  395. phy-handle = <&qe_phy2>;
  396. phy-connection-type = "rgmii-id";
  397. };
  398. enet1: ucc@3000 {
  399. device_type = "network";
  400. compatible = "ucc_geth";
  401. cell-index = <2>;
  402. reg = <0x3000 0x200>;
  403. interrupts = <33>;
  404. interrupt-parent = <&qeic>;
  405. local-mac-address = [ 00 00 00 00 00 00 ];
  406. rx-clock-name = "none";
  407. tx-clock-name = "clk17";
  408. pio-handle = <&pio2>;
  409. phy-handle = <&qe_phy1>;
  410. phy-connection-type = "rgmii-id";
  411. };
  412. enet3: ucc@3200 {
  413. device_type = "network";
  414. compatible = "ucc_geth";
  415. cell-index = <4>;
  416. reg = <0x3200 0x200>;
  417. interrupts = <35>;
  418. interrupt-parent = <&qeic>;
  419. local-mac-address = [ 00 00 00 00 00 00 ];
  420. rx-clock-name = "none";
  421. tx-clock-name = "clk17";
  422. pio-handle = <&pio4>;
  423. phy-handle = <&qe_phy3>;
  424. phy-connection-type = "rgmii-id";
  425. };
  426. muram@10000 {
  427. #address-cells = <1>;
  428. #size-cells = <1>;
  429. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  430. ranges = <0x0 0x10000 0x20000>;
  431. data-only@0 {
  432. compatible = "fsl,qe-muram-data",
  433. "fsl,cpm-muram-data";
  434. reg = <0x0 0x20000>;
  435. };
  436. };
  437. };
  438. /* PCI Express */
  439. pci1: pcie@e000a000 {
  440. compatible = "fsl,mpc8548-pcie";
  441. device_type = "pci";
  442. #interrupt-cells = <1>;
  443. #size-cells = <2>;
  444. #address-cells = <3>;
  445. reg = <0xe000a000 0x1000>;
  446. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  447. interrupt-map = <
  448. /* IDSEL 0x0 (PEX) */
  449. 00000 0x0 0x0 0x1 &mpic 0x0 0x1
  450. 00000 0x0 0x0 0x2 &mpic 0x1 0x1
  451. 00000 0x0 0x0 0x3 &mpic 0x2 0x1
  452. 00000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  453. interrupt-parent = <&mpic>;
  454. interrupts = <26 2>;
  455. bus-range = <0 255>;
  456. ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  457. 0x1000000 0x0 0x00000000 0xe2800000 0x0 0x00800000>;
  458. clock-frequency = <33333333>;
  459. pcie@0 {
  460. reg = <0x0 0x0 0x0 0x0 0x0>;
  461. #size-cells = <2>;
  462. #address-cells = <3>;
  463. device_type = "pci";
  464. ranges = <0x2000000 0x0 0xa0000000
  465. 0x2000000 0x0 0xa0000000
  466. 0x0 0x10000000
  467. 0x1000000 0x0 0x0
  468. 0x1000000 0x0 0x0
  469. 0x0 0x800000>;
  470. };
  471. };
  472. };