armada-370.dtsi 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. };
  55. gpio0: gpio@d0018100 {
  56. compatible = "marvell,orion-gpio";
  57. reg = <0xd0018100 0x40>;
  58. ngpios = <32>;
  59. gpio-controller;
  60. #gpio-cells = <2>;
  61. interrupt-controller;
  62. #interrupts-cells = <2>;
  63. interrupts = <82>, <83>, <84>, <85>;
  64. };
  65. gpio1: gpio@d0018140 {
  66. compatible = "marvell,orion-gpio";
  67. reg = <0xd0018140 0x40>;
  68. ngpios = <32>;
  69. gpio-controller;
  70. #gpio-cells = <2>;
  71. interrupt-controller;
  72. #interrupts-cells = <2>;
  73. interrupts = <87>, <88>, <89>, <90>;
  74. };
  75. gpio2: gpio@d0018180 {
  76. compatible = "marvell,orion-gpio";
  77. reg = <0xd0018180 0x40>;
  78. ngpios = <2>;
  79. gpio-controller;
  80. #gpio-cells = <2>;
  81. interrupt-controller;
  82. #interrupts-cells = <2>;
  83. interrupts = <91>;
  84. };
  85. coreclk: mvebu-sar@d0018230 {
  86. compatible = "marvell,armada-370-core-clock";
  87. reg = <0xd0018230 0x08>;
  88. #clock-cells = <1>;
  89. };
  90. gateclk: clock-gating-control@d0018220 {
  91. compatible = "marvell,armada-370-gating-clock";
  92. reg = <0xd0018220 0x4>;
  93. clocks = <&coreclk 0>;
  94. #clock-cells = <1>;
  95. };
  96. xor@d0060800 {
  97. compatible = "marvell,orion-xor";
  98. reg = <0xd0060800 0x100
  99. 0xd0060A00 0x100>;
  100. status = "okay";
  101. xor00 {
  102. interrupts = <51>;
  103. dmacap,memcpy;
  104. dmacap,xor;
  105. };
  106. xor01 {
  107. interrupts = <52>;
  108. dmacap,memcpy;
  109. dmacap,xor;
  110. dmacap,memset;
  111. };
  112. };
  113. xor@d0060900 {
  114. compatible = "marvell,orion-xor";
  115. reg = <0xd0060900 0x100
  116. 0xd0060b00 0x100>;
  117. status = "okay";
  118. xor10 {
  119. interrupts = <94>;
  120. dmacap,memcpy;
  121. dmacap,xor;
  122. };
  123. xor11 {
  124. interrupts = <95>;
  125. dmacap,memcpy;
  126. dmacap,xor;
  127. dmacap,memset;
  128. };
  129. };
  130. usb@d0050000 {
  131. clocks = <&coreclk 0>;
  132. };
  133. usb@d0051000 {
  134. clocks = <&coreclk 0>;
  135. };
  136. };
  137. };