armada-xp.dtsi 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. internal-regs {
  28. L2: l2-cache {
  29. compatible = "marvell,aurora-system-cache";
  30. reg = <0x08000 0x1000>;
  31. cache-id-part = <0x100>;
  32. wt-override;
  33. };
  34. interrupt-controller@20000 {
  35. reg = <0x20a00 0x2d0>, <0x21070 0x58>;
  36. };
  37. armada-370-xp-pmsu@22000 {
  38. compatible = "marvell,armada-370-xp-pmsu";
  39. reg = <0x22100 0x430>, <0x20800 0x20>;
  40. };
  41. serial@12200 {
  42. compatible = "snps,dw-apb-uart";
  43. reg = <0x12200 0x100>;
  44. reg-shift = <2>;
  45. interrupts = <43>;
  46. reg-io-width = <1>;
  47. status = "disabled";
  48. };
  49. serial@12300 {
  50. compatible = "snps,dw-apb-uart";
  51. reg = <0x12300 0x100>;
  52. reg-shift = <2>;
  53. interrupts = <44>;
  54. reg-io-width = <1>;
  55. status = "disabled";
  56. };
  57. timer@20300 {
  58. marvell,timer-25Mhz;
  59. };
  60. coreclk: mvebu-sar@18230 {
  61. compatible = "marvell,armada-xp-core-clock";
  62. reg = <0x18230 0x08>;
  63. #clock-cells = <1>;
  64. };
  65. cpuclk: clock-complex@18700 {
  66. #clock-cells = <1>;
  67. compatible = "marvell,armada-xp-cpu-clock";
  68. reg = <0x18700 0xA0>;
  69. clocks = <&coreclk 1>;
  70. };
  71. gateclk: clock-gating-control@18220 {
  72. compatible = "marvell,armada-xp-gating-clock";
  73. reg = <0x18220 0x4>;
  74. clocks = <&coreclk 0>;
  75. #clock-cells = <1>;
  76. };
  77. system-controller@18200 {
  78. compatible = "marvell,armada-370-xp-system-controller";
  79. reg = <0x18200 0x500>;
  80. };
  81. eth2: ethernet@30000 {
  82. compatible = "marvell,armada-370-neta";
  83. reg = <0x30000 0x4000>;
  84. interrupts = <12>;
  85. clocks = <&gateclk 2>;
  86. status = "disabled";
  87. };
  88. xor@60900 {
  89. compatible = "marvell,orion-xor";
  90. reg = <0x60900 0x100
  91. 0x60b00 0x100>;
  92. clocks = <&gateclk 22>;
  93. status = "okay";
  94. xor10 {
  95. interrupts = <51>;
  96. dmacap,memcpy;
  97. dmacap,xor;
  98. };
  99. xor11 {
  100. interrupts = <52>;
  101. dmacap,memcpy;
  102. dmacap,xor;
  103. dmacap,memset;
  104. };
  105. };
  106. xor@f0900 {
  107. compatible = "marvell,orion-xor";
  108. reg = <0xF0900 0x100
  109. 0xF0B00 0x100>;
  110. clocks = <&gateclk 28>;
  111. status = "okay";
  112. xor00 {
  113. interrupts = <94>;
  114. dmacap,memcpy;
  115. dmacap,xor;
  116. };
  117. xor01 {
  118. interrupts = <95>;
  119. dmacap,memcpy;
  120. dmacap,xor;
  121. dmacap,memset;
  122. };
  123. };
  124. usb@50000 {
  125. clocks = <&gateclk 18>;
  126. };
  127. usb@51000 {
  128. clocks = <&gateclk 19>;
  129. };
  130. usb@52000 {
  131. compatible = "marvell,orion-ehci";
  132. reg = <0x52000 0x500>;
  133. interrupts = <47>;
  134. clocks = <&gateclk 20>;
  135. status = "disabled";
  136. };
  137. thermal@182b0 {
  138. compatible = "marvell,armadaxp-thermal";
  139. reg = <0x182b0 0x4
  140. 0x184d0 0x4>;
  141. status = "okay";
  142. };
  143. };
  144. };
  145. };