armada-370-xp.dtsi 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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. sata@d00a0000 {
  68. compatible = "marvell,orion-sata";
  69. reg = <0xd00a0000 0x2400>;
  70. interrupts = <55>;
  71. clocks = <&gateclk 15>, <&gateclk 30>;
  72. clock-names = "0", "1";
  73. status = "disabled";
  74. };
  75. mdio {
  76. #address-cells = <1>;
  77. #size-cells = <0>;
  78. compatible = "marvell,orion-mdio";
  79. reg = <0xd0072004 0x4>;
  80. };
  81. ethernet@d0070000 {
  82. compatible = "marvell,armada-370-neta";
  83. reg = <0xd0070000 0x2500>;
  84. interrupts = <8>;
  85. clocks = <&gateclk 4>;
  86. status = "disabled";
  87. };
  88. ethernet@d0074000 {
  89. compatible = "marvell,armada-370-neta";
  90. reg = <0xd0074000 0x2500>;
  91. interrupts = <10>;
  92. clocks = <&gateclk 3>;
  93. status = "disabled";
  94. };
  95. i2c0: i2c@d0011000 {
  96. compatible = "marvell,mv64xxx-i2c";
  97. reg = <0xd0011000 0x20>;
  98. #address-cells = <1>;
  99. #size-cells = <0>;
  100. interrupts = <31>;
  101. timeout-ms = <1000>;
  102. clocks = <&coreclk 0>;
  103. status = "disabled";
  104. };
  105. i2c1: i2c@d0011100 {
  106. compatible = "marvell,mv64xxx-i2c";
  107. reg = <0xd0011100 0x20>;
  108. #address-cells = <1>;
  109. #size-cells = <0>;
  110. interrupts = <32>;
  111. timeout-ms = <1000>;
  112. clocks = <&coreclk 0>;
  113. status = "disabled";
  114. };
  115. rtc@10300 {
  116. compatible = "marvell,orion-rtc";
  117. reg = <0xd0010300 0x20>;
  118. interrupts = <50>;
  119. };
  120. mvsdio@d00d4000 {
  121. compatible = "marvell,orion-sdio";
  122. reg = <0xd00d4000 0x200>;
  123. interrupts = <54>;
  124. clocks = <&gateclk 17>;
  125. status = "disabled";
  126. };
  127. usb@d0050000 {
  128. compatible = "marvell,orion-ehci";
  129. reg = <0xd0050000 0x500>;
  130. interrupts = <45>;
  131. status = "disabled";
  132. };
  133. usb@d0051000 {
  134. compatible = "marvell,orion-ehci";
  135. reg = <0xd0051000 0x500>;
  136. interrupts = <46>;
  137. status = "disabled";
  138. };
  139. spi0: spi@d0010600 {
  140. compatible = "marvell,orion-spi";
  141. reg = <0xd0010600 0x28>;
  142. #address-cells = <1>;
  143. #size-cells = <0>;
  144. cell-index = <0>;
  145. interrupts = <30>;
  146. clocks = <&coreclk 0>;
  147. status = "disabled";
  148. };
  149. spi1: spi@d0010680 {
  150. compatible = "marvell,orion-spi";
  151. reg = <0xd0010680 0x28>;
  152. #address-cells = <1>;
  153. #size-cells = <0>;
  154. cell-index = <1>;
  155. interrupts = <92>;
  156. clocks = <&coreclk 0>;
  157. status = "disabled";
  158. };
  159. };
  160. };