armada-xp.dtsi 3.3 KB

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