mvme2500.dts 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. /*
  2. * Device tree source for the Emerson/Artesyn MVME2500
  3. *
  4. * Copyright 2014 Elettra-Sincrotrone Trieste S.C.p.A.
  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. * Based on: P2020 DS Device Tree Source
  12. * Copyright 2009 Freescale Semiconductor Inc.
  13. */
  14. /include/ "p2020si-pre.dtsi"
  15. / {
  16. model = "MVME2500";
  17. compatible = "artesyn,MVME2500";
  18. aliases {
  19. serial2 = &serial2;
  20. serial3 = &serial3;
  21. serial4 = &serial4;
  22. serial5 = &serial5;
  23. };
  24. memory {
  25. device_type = "memory";
  26. };
  27. soc: soc@ffe00000 {
  28. ranges = <0x0 0 0xffe00000 0x100000>;
  29. i2c@3000 {
  30. hwmon@4c {
  31. compatible = "adi,adt7461";
  32. reg = <0x4c>;
  33. };
  34. rtc@68 {
  35. compatible = "dallas,ds1337";
  36. reg = <0x68>;
  37. interrupts = <8 1 0 0>;
  38. };
  39. eeprom@54 {
  40. compatible = "atmel,24c64";
  41. reg = <0x54>;
  42. };
  43. eeprom@52 {
  44. compatible = "atmel,24c512";
  45. reg = <0x52>;
  46. };
  47. eeprom@53 {
  48. compatible = "atmel,24c512";
  49. reg = <0x53>;
  50. };
  51. eeprom@50 {
  52. compatible = "atmel,24c02";
  53. reg = <0x50>;
  54. };
  55. };
  56. spi0: spi@7000 {
  57. fsl,espi-num-chipselects = <2>;
  58. flash@0 {
  59. compatible = "atmel,at25df641", "jedec,spi-nor";
  60. reg = <0>;
  61. spi-max-frequency = <10000000>;
  62. };
  63. flash@1 {
  64. compatible = "atmel,at25df641", "jedec,spi-nor";
  65. reg = <1>;
  66. spi-max-frequency = <10000000>;
  67. };
  68. };
  69. usb@22000 {
  70. dr_mode = "host";
  71. phy_type = "ulpi";
  72. };
  73. enet0: ethernet@24000 {
  74. tbi-handle = <&tbi0>;
  75. phy-handle = <&phy1>;
  76. phy-connection-type = "rgmii-id";
  77. };
  78. mdio@24520 {
  79. phy1: ethernet-phy@1 {
  80. compatible = "brcm,bcm54616S";
  81. interrupts = <6 1 0 0>;
  82. reg = <0x1>;
  83. };
  84. phy2: ethernet-phy@2 {
  85. compatible = "brcm,bcm54616S";
  86. interrupts = <6 1 0 0>;
  87. reg = <0x2>;
  88. };
  89. phy3: ethernet-phy@3 {
  90. compatible = "brcm,bcm54616S";
  91. interrupts = <5 1 0 0>;
  92. reg = <0x3>;
  93. };
  94. phy7: ethernet-phy@7 {
  95. compatible = "brcm,bcm54616S";
  96. interrupts = <7 1 0 0>;
  97. reg = <0x7>;
  98. };
  99. tbi0: tbi-phy@11 {
  100. reg = <0x11>;
  101. device_type = "tbi-phy";
  102. };
  103. };
  104. enet1: ethernet@25000 {
  105. tbi-handle = <&tbi1>;
  106. phy-handle = <&phy7>;
  107. phy-connection-type = "rgmii-id";
  108. };
  109. mdio@25520 {
  110. tbi1: tbi-phy@11 {
  111. reg = <0x11>;
  112. device_type = "tbi-phy";
  113. };
  114. };
  115. enet2: ethernet@26000 {
  116. tbi-handle = <&tbi2>;
  117. phy-handle = <&phy3>;
  118. phy-connection-type = "rgmii-id";
  119. };
  120. mdio@26520 {
  121. tbi2: tbi-phy@11 {
  122. reg = <0x11>;
  123. device_type = "tbi-phy";
  124. };
  125. };
  126. };
  127. lbc: localbus@ffe05000 {
  128. reg = <0 0xffe05000 0 0x1000>;
  129. ranges = <0x0 0x0 0x0 0xfff00000 0x00080000
  130. 0x1 0x0 0x0 0xffc40000 0x00010000
  131. 0x2 0x0 0x0 0xffc50000 0x00010000
  132. 0x3 0x0 0x0 0xffc60000 0x00010000
  133. 0x4 0x0 0x0 0xffc70000 0x00010000
  134. 0x6 0x0 0x0 0xffc80000 0x00010000
  135. 0x5 0x0 0x0 0xffdf0000 0x00008000>;
  136. serial2: serial@1,0 {
  137. device_type = "serial";
  138. compatible = "ns16550";
  139. reg = <0x1 0x0 0x100>;
  140. clock-frequency = <1843200>;
  141. interrupts = <11 2 0 0>;
  142. };
  143. serial3: serial@2,0 {
  144. device_type = "serial";
  145. compatible = "ns16550";
  146. reg = <0x2 0x0 0x100>;
  147. clock-frequency = <1843200>;
  148. interrupts = <1 2 0 0>;
  149. };
  150. serial4: serial@3,0 {
  151. device_type = "serial";
  152. compatible = "ns16550";
  153. reg = <0x3 0x0 0x100>;
  154. clock-frequency = <1843200>;
  155. interrupts = <2 2 0 0>;
  156. };
  157. serial5: serial@4,0 {
  158. device_type = "serial";
  159. compatible = "ns16550";
  160. reg = <0x4 0x0 0x100>;
  161. clock-frequency = <1843200>;
  162. interrupts = <3 2 0 0>;
  163. };
  164. mram@0,0 {
  165. compatible = "everspin,mram", "mtd-ram";
  166. reg = <0x0 0x0 0x80000>;
  167. bank-width = <2>;
  168. };
  169. board-control@5,0 {
  170. compatible = "artesyn,mvme2500-fpga";
  171. reg = <0x5 0x0 0x01000>;
  172. };
  173. cpld@6,0 {
  174. compatible = "artesyn,mvme2500-cpld";
  175. reg = <0x6 0x0 0x10000>;
  176. interrupts = <9 1 0 0>;
  177. };
  178. };
  179. pci0: pcie@ffe08000 {
  180. reg = <0 0xffe08000 0 0x1000>;
  181. ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
  182. 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
  183. pcie@0 {
  184. ranges = <0x2000000 0x0 0x80000000
  185. 0x2000000 0x0 0x80000000
  186. 0x0 0x20000000
  187. 0x1000000 0x0 0x0
  188. 0x1000000 0x0 0x0
  189. 0x0 0x10000>;
  190. };
  191. };
  192. pci1: pcie@ffe09000 {
  193. reg = <0 0xffe09000 0 0x1000>;
  194. ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
  195. 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
  196. pcie@0 {
  197. ranges = <0x2000000 0x0 0xa0000000
  198. 0x2000000 0x0 0xa0000000
  199. 0x0 0x20000000
  200. 0x1000000 0x0 0x0
  201. 0x1000000 0x0 0x0
  202. 0x0 0x10000>;
  203. };
  204. };
  205. pci2: pcie@ffe0a000 {
  206. reg = <0 0xffe0a000 0 0x1000>;
  207. ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000
  208. 0x1000000 0x0 0x00000000 0 0xffc20000 0x0 0x10000>;
  209. pcie@0 {
  210. ranges = <0x2000000 0x0 0xc0000000
  211. 0x2000000 0x0 0xc0000000
  212. 0x0 0x20000000
  213. 0x1000000 0x0 0x0
  214. 0x1000000 0x0 0x0
  215. 0x0 0x10000>;
  216. };
  217. };
  218. };
  219. /include/ "p2020si-post.dtsi"
  220. / {
  221. soc@ffe00000 {
  222. serial@4600 {
  223. status = "disabled";
  224. };
  225. i2c@3100 {
  226. status = "disabled";
  227. };
  228. sdhc@2e000 {
  229. compatible = "fsl,p2020-esdhc", "fsl,esdhc";
  230. non-removable;
  231. };
  232. };
  233. };