mpc8569mds.dts 13 KB

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