armada-370.dtsi 2.8 KB

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