armada-xp.dtsi 3.3 KB

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