armada-xp.dtsi 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. /*
  2. * Device Tree Include file for Marvell Armada XP family 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. * Contains definitions specific to the Armada XP SoC that are not
  16. * common to all Armada SoCs.
  17. */
  18. #include "armada-370-xp.dtsi"
  19. / {
  20. model = "Marvell Armada XP family SoC";
  21. compatible = "marvell,armadaxp", "marvell,armada-370-xp";
  22. aliases {
  23. eth2 = &eth2;
  24. };
  25. soc {
  26. compatible = "marvell,armadaxp-mbus", "simple-bus";
  27. bootrom {
  28. compatible = "marvell,bootrom";
  29. reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>;
  30. };
  31. internal-regs {
  32. L2: l2-cache {
  33. compatible = "marvell,aurora-system-cache";
  34. reg = <0x08000 0x1000>;
  35. cache-id-part = <0x100>;
  36. wt-override;
  37. };
  38. interrupt-controller@20000 {
  39. reg = <0x20a00 0x2d0>, <0x21070 0x58>;
  40. };
  41. armada-370-xp-pmsu@22000 {
  42. compatible = "marvell,armada-370-xp-pmsu";
  43. reg = <0x22100 0x430>, <0x20800 0x20>;
  44. };
  45. serial@12200 {
  46. compatible = "snps,dw-apb-uart";
  47. reg = <0x12200 0x100>;
  48. reg-shift = <2>;
  49. interrupts = <43>;
  50. reg-io-width = <1>;
  51. status = "disabled";
  52. };
  53. serial@12300 {
  54. compatible = "snps,dw-apb-uart";
  55. reg = <0x12300 0x100>;
  56. reg-shift = <2>;
  57. interrupts = <44>;
  58. reg-io-width = <1>;
  59. status = "disabled";
  60. };
  61. timer@20300 {
  62. compatible = "marvell,armada-xp-timer";
  63. };
  64. coreclk: mvebu-sar@18230 {
  65. compatible = "marvell,armada-xp-core-clock";
  66. reg = <0x18230 0x08>;
  67. #clock-cells = <1>;
  68. };
  69. cpuclk: clock-complex@18700 {
  70. #clock-cells = <1>;
  71. compatible = "marvell,armada-xp-cpu-clock";
  72. reg = <0x18700 0xA0>;
  73. clocks = <&coreclk 1>;
  74. };
  75. gateclk: clock-gating-control@18220 {
  76. compatible = "marvell,armada-xp-gating-clock";
  77. reg = <0x18220 0x4>;
  78. clocks = <&coreclk 0>;
  79. #clock-cells = <1>;
  80. };
  81. system-controller@18200 {
  82. compatible = "marvell,armada-370-xp-system-controller";
  83. reg = <0x18200 0x500>;
  84. };
  85. eth2: ethernet@30000 {
  86. compatible = "marvell,armada-370-neta";
  87. reg = <0x30000 0x4000>;
  88. interrupts = <12>;
  89. clocks = <&gateclk 2>;
  90. status = "disabled";
  91. };
  92. xor@60900 {
  93. compatible = "marvell,orion-xor";
  94. reg = <0x60900 0x100
  95. 0x60b00 0x100>;
  96. clocks = <&gateclk 22>;
  97. status = "okay";
  98. xor10 {
  99. interrupts = <51>;
  100. dmacap,memcpy;
  101. dmacap,xor;
  102. };
  103. xor11 {
  104. interrupts = <52>;
  105. dmacap,memcpy;
  106. dmacap,xor;
  107. dmacap,memset;
  108. };
  109. };
  110. xor@f0900 {
  111. compatible = "marvell,orion-xor";
  112. reg = <0xF0900 0x100
  113. 0xF0B00 0x100>;
  114. clocks = <&gateclk 28>;
  115. status = "okay";
  116. xor00 {
  117. interrupts = <94>;
  118. dmacap,memcpy;
  119. dmacap,xor;
  120. };
  121. xor01 {
  122. interrupts = <95>;
  123. dmacap,memcpy;
  124. dmacap,xor;
  125. dmacap,memset;
  126. };
  127. };
  128. i2c0: i2c@11000 {
  129. compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
  130. reg = <0x11000 0x100>;
  131. };
  132. i2c1: i2c@11100 {
  133. compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
  134. reg = <0x11100 0x100>;
  135. };
  136. usb@50000 {
  137. clocks = <&gateclk 18>;
  138. };
  139. usb@51000 {
  140. clocks = <&gateclk 19>;
  141. };
  142. usb@52000 {
  143. compatible = "marvell,orion-ehci";
  144. reg = <0x52000 0x500>;
  145. interrupts = <47>;
  146. clocks = <&gateclk 20>;
  147. status = "disabled";
  148. };
  149. thermal@182b0 {
  150. compatible = "marvell,armadaxp-thermal";
  151. reg = <0x182b0 0x4
  152. 0x184d0 0x4>;
  153. status = "okay";
  154. };
  155. };
  156. };
  157. };