mpc8569mds.dts 13 KB

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