armada-xp-mv78260.dtsi 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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. internal-regs {
  42. pinctrl {
  43. compatible = "marvell,mv78260-pinctrl";
  44. reg = <0x18000 0x38>;
  45. sdio_pins: sdio-pins {
  46. marvell,pins = "mpp30", "mpp31", "mpp32",
  47. "mpp33", "mpp34", "mpp35";
  48. marvell,function = "sd0";
  49. };
  50. };
  51. gpio0: gpio@18100 {
  52. compatible = "marvell,orion-gpio";
  53. reg = <0x18100 0x40>;
  54. ngpios = <32>;
  55. gpio-controller;
  56. #gpio-cells = <2>;
  57. interrupt-controller;
  58. #interrupts-cells = <2>;
  59. interrupts = <82>, <83>, <84>, <85>;
  60. };
  61. gpio1: gpio@18140 {
  62. compatible = "marvell,orion-gpio";
  63. reg = <0x18140 0x40>;
  64. ngpios = <32>;
  65. gpio-controller;
  66. #gpio-cells = <2>;
  67. interrupt-controller;
  68. #interrupts-cells = <2>;
  69. interrupts = <87>, <88>, <89>, <90>;
  70. };
  71. gpio2: gpio@18180 {
  72. compatible = "marvell,orion-gpio";
  73. reg = <0x18180 0x40>;
  74. ngpios = <3>;
  75. gpio-controller;
  76. #gpio-cells = <2>;
  77. interrupt-controller;
  78. #interrupts-cells = <2>;
  79. interrupts = <91>;
  80. };
  81. ethernet@34000 {
  82. compatible = "marvell,armada-370-neta";
  83. reg = <0x34000 0x2500>;
  84. interrupts = <14>;
  85. clocks = <&gateclk 1>;
  86. status = "disabled";
  87. };
  88. /*
  89. * MV78260 has 3 PCIe units Gen2.0: Two units can be
  90. * configured as x4 or quad x1 lanes. One unit is
  91. * x4/x1.
  92. */
  93. pcie-controller {
  94. compatible = "marvell,armada-xp-pcie";
  95. status = "disabled";
  96. device_type = "pci";
  97. #address-cells = <3>;
  98. #size-cells = <2>;
  99. bus-range = <0x00 0xff>;
  100. ranges = <0x82000000 0 0x40000 0x40000 0 0x00002000 /* Port 0.0 registers */
  101. 0x82000000 0 0x42000 0x42000 0 0x00002000 /* Port 2.0 registers */
  102. 0x82000000 0 0x44000 0x44000 0 0x00002000 /* Port 0.1 registers */
  103. 0x82000000 0 0x48000 0x48000 0 0x00002000 /* Port 0.2 registers */
  104. 0x82000000 0 0x4c000 0x4c000 0 0x00002000 /* Port 0.3 registers */
  105. 0x82000000 0 0x80000 0x80000 0 0x00002000 /* Port 1.0 registers */
  106. 0x82000000 0 0x82000 0x82000 0 0x00002000 /* Port 3.0 registers */
  107. 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */
  108. 0x81000000 0 0 0xe8000000 0 0x00100000>; /* downstream I/O */
  109. pcie@1,0 {
  110. device_type = "pci";
  111. assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
  112. reg = <0x0800 0 0 0 0>;
  113. #address-cells = <3>;
  114. #size-cells = <2>;
  115. #interrupt-cells = <1>;
  116. ranges;
  117. interrupt-map-mask = <0 0 0 0>;
  118. interrupt-map = <0 0 0 0 &mpic 58>;
  119. marvell,pcie-port = <0>;
  120. marvell,pcie-lane = <0>;
  121. clocks = <&gateclk 5>;
  122. status = "disabled";
  123. };
  124. pcie@2,0 {
  125. device_type = "pci";
  126. assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
  127. reg = <0x1000 0 0 0 0>;
  128. #address-cells = <3>;
  129. #size-cells = <2>;
  130. #interrupt-cells = <1>;
  131. ranges;
  132. interrupt-map-mask = <0 0 0 0>;
  133. interrupt-map = <0 0 0 0 &mpic 59>;
  134. marvell,pcie-port = <0>;
  135. marvell,pcie-lane = <1>;
  136. clocks = <&gateclk 6>;
  137. status = "disabled";
  138. };
  139. pcie@3,0 {
  140. device_type = "pci";
  141. assigned-addresses = <0x82000800 0 0x48000 0 0x2000>;
  142. reg = <0x1800 0 0 0 0>;
  143. #address-cells = <3>;
  144. #size-cells = <2>;
  145. #interrupt-cells = <1>;
  146. ranges;
  147. interrupt-map-mask = <0 0 0 0>;
  148. interrupt-map = <0 0 0 0 &mpic 60>;
  149. marvell,pcie-port = <0>;
  150. marvell,pcie-lane = <2>;
  151. clocks = <&gateclk 7>;
  152. status = "disabled";
  153. };
  154. pcie@4,0 {
  155. device_type = "pci";
  156. assigned-addresses = <0x82000800 0 0x4c000 0 0x2000>;
  157. reg = <0x2000 0 0 0 0>;
  158. #address-cells = <3>;
  159. #size-cells = <2>;
  160. #interrupt-cells = <1>;
  161. ranges;
  162. interrupt-map-mask = <0 0 0 0>;
  163. interrupt-map = <0 0 0 0 &mpic 61>;
  164. marvell,pcie-port = <0>;
  165. marvell,pcie-lane = <3>;
  166. clocks = <&gateclk 8>;
  167. status = "disabled";
  168. };
  169. pcie@9,0 {
  170. device_type = "pci";
  171. assigned-addresses = <0x82000800 0 0x42000 0 0x2000>;
  172. reg = <0x4800 0 0 0 0>;
  173. #address-cells = <3>;
  174. #size-cells = <2>;
  175. #interrupt-cells = <1>;
  176. ranges;
  177. interrupt-map-mask = <0 0 0 0>;
  178. interrupt-map = <0 0 0 0 &mpic 99>;
  179. marvell,pcie-port = <2>;
  180. marvell,pcie-lane = <0>;
  181. clocks = <&gateclk 26>;
  182. status = "disabled";
  183. };
  184. pcie@10,0 {
  185. device_type = "pci";
  186. assigned-addresses = <0x82000800 0 0x82000 0 0x2000>;
  187. reg = <0x5000 0 0 0 0>;
  188. #address-cells = <3>;
  189. #size-cells = <2>;
  190. #interrupt-cells = <1>;
  191. ranges;
  192. interrupt-map-mask = <0 0 0 0>;
  193. interrupt-map = <0 0 0 0 &mpic 103>;
  194. marvell,pcie-port = <3>;
  195. marvell,pcie-lane = <0>;
  196. clocks = <&gateclk 27>;
  197. status = "disabled";
  198. };
  199. };
  200. };
  201. };
  202. };