armada-370-xp.dtsi 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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/ "skeleton.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. mpic: interrupt-controller@d0020000 {
  28. compatible = "marvell,mpic";
  29. #interrupt-cells = <1>;
  30. #address-cells = <1>;
  31. #size-cells = <1>;
  32. interrupt-controller;
  33. };
  34. coherency-fabric@d0020200 {
  35. compatible = "marvell,coherency-fabric";
  36. reg = <0xd0020200 0xb0>,
  37. <0xd0021810 0x1c>;
  38. };
  39. soc {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. compatible = "simple-bus";
  43. interrupt-parent = <&mpic>;
  44. ranges;
  45. serial@d0012000 {
  46. compatible = "snps,dw-apb-uart";
  47. reg = <0xd0012000 0x100>;
  48. reg-shift = <2>;
  49. interrupts = <41>;
  50. reg-io-width = <4>;
  51. status = "disabled";
  52. };
  53. serial@d0012100 {
  54. compatible = "snps,dw-apb-uart";
  55. reg = <0xd0012100 0x100>;
  56. reg-shift = <2>;
  57. interrupts = <42>;
  58. reg-io-width = <4>;
  59. status = "disabled";
  60. };
  61. timer@d0020300 {
  62. compatible = "marvell,armada-370-xp-timer";
  63. reg = <0xd0020300 0x30>,
  64. <0xd0021040 0x30>;
  65. interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
  66. clocks = <&coreclk 2>;
  67. };
  68. addr-decoding@d0020000 {
  69. compatible = "marvell,armada-addr-decoding-controller";
  70. reg = <0xd0020000 0x258>;
  71. };
  72. sata@d00a0000 {
  73. compatible = "marvell,orion-sata";
  74. reg = <0xd00a0000 0x2400>;
  75. interrupts = <55>;
  76. clocks = <&gateclk 15>, <&gateclk 30>;
  77. clock-names = "0", "1";
  78. status = "disabled";
  79. };
  80. mdio {
  81. #address-cells = <1>;
  82. #size-cells = <0>;
  83. compatible = "marvell,orion-mdio";
  84. reg = <0xd0072004 0x4>;
  85. };
  86. ethernet@d0070000 {
  87. compatible = "marvell,armada-370-neta";
  88. reg = <0xd0070000 0x2500>;
  89. interrupts = <8>;
  90. clocks = <&gateclk 4>;
  91. status = "disabled";
  92. };
  93. ethernet@d0074000 {
  94. compatible = "marvell,armada-370-neta";
  95. reg = <0xd0074000 0x2500>;
  96. interrupts = <10>;
  97. clocks = <&gateclk 3>;
  98. status = "disabled";
  99. };
  100. i2c0: i2c@d0011000 {
  101. compatible = "marvell,mv64xxx-i2c";
  102. reg = <0xd0011000 0x20>;
  103. #address-cells = <1>;
  104. #size-cells = <0>;
  105. interrupts = <31>;
  106. timeout-ms = <1000>;
  107. clocks = <&coreclk 0>;
  108. status = "disabled";
  109. };
  110. i2c1: i2c@d0011100 {
  111. compatible = "marvell,mv64xxx-i2c";
  112. reg = <0xd0011100 0x20>;
  113. #address-cells = <1>;
  114. #size-cells = <0>;
  115. interrupts = <32>;
  116. timeout-ms = <1000>;
  117. clocks = <&coreclk 0>;
  118. status = "disabled";
  119. };
  120. rtc@10300 {
  121. compatible = "marvell,orion-rtc";
  122. reg = <0xd0010300 0x20>;
  123. interrupts = <50>;
  124. };
  125. mvsdio@d00d4000 {
  126. compatible = "marvell,orion-sdio";
  127. reg = <0xd00d4000 0x200>;
  128. interrupts = <54>;
  129. clocks = <&gateclk 17>;
  130. status = "disabled";
  131. };
  132. usb@d0050000 {
  133. compatible = "marvell,orion-ehci";
  134. reg = <0xd0050000 0x500>;
  135. interrupts = <45>;
  136. status = "disabled";
  137. };
  138. usb@d0051000 {
  139. compatible = "marvell,orion-ehci";
  140. reg = <0xd0051000 0x500>;
  141. interrupts = <46>;
  142. status = "disabled";
  143. };
  144. spi0: spi@d0010600 {
  145. compatible = "marvell,orion-spi";
  146. reg = <0xd0010600 0x28>;
  147. #address-cells = <1>;
  148. #size-cells = <0>;
  149. cell-index = <0>;
  150. interrupts = <30>;
  151. clocks = <&coreclk 0>;
  152. status = "disabled";
  153. };
  154. spi1: spi@d0010680 {
  155. compatible = "marvell,orion-spi";
  156. reg = <0xd0010680 0x28>;
  157. #address-cells = <1>;
  158. #size-cells = <0>;
  159. cell-index = <1>;
  160. interrupts = <92>;
  161. clocks = <&coreclk 0>;
  162. status = "disabled";
  163. };
  164. };
  165. };