mpc8568mds.dts 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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. /include/ "mpc8568si-pre.dtsi"
  12. / {
  13. model = "MPC8568EMDS";
  14. compatible = "MPC8568EMDS", "MPC85xxMDS";
  15. aliases {
  16. pci0 = &pci0;
  17. pci1 = &pci1;
  18. rapidio0 = &rio;
  19. };
  20. memory {
  21. device_type = "memory";
  22. reg = <0x0 0x0 0x0 0x0>;
  23. };
  24. lbc: localbus@e0005000 {
  25. reg = <0x0 0xe0005000 0x0 0x1000>;
  26. ranges = <0x0 0x0 0xfe000000 0x02000000
  27. 0x1 0x0 0xf8000000 0x00008000
  28. 0x2 0x0 0xf0000000 0x04000000
  29. 0x4 0x0 0xf8008000 0x00008000
  30. 0x5 0x0 0xf8010000 0x00008000>;
  31. nor@0,0 {
  32. #address-cells = <1>;
  33. #size-cells = <1>;
  34. compatible = "cfi-flash";
  35. reg = <0x0 0x0 0x02000000>;
  36. bank-width = <2>;
  37. device-width = <2>;
  38. };
  39. bcsr@1,0 {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. compatible = "fsl,mpc8568mds-bcsr";
  43. reg = <1 0 0x8000>;
  44. ranges = <0 1 0 0x8000>;
  45. bcsr5: gpio-controller@11 {
  46. #gpio-cells = <2>;
  47. compatible = "fsl,mpc8568mds-bcsr-gpio";
  48. reg = <0x5 0x1>;
  49. gpio-controller;
  50. };
  51. };
  52. pib@4,0 {
  53. compatible = "fsl,mpc8568mds-pib";
  54. reg = <4 0 0x8000>;
  55. };
  56. pib@5,0 {
  57. compatible = "fsl,mpc8568mds-pib";
  58. reg = <5 0 0x8000>;
  59. };
  60. };
  61. soc: soc8568@e0000000 {
  62. ranges = <0x0 0x0 0xe0000000 0x100000>;
  63. i2c-sleep-nexus {
  64. i2c@3000 {
  65. rtc@68 {
  66. compatible = "dallas,ds1374";
  67. reg = <0x68>;
  68. interrupts = <3 1 0 0>;
  69. };
  70. };
  71. };
  72. enet0: ethernet@24000 {
  73. tbi-handle = <&tbi0>;
  74. phy-handle = <&phy2>;
  75. };
  76. mdio@24520 {
  77. phy0: ethernet-phy@7 {
  78. interrupts = <1 1 0 0>;
  79. reg = <0x7>;
  80. };
  81. phy1: ethernet-phy@1 {
  82. interrupts = <2 1 0 0>;
  83. reg = <0x1>;
  84. };
  85. phy2: ethernet-phy@2 {
  86. interrupts = <1 1 0 0>;
  87. reg = <0x2>;
  88. };
  89. phy3: ethernet-phy@3 {
  90. interrupts = <2 1 0 0>;
  91. reg = <0x3>;
  92. };
  93. tbi0: tbi-phy@11 {
  94. reg = <0x11>;
  95. device_type = "tbi-phy";
  96. };
  97. };
  98. enet1: ethernet@25000 {
  99. tbi-handle = <&tbi1>;
  100. phy-handle = <&phy3>;
  101. sleep = <&pmc 0x00000040>;
  102. };
  103. mdio@25520 {
  104. tbi1: tbi-phy@11 {
  105. reg = <0x11>;
  106. device_type = "tbi-phy";
  107. };
  108. };
  109. par_io@e0100 {
  110. num-ports = <7>;
  111. pio1: ucc_pin@01 {
  112. pio-map = <
  113. /* port pin dir open_drain assignment has_irq */
  114. 0x4 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
  115. 0x4 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
  116. 0x4 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
  117. 0x4 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
  118. 0x4 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
  119. 0x4 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
  120. 0x4 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
  121. 0x4 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
  122. 0x4 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
  123. 0x4 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
  124. 0x4 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
  125. 0x4 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
  126. 0x4 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
  127. 0x4 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
  128. 0x4 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
  129. 0x4 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
  130. 0x4 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
  131. 0x4 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
  132. 0x4 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
  133. 0x4 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
  134. 0x4 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
  135. 0x4 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
  136. 0x1 0x1f 0x2 0x0 0x3 0x0>; /* GTX125 */
  137. };
  138. pio2: ucc_pin@02 {
  139. pio-map = <
  140. /* port pin dir open_drain assignment has_irq */
  141. 0x5 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
  142. 0x5 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
  143. 0x5 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
  144. 0x5 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
  145. 0x5 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
  146. 0x5 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
  147. 0x5 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
  148. 0x5 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
  149. 0x5 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
  150. 0x5 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
  151. 0x5 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
  152. 0x5 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
  153. 0x5 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
  154. 0x5 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
  155. 0x5 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
  156. 0x5 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
  157. 0x5 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
  158. 0x5 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
  159. 0x5 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
  160. 0x5 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
  161. 0x5 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
  162. 0x5 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
  163. 0x1 0x1f 0x2 0x0 0x3 0x0 /* GTX125 */
  164. 0x4 0x6 0x3 0x0 0x2 0x0 /* MDIO */
  165. 0x4 0x5 0x1 0x0 0x2 0x0>; /* MDC */
  166. };
  167. };
  168. };
  169. qe: qe@e0080000 {
  170. ranges = <0x0 0x0 0xe0080000 0x40000>;
  171. reg = <0x0 0xe0080000 0x0 0x480>;
  172. spi@4c0 {
  173. mode = "cpu";
  174. };
  175. spi@500 {
  176. mode = "cpu";
  177. };
  178. enet2: ucc@2000 {
  179. device_type = "network";
  180. compatible = "ucc_geth";
  181. local-mac-address = [ 00 00 00 00 00 00 ];
  182. rx-clock-name = "none";
  183. tx-clock-name = "clk16";
  184. pio-handle = <&pio1>;
  185. phy-handle = <&phy0>;
  186. phy-connection-type = "rgmii-id";
  187. };
  188. enet3: ucc@3000 {
  189. device_type = "network";
  190. compatible = "ucc_geth";
  191. local-mac-address = [ 00 00 00 00 00 00 ];
  192. rx-clock-name = "none";
  193. tx-clock-name = "clk16";
  194. pio-handle = <&pio2>;
  195. phy-handle = <&phy1>;
  196. phy-connection-type = "rgmii-id";
  197. };
  198. mdio@2120 {
  199. #address-cells = <1>;
  200. #size-cells = <0>;
  201. reg = <0x2120 0x18>;
  202. compatible = "fsl,ucc-mdio";
  203. /* These are the same PHYs as on
  204. * gianfar's MDIO bus */
  205. qe_phy0: ethernet-phy@07 {
  206. interrupt-parent = <&mpic>;
  207. interrupts = <1 1 0 0>;
  208. reg = <0x7>;
  209. };
  210. qe_phy1: ethernet-phy@01 {
  211. interrupt-parent = <&mpic>;
  212. interrupts = <2 1 0 0>;
  213. reg = <0x1>;
  214. };
  215. qe_phy2: ethernet-phy@02 {
  216. interrupt-parent = <&mpic>;
  217. interrupts = <1 1 0 0>;
  218. reg = <0x2>;
  219. };
  220. qe_phy3: ethernet-phy@03 {
  221. interrupt-parent = <&mpic>;
  222. interrupts = <2 1 0 0>;
  223. reg = <0x3>;
  224. };
  225. };
  226. };
  227. pci0: pci@e0008000 {
  228. reg = <0x0 0xe0008000 0x0 0x1000>;
  229. ranges = <0x2000000 0x0 0x80000000 0x0 0x80000000 0x0 0x20000000
  230. 0x1000000 0x0 0x00000000 0x0 0xe2000000 0x0 0x800000>;
  231. clock-frequency = <66666666>;
  232. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  233. interrupt-map = <
  234. /* IDSEL 0x12 AD18 */
  235. 0x9000 0x0 0x0 0x1 &mpic 0x5 0x1 0 0
  236. 0x9000 0x0 0x0 0x2 &mpic 0x6 0x1 0 0
  237. 0x9000 0x0 0x0 0x3 &mpic 0x7 0x1 0 0
  238. 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1 0 0
  239. /* IDSEL 0x13 AD19 */
  240. 0x9800 0x0 0x0 0x1 &mpic 0x6 0x1 0 0
  241. 0x9800 0x0 0x0 0x2 &mpic 0x7 0x1 0 0
  242. 0x9800 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  243. 0x9800 0x0 0x0 0x4 &mpic 0x5 0x1 0 0>;
  244. };
  245. /* PCI Express */
  246. pci1: pcie@e000a000 {
  247. ranges = <0x2000000 0x0 0xa0000000 0x0 0xa0000000 0x0 0x10000000
  248. 0x1000000 0x0 0x00000000 0x0 0xe2800000 0x0 0x800000>;
  249. reg = <0x0 0xe000a000 0x0 0x1000>;
  250. pcie@0 {
  251. ranges = <0x2000000 0x0 0xa0000000
  252. 0x2000000 0x0 0xa0000000
  253. 0x0 0x10000000
  254. 0x1000000 0x0 0x0
  255. 0x1000000 0x0 0x0
  256. 0x0 0x800000>;
  257. };
  258. };
  259. rio: rapidio@e00c00000 {
  260. reg = <0x0 0xe00c0000 0x0 0x20000>;
  261. port1 {
  262. ranges = <0x0 0x0 0x0 0xc0000000 0x0 0x20000000>;
  263. };
  264. };
  265. leds {
  266. compatible = "gpio-leds";
  267. green {
  268. gpios = <&bcsr5 1 0>;
  269. };
  270. amber {
  271. gpios = <&bcsr5 2 0>;
  272. };
  273. red {
  274. gpios = <&bcsr5 3 0>;
  275. };
  276. };
  277. };
  278. /include/ "mpc8568si-post.dtsi"