mpc8568mds.dts 7.2 KB

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