armada-370.dtsi 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. /*
  2. * Device Tree Include file for Marvell Armada 370 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. *
  10. * This file is licensed under the terms of the GNU General Public
  11. * License version 2. This program is licensed "as is" without any
  12. * warranty of any kind, whether express or implied.
  13. *
  14. * Contains definitions specific to the Armada 370 SoC that are not
  15. * common to all Armada SoCs.
  16. */
  17. /include/ "armada-370-xp.dtsi"
  18. / {
  19. model = "Marvell Armada 370 family SoC";
  20. compatible = "marvell,armada370", "marvell,armada-370-xp";
  21. L2: l2-cache {
  22. compatible = "marvell,aurora-outer-cache";
  23. reg = <0xd0008000 0x1000>;
  24. cache-id-part = <0x100>;
  25. wt-override;
  26. };
  27. aliases {
  28. gpio0 = &gpio0;
  29. gpio1 = &gpio1;
  30. gpio2 = &gpio2;
  31. };
  32. mpic: interrupt-controller@d0020000 {
  33. reg = <0xd0020a00 0x1d0>,
  34. <0xd0021870 0x58>;
  35. };
  36. soc {
  37. system-controller@d0018200 {
  38. compatible = "marvell,armada-370-xp-system-controller";
  39. reg = <0xd0018200 0x100>;
  40. };
  41. pinctrl {
  42. compatible = "marvell,mv88f6710-pinctrl";
  43. reg = <0xd0018000 0x38>;
  44. sdio_pins1: sdio-pins1 {
  45. marvell,pins = "mpp9", "mpp11", "mpp12",
  46. "mpp13", "mpp14", "mpp15";
  47. marvell,function = "sd0";
  48. };
  49. sdio_pins2: sdio-pins2 {
  50. marvell,pins = "mpp47", "mpp48", "mpp49",
  51. "mpp50", "mpp51", "mpp52";
  52. marvell,function = "sd0";
  53. };
  54. sdio_pins3: sdio-pins3 {
  55. marvell,pins = "mpp48", "mpp49", "mpp50",
  56. "mpp51", "mpp52", "mpp53";
  57. marvell,function = "sd0";
  58. };
  59. };
  60. gpio0: gpio@d0018100 {
  61. compatible = "marvell,orion-gpio";
  62. reg = <0xd0018100 0x40>;
  63. ngpios = <32>;
  64. gpio-controller;
  65. #gpio-cells = <2>;
  66. interrupt-controller;
  67. #interrupts-cells = <2>;
  68. interrupts = <82>, <83>, <84>, <85>;
  69. };
  70. gpio1: gpio@d0018140 {
  71. compatible = "marvell,orion-gpio";
  72. reg = <0xd0018140 0x40>;
  73. ngpios = <32>;
  74. gpio-controller;
  75. #gpio-cells = <2>;
  76. interrupt-controller;
  77. #interrupts-cells = <2>;
  78. interrupts = <87>, <88>, <89>, <90>;
  79. };
  80. gpio2: gpio@d0018180 {
  81. compatible = "marvell,orion-gpio";
  82. reg = <0xd0018180 0x40>;
  83. ngpios = <2>;
  84. gpio-controller;
  85. #gpio-cells = <2>;
  86. interrupt-controller;
  87. #interrupts-cells = <2>;
  88. interrupts = <91>;
  89. };
  90. coreclk: mvebu-sar@d0018230 {
  91. compatible = "marvell,armada-370-core-clock";
  92. reg = <0xd0018230 0x08>;
  93. #clock-cells = <1>;
  94. };
  95. gateclk: clock-gating-control@d0018220 {
  96. compatible = "marvell,armada-370-gating-clock";
  97. reg = <0xd0018220 0x4>;
  98. clocks = <&coreclk 0>;
  99. #clock-cells = <1>;
  100. };
  101. xor@d0060800 {
  102. compatible = "marvell,orion-xor";
  103. reg = <0xd0060800 0x100
  104. 0xd0060A00 0x100>;
  105. status = "okay";
  106. xor00 {
  107. interrupts = <51>;
  108. dmacap,memcpy;
  109. dmacap,xor;
  110. };
  111. xor01 {
  112. interrupts = <52>;
  113. dmacap,memcpy;
  114. dmacap,xor;
  115. dmacap,memset;
  116. };
  117. };
  118. xor@d0060900 {
  119. compatible = "marvell,orion-xor";
  120. reg = <0xd0060900 0x100
  121. 0xd0060b00 0x100>;
  122. status = "okay";
  123. xor10 {
  124. interrupts = <94>;
  125. dmacap,memcpy;
  126. dmacap,xor;
  127. };
  128. xor11 {
  129. interrupts = <95>;
  130. dmacap,memcpy;
  131. dmacap,xor;
  132. dmacap,memset;
  133. };
  134. };
  135. usb@d0050000 {
  136. clocks = <&coreclk 0>;
  137. };
  138. usb@d0051000 {
  139. clocks = <&coreclk 0>;
  140. };
  141. };
  142. };