armada-370.dtsi 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. aliases {
  22. gpio0 = &gpio0;
  23. gpio1 = &gpio1;
  24. gpio2 = &gpio2;
  25. };
  26. mpic: interrupt-controller@d0020000 {
  27. reg = <0xd0020a00 0x1d0>,
  28. <0xd0021870 0x58>;
  29. };
  30. soc {
  31. system-controller@d0018200 {
  32. compatible = "marvell,armada-370-xp-system-controller";
  33. reg = <0xd0018200 0x100>;
  34. };
  35. pinctrl {
  36. compatible = "marvell,mv88f6710-pinctrl";
  37. reg = <0xd0018000 0x38>;
  38. };
  39. gpio0: gpio@d0018100 {
  40. compatible = "marvell,orion-gpio";
  41. reg = <0xd0018100 0x40>;
  42. ngpios = <32>;
  43. gpio-controller;
  44. #gpio-cells = <2>;
  45. interrupt-controller;
  46. #interrupts-cells = <2>;
  47. interrupts = <82>, <83>, <84>, <85>;
  48. };
  49. gpio1: gpio@d0018140 {
  50. compatible = "marvell,orion-gpio";
  51. reg = <0xd0018140 0x40>;
  52. ngpios = <32>;
  53. gpio-controller;
  54. #gpio-cells = <2>;
  55. interrupt-controller;
  56. #interrupts-cells = <2>;
  57. interrupts = <87>, <88>, <89>, <90>;
  58. };
  59. gpio2: gpio@d0018180 {
  60. compatible = "marvell,orion-gpio";
  61. reg = <0xd0018180 0x40>;
  62. ngpios = <2>;
  63. gpio-controller;
  64. #gpio-cells = <2>;
  65. interrupt-controller;
  66. #interrupts-cells = <2>;
  67. interrupts = <91>;
  68. };
  69. coreclk: mvebu-sar@d0018230 {
  70. compatible = "marvell,armada-370-core-clock";
  71. reg = <0xd0018230 0x08>;
  72. #clock-cells = <1>;
  73. };
  74. gateclk: clock-gating-control@d0018220 {
  75. compatible = "marvell,armada-370-gating-clock";
  76. reg = <0xd0018220 0x4>;
  77. clocks = <&coreclk 0>;
  78. #clock-cells = <1>;
  79. };
  80. xor@d0060800 {
  81. compatible = "marvell,orion-xor";
  82. reg = <0xd0060800 0x100
  83. 0xd0060A00 0x100>;
  84. status = "okay";
  85. xor00 {
  86. interrupts = <51>;
  87. dmacap,memcpy;
  88. dmacap,xor;
  89. };
  90. xor01 {
  91. interrupts = <52>;
  92. dmacap,memcpy;
  93. dmacap,xor;
  94. dmacap,memset;
  95. };
  96. };
  97. xor@d0060900 {
  98. compatible = "marvell,orion-xor";
  99. reg = <0xd0060900 0x100
  100. 0xd0060b00 0x100>;
  101. status = "okay";
  102. xor10 {
  103. interrupts = <94>;
  104. dmacap,memcpy;
  105. dmacap,xor;
  106. };
  107. xor11 {
  108. interrupts = <95>;
  109. dmacap,memcpy;
  110. dmacap,xor;
  111. dmacap,memset;
  112. };
  113. };
  114. };
  115. };