armada-370-xp.dtsi 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. /*
  2. * Device Tree Include file for Marvell Armada 370 and Armada XP SoC
  3. *
  4. * Copyright (C) 2012 Marvell
  5. *
  6. * Lior Amsalem <alior@marvell.com>
  7. * Gregory CLEMENT <gregory.clement@free-electrons.com>
  8. * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  9. * Ben Dooks <ben.dooks@codethink.co.uk>
  10. *
  11. * This file is licensed under the terms of the GNU General Public
  12. * License version 2. This program is licensed "as is" without any
  13. * warranty of any kind, whether express or implied.
  14. *
  15. * This file contains the definitions that are common to the Armada
  16. * 370 and Armada XP SoC.
  17. */
  18. /include/ "skeleton64.dtsi"
  19. / {
  20. model = "Marvell Armada 370 and XP SoC";
  21. compatible = "marvell,armada-370-xp";
  22. cpus {
  23. cpu@0 {
  24. compatible = "marvell,sheeva-v7";
  25. };
  26. };
  27. soc {
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. compatible = "simple-bus";
  31. interrupt-parent = <&mpic>;
  32. ranges = <0 0 0xd0000000 0x100000>;
  33. internal-regs {
  34. compatible = "simple-bus";
  35. #address-cells = <1>;
  36. #size-cells = <1>;
  37. ranges;
  38. mpic: interrupt-controller@20000 {
  39. compatible = "marvell,mpic";
  40. #interrupt-cells = <1>;
  41. #size-cells = <1>;
  42. interrupt-controller;
  43. };
  44. coherency-fabric@20200 {
  45. compatible = "marvell,coherency-fabric";
  46. reg = <0x20200 0xb0>, <0x21810 0x1c>;
  47. };
  48. serial@12000 {
  49. compatible = "snps,dw-apb-uart";
  50. reg = <0x12000 0x100>;
  51. reg-shift = <2>;
  52. interrupts = <41>;
  53. reg-io-width = <1>;
  54. status = "disabled";
  55. };
  56. serial@12100 {
  57. compatible = "snps,dw-apb-uart";
  58. reg = <0x12100 0x100>;
  59. reg-shift = <2>;
  60. interrupts = <42>;
  61. reg-io-width = <1>;
  62. status = "disabled";
  63. };
  64. timer@20300 {
  65. compatible = "marvell,armada-370-xp-timer";
  66. reg = <0x20300 0x30>, <0x21040 0x30>;
  67. interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
  68. clocks = <&coreclk 2>;
  69. };
  70. sata@a0000 {
  71. compatible = "marvell,orion-sata";
  72. reg = <0xa0000 0x2400>;
  73. interrupts = <55>;
  74. clocks = <&gateclk 15>, <&gateclk 30>;
  75. clock-names = "0", "1";
  76. status = "disabled";
  77. };
  78. mdio {
  79. #address-cells = <1>;
  80. #size-cells = <0>;
  81. compatible = "marvell,orion-mdio";
  82. reg = <0x72004 0x4>;
  83. };
  84. ethernet@70000 {
  85. compatible = "marvell,armada-370-neta";
  86. reg = <0x70000 0x2500>;
  87. interrupts = <8>;
  88. clocks = <&gateclk 4>;
  89. status = "disabled";
  90. };
  91. ethernet@74000 {
  92. compatible = "marvell,armada-370-neta";
  93. reg = <0x74000 0x2500>;
  94. interrupts = <10>;
  95. clocks = <&gateclk 3>;
  96. status = "disabled";
  97. };
  98. i2c0: i2c@11000 {
  99. compatible = "marvell,mv64xxx-i2c";
  100. reg = <0x11000 0x20>;
  101. #address-cells = <1>;
  102. #size-cells = <0>;
  103. interrupts = <31>;
  104. timeout-ms = <1000>;
  105. clocks = <&coreclk 0>;
  106. status = "disabled";
  107. };
  108. i2c1: i2c@11100 {
  109. compatible = "marvell,mv64xxx-i2c";
  110. reg = <0x11100 0x20>;
  111. #address-cells = <1>;
  112. #size-cells = <0>;
  113. interrupts = <32>;
  114. timeout-ms = <1000>;
  115. clocks = <&coreclk 0>;
  116. status = "disabled";
  117. };
  118. rtc@10300 {
  119. compatible = "marvell,orion-rtc";
  120. reg = <0x10300 0x20>;
  121. interrupts = <50>;
  122. };
  123. mvsdio@d4000 {
  124. compatible = "marvell,orion-sdio";
  125. reg = <0xd4000 0x200>;
  126. interrupts = <54>;
  127. clocks = <&gateclk 17>;
  128. status = "disabled";
  129. };
  130. usb@50000 {
  131. compatible = "marvell,orion-ehci";
  132. reg = <0x50000 0x500>;
  133. interrupts = <45>;
  134. status = "disabled";
  135. };
  136. usb@51000 {
  137. compatible = "marvell,orion-ehci";
  138. reg = <0x51000 0x500>;
  139. interrupts = <46>;
  140. status = "disabled";
  141. };
  142. spi0: spi@10600 {
  143. compatible = "marvell,orion-spi";
  144. reg = <0x10600 0x28>;
  145. #address-cells = <1>;
  146. #size-cells = <0>;
  147. cell-index = <0>;
  148. interrupts = <30>;
  149. clocks = <&coreclk 0>;
  150. status = "disabled";
  151. };
  152. spi1: spi@10680 {
  153. compatible = "marvell,orion-spi";
  154. reg = <0x10680 0x28>;
  155. #address-cells = <1>;
  156. #size-cells = <0>;
  157. cell-index = <1>;
  158. interrupts = <92>;
  159. clocks = <&coreclk 0>;
  160. status = "disabled";
  161. };
  162. devbus-bootcs@10400 {
  163. compatible = "marvell,mvebu-devbus";
  164. reg = <0x10400 0x8>;
  165. #address-cells = <1>;
  166. #size-cells = <1>;
  167. clocks = <&coreclk 0>;
  168. status = "disabled";
  169. };
  170. devbus-cs0@10408 {
  171. compatible = "marvell,mvebu-devbus";
  172. reg = <0x10408 0x8>;
  173. #address-cells = <1>;
  174. #size-cells = <1>;
  175. clocks = <&coreclk 0>;
  176. status = "disabled";
  177. };
  178. devbus-cs1@10410 {
  179. compatible = "marvell,mvebu-devbus";
  180. reg = <0x10410 0x8>;
  181. #address-cells = <1>;
  182. #size-cells = <1>;
  183. clocks = <&coreclk 0>;
  184. status = "disabled";
  185. };
  186. devbus-cs2@10418 {
  187. compatible = "marvell,mvebu-devbus";
  188. reg = <0x10418 0x8>;
  189. #address-cells = <1>;
  190. #size-cells = <1>;
  191. clocks = <&coreclk 0>;
  192. status = "disabled";
  193. };
  194. devbus-cs3@10420 {
  195. compatible = "marvell,mvebu-devbus";
  196. reg = <0x10420 0x8>;
  197. #address-cells = <1>;
  198. #size-cells = <1>;
  199. clocks = <&coreclk 0>;
  200. status = "disabled";
  201. };
  202. };
  203. };
  204. };