armada-xp-mv78260.dtsi 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. /*
  2. * Device Tree Include file for Marvell Armada XP family SoC
  3. *
  4. * Copyright (C) 2012 Marvell
  5. *
  6. * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  7. *
  8. * This file is licensed under the terms of the GNU General Public
  9. * License version 2. This program is licensed "as is" without any
  10. * warranty of any kind, whether express or implied.
  11. *
  12. * Contains definitions specific to the Armada XP MV78260 SoC that are not
  13. * common to all Armada XP SoCs.
  14. */
  15. /include/ "armada-xp.dtsi"
  16. / {
  17. model = "Marvell Armada XP MV78260 SoC";
  18. compatible = "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp";
  19. aliases {
  20. gpio0 = &gpio0;
  21. gpio1 = &gpio1;
  22. gpio2 = &gpio2;
  23. };
  24. cpus {
  25. #address-cells = <1>;
  26. #size-cells = <0>;
  27. cpu@0 {
  28. device_type = "cpu";
  29. compatible = "marvell,sheeva-v7";
  30. reg = <0>;
  31. clocks = <&cpuclk 0>;
  32. };
  33. cpu@1 {
  34. device_type = "cpu";
  35. compatible = "marvell,sheeva-v7";
  36. reg = <1>;
  37. clocks = <&cpuclk 1>;
  38. };
  39. };
  40. soc {
  41. pinctrl {
  42. compatible = "marvell,mv78260-pinctrl";
  43. reg = <0xd0018000 0x38>;
  44. sdio_pins: sdio-pins {
  45. marvell,pins = "mpp30", "mpp31", "mpp32",
  46. "mpp33", "mpp34", "mpp35";
  47. marvell,function = "sd0";
  48. };
  49. };
  50. gpio0: gpio@d0018100 {
  51. compatible = "marvell,orion-gpio";
  52. reg = <0xd0018100 0x40>;
  53. ngpios = <32>;
  54. gpio-controller;
  55. #gpio-cells = <2>;
  56. interrupt-controller;
  57. #interrupts-cells = <2>;
  58. interrupts = <82>, <83>, <84>, <85>;
  59. };
  60. gpio1: gpio@d0018140 {
  61. compatible = "marvell,orion-gpio";
  62. reg = <0xd0018140 0x40>;
  63. ngpios = <32>;
  64. gpio-controller;
  65. #gpio-cells = <2>;
  66. interrupt-controller;
  67. #interrupts-cells = <2>;
  68. interrupts = <87>, <88>, <89>, <90>;
  69. };
  70. gpio2: gpio@d0018180 {
  71. compatible = "marvell,orion-gpio";
  72. reg = <0xd0018180 0x40>;
  73. ngpios = <3>;
  74. gpio-controller;
  75. #gpio-cells = <2>;
  76. interrupt-controller;
  77. #interrupts-cells = <2>;
  78. interrupts = <91>;
  79. };
  80. ethernet@d0034000 {
  81. compatible = "marvell,armada-370-neta";
  82. reg = <0xd0034000 0x2500>;
  83. interrupts = <14>;
  84. clocks = <&gateclk 1>;
  85. status = "disabled";
  86. };
  87. /*
  88. * MV78260 has 3 PCIe units Gen2.0: Two units can be
  89. * configured as x4 or quad x1 lanes. One unit is
  90. * x4/x1.
  91. */
  92. pcie-controller {
  93. compatible = "marvell,armada-xp-pcie";
  94. status = "disabled";
  95. device_type = "pci";
  96. #address-cells = <3>;
  97. #size-cells = <2>;
  98. bus-range = <0x00 0xff>;
  99. ranges = <0x82000000 0 0xd0040000 0xd0040000 0 0x00002000 /* Port 0.0 registers */
  100. 0x82000000 0 0xd0042000 0xd0042000 0 0x00002000 /* Port 2.0 registers */
  101. 0x82000000 0 0xd0044000 0xd0044000 0 0x00002000 /* Port 0.1 registers */
  102. 0x82000000 0 0xd0048000 0xd0048000 0 0x00002000 /* Port 0.2 registers */
  103. 0x82000000 0 0xd004c000 0xd004c000 0 0x00002000 /* Port 0.3 registers */
  104. 0x82000000 0 0xd0080000 0xd0080000 0 0x00002000 /* Port 1.0 registers */
  105. 0x82000000 0 0xd0082000 0xd0082000 0 0x00002000 /* Port 3.0 registers */
  106. 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */
  107. 0x81000000 0 0 0xe8000000 0 0x00100000>; /* downstream I/O */
  108. pcie@1,0 {
  109. device_type = "pci";
  110. assigned-addresses = <0x82000800 0 0xd0040000 0 0x2000>;
  111. reg = <0x0800 0 0 0 0>;
  112. #address-cells = <3>;
  113. #size-cells = <2>;
  114. #interrupt-cells = <1>;
  115. ranges;
  116. interrupt-map-mask = <0 0 0 0>;
  117. interrupt-map = <0 0 0 0 &mpic 58>;
  118. marvell,pcie-port = <0>;
  119. marvell,pcie-lane = <0>;
  120. clocks = <&gateclk 5>;
  121. status = "disabled";
  122. };
  123. pcie@2,0 {
  124. device_type = "pci";
  125. assigned-addresses = <0x82000800 0 0xd0044000 0 0x2000>;
  126. reg = <0x1000 0 0 0 0>;
  127. #address-cells = <3>;
  128. #size-cells = <2>;
  129. #interrupt-cells = <1>;
  130. ranges;
  131. interrupt-map-mask = <0 0 0 0>;
  132. interrupt-map = <0 0 0 0 &mpic 59>;
  133. marvell,pcie-port = <0>;
  134. marvell,pcie-lane = <1>;
  135. clocks = <&gateclk 6>;
  136. status = "disabled";
  137. };
  138. pcie@3,0 {
  139. device_type = "pci";
  140. assigned-addresses = <0x82000800 0 0xd0048000 0 0x2000>;
  141. reg = <0x1800 0 0 0 0>;
  142. #address-cells = <3>;
  143. #size-cells = <2>;
  144. #interrupt-cells = <1>;
  145. ranges;
  146. interrupt-map-mask = <0 0 0 0>;
  147. interrupt-map = <0 0 0 0 &mpic 60>;
  148. marvell,pcie-port = <0>;
  149. marvell,pcie-lane = <2>;
  150. clocks = <&gateclk 7>;
  151. status = "disabled";
  152. };
  153. pcie@4,0 {
  154. device_type = "pci";
  155. assigned-addresses = <0x82000800 0 0xd004c000 0 0x2000>;
  156. reg = <0x2000 0 0 0 0>;
  157. #address-cells = <3>;
  158. #size-cells = <2>;
  159. #interrupt-cells = <1>;
  160. ranges;
  161. interrupt-map-mask = <0 0 0 0>;
  162. interrupt-map = <0 0 0 0 &mpic 61>;
  163. marvell,pcie-port = <0>;
  164. marvell,pcie-lane = <3>;
  165. clocks = <&gateclk 8>;
  166. status = "disabled";
  167. };
  168. pcie@9,0 {
  169. device_type = "pci";
  170. assigned-addresses = <0x82000800 0 0xd0042000 0 0x2000>;
  171. reg = <0x4800 0 0 0 0>;
  172. #address-cells = <3>;
  173. #size-cells = <2>;
  174. #interrupt-cells = <1>;
  175. ranges;
  176. interrupt-map-mask = <0 0 0 0>;
  177. interrupt-map = <0 0 0 0 &mpic 99>;
  178. marvell,pcie-port = <2>;
  179. marvell,pcie-lane = <0>;
  180. clocks = <&gateclk 26>;
  181. status = "disabled";
  182. };
  183. pcie@10,0 {
  184. device_type = "pci";
  185. assigned-addresses = <0x82000800 0 0xd0082000 0 0x2000>;
  186. reg = <0x5000 0 0 0 0>;
  187. #address-cells = <3>;
  188. #size-cells = <2>;
  189. #interrupt-cells = <1>;
  190. ranges;
  191. interrupt-map-mask = <0 0 0 0>;
  192. interrupt-map = <0 0 0 0 &mpic 103>;
  193. marvell,pcie-port = <3>;
  194. marvell,pcie-lane = <0>;
  195. clocks = <&gateclk 27>;
  196. status = "disabled";
  197. };
  198. };
  199. };
  200. };