armada-370-xp.dtsi 4.0 KB

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