mvme2500.dts 5.0 KB

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