armada-370.dtsi 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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. thermal@d0018300 {
  137. compatible = "marvell,armada370-thermal";
  138. reg = <0xd0018300 0x4
  139. 0xd0018304 0x4>;
  140. status = "okay";
  141. };
  142. pcie-controller {
  143. compatible = "marvell,armada-370-pcie";
  144. status = "disabled";
  145. device_type = "pci";
  146. #address-cells = <3>;
  147. #size-cells = <2>;
  148. bus-range = <0x00 0xff>;
  149. reg = <0xd0040000 0x2000>, <0xd0080000 0x2000>;
  150. reg-names = "pcie0.0", "pcie1.0";
  151. ranges = <0x82000000 0 0xd0040000 0xd0040000 0 0x00002000 /* Port 0.0 registers */
  152. 0x82000000 0 0xd0080000 0xd0080000 0 0x00002000 /* Port 1.0 registers */
  153. 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */
  154. 0x81000000 0 0 0xe8000000 0 0x00100000>; /* downstream I/O */
  155. pcie@1,0 {
  156. device_type = "pci";
  157. assigned-addresses = <0x82000800 0 0xd0040000 0 0x2000>;
  158. reg = <0x0800 0 0 0 0>;
  159. #address-cells = <3>;
  160. #size-cells = <2>;
  161. #interrupt-cells = <1>;
  162. ranges;
  163. interrupt-map-mask = <0 0 0 0>;
  164. interrupt-map = <0 0 0 0 &mpic 58>;
  165. marvell,pcie-port = <0>;
  166. marvell,pcie-lane = <0>;
  167. clocks = <&gateclk 5>;
  168. status = "disabled";
  169. };
  170. pcie@2,0 {
  171. device_type = "pci";
  172. assigned-addresses = <0x82002800 0 0xd0080000 0 0x2000>;
  173. reg = <0x1000 0 0 0 0>;
  174. #address-cells = <3>;
  175. #size-cells = <2>;
  176. #interrupt-cells = <1>;
  177. ranges;
  178. interrupt-map-mask = <0 0 0 0>;
  179. interrupt-map = <0 0 0 0 &mpic 62>;
  180. marvell,pcie-port = <1>;
  181. marvell,pcie-lane = <0>;
  182. clocks = <&gateclk 9>;
  183. status = "disabled";
  184. };
  185. };
  186. };
  187. };