armada-xp-mv78460.dtsi 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  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 MV78460 SoC that are not
  13. * common to all Armada XP SoCs.
  14. */
  15. /include/ "armada-xp.dtsi"
  16. / {
  17. model = "Marvell Armada XP MV78460 SoC";
  18. compatible = "marvell,armadaxp-mv78460", "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. cpu@2 {
  40. device_type = "cpu";
  41. compatible = "marvell,sheeva-v7";
  42. reg = <2>;
  43. clocks = <&cpuclk 2>;
  44. };
  45. cpu@3 {
  46. device_type = "cpu";
  47. compatible = "marvell,sheeva-v7";
  48. reg = <3>;
  49. clocks = <&cpuclk 3>;
  50. };
  51. };
  52. soc {
  53. pinctrl {
  54. compatible = "marvell,mv78460-pinctrl";
  55. reg = <0xd0018000 0x38>;
  56. sdio_pins: sdio-pins {
  57. marvell,pins = "mpp30", "mpp31", "mpp32",
  58. "mpp33", "mpp34", "mpp35";
  59. marvell,function = "sd0";
  60. };
  61. };
  62. gpio0: gpio@d0018100 {
  63. compatible = "marvell,orion-gpio";
  64. reg = <0xd0018100 0x40>;
  65. ngpios = <32>;
  66. gpio-controller;
  67. #gpio-cells = <2>;
  68. interrupt-controller;
  69. #interrupts-cells = <2>;
  70. interrupts = <82>, <83>, <84>, <85>;
  71. };
  72. gpio1: gpio@d0018140 {
  73. compatible = "marvell,orion-gpio";
  74. reg = <0xd0018140 0x40>;
  75. ngpios = <32>;
  76. gpio-controller;
  77. #gpio-cells = <2>;
  78. interrupt-controller;
  79. #interrupts-cells = <2>;
  80. interrupts = <87>, <88>, <89>, <90>;
  81. };
  82. gpio2: gpio@d0018180 {
  83. compatible = "marvell,orion-gpio";
  84. reg = <0xd0018180 0x40>;
  85. ngpios = <3>;
  86. gpio-controller;
  87. #gpio-cells = <2>;
  88. interrupt-controller;
  89. #interrupts-cells = <2>;
  90. interrupts = <91>;
  91. };
  92. ethernet@d0034000 {
  93. compatible = "marvell,armada-370-neta";
  94. reg = <0xd0034000 0x2500>;
  95. interrupts = <14>;
  96. clocks = <&gateclk 1>;
  97. status = "disabled";
  98. };
  99. /*
  100. * MV78460 has 4 PCIe units Gen2.0: Two units can be
  101. * configured as x4 or quad x1 lanes. Two units are
  102. * x4/x1.
  103. */
  104. pcie-controller {
  105. compatible = "marvell,armada-xp-pcie";
  106. status = "disabled";
  107. device_type = "pci";
  108. #address-cells = <3>;
  109. #size-cells = <2>;
  110. bus-range = <0x00 0xff>;
  111. ranges = <0x82000000 0 0xd0040000 0xd0040000 0 0x00002000 /* Port 0.0 registers */
  112. 0x82000000 0 0xd0042000 0xd0042000 0 0x00002000 /* Port 2.0 registers */
  113. 0x82000000 0 0xd0044000 0xd0044000 0 0x00002000 /* Port 0.1 registers */
  114. 0x82000000 0 0xd0048000 0xd0048000 0 0x00002000 /* Port 0.2 registers */
  115. 0x82000000 0 0xd004c000 0xd004c000 0 0x00002000 /* Port 0.3 registers */
  116. 0x82000000 0 0xd0080000 0xd0080000 0 0x00002000 /* Port 1.0 registers */
  117. 0x82000000 0 0xd0082000 0xd0082000 0 0x00002000 /* Port 3.0 registers */
  118. 0x82000000 0 0xd0084000 0xd0084000 0 0x00002000 /* Port 1.1 registers */
  119. 0x82000000 0 0xd0088000 0xd0088000 0 0x00002000 /* Port 1.2 registers */
  120. 0x82000000 0 0xd008c000 0xd008c000 0 0x00002000 /* Port 1.3 registers */
  121. 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */
  122. 0x81000000 0 0 0xe8000000 0 0x00100000>; /* downstream I/O */
  123. pcie@1,0 {
  124. device_type = "pci";
  125. assigned-addresses = <0x82000800 0 0xd0040000 0 0x2000>;
  126. reg = <0x0800 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 58>;
  133. marvell,pcie-port = <0>;
  134. marvell,pcie-lane = <0>;
  135. clocks = <&gateclk 5>;
  136. status = "disabled";
  137. };
  138. pcie@2,0 {
  139. device_type = "pci";
  140. assigned-addresses = <0x82001000 0 0xd0044000 0 0x2000>;
  141. reg = <0x1000 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 59>;
  148. marvell,pcie-port = <0>;
  149. marvell,pcie-lane = <1>;
  150. clocks = <&gateclk 6>;
  151. status = "disabled";
  152. };
  153. pcie@3,0 {
  154. device_type = "pci";
  155. assigned-addresses = <0x82001800 0 0xd0048000 0 0x2000>;
  156. reg = <0x1800 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 60>;
  163. marvell,pcie-port = <0>;
  164. marvell,pcie-lane = <2>;
  165. clocks = <&gateclk 7>;
  166. status = "disabled";
  167. };
  168. pcie@4,0 {
  169. device_type = "pci";
  170. assigned-addresses = <0x82002000 0 0xd004c000 0 0x2000>;
  171. reg = <0x2000 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 61>;
  178. marvell,pcie-port = <0>;
  179. marvell,pcie-lane = <3>;
  180. clocks = <&gateclk 8>;
  181. status = "disabled";
  182. };
  183. pcie@5,0 {
  184. device_type = "pci";
  185. assigned-addresses = <0x82002800 0 0xd0080000 0 0x2000>;
  186. reg = <0x2800 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 62>;
  193. marvell,pcie-port = <1>;
  194. marvell,pcie-lane = <0>;
  195. clocks = <&gateclk 9>;
  196. status = "disabled";
  197. };
  198. pcie@6,0 {
  199. device_type = "pci";
  200. assigned-addresses = <0x82003000 0 0xd0084000 0 0x2000>;
  201. reg = <0x3000 0 0 0 0>;
  202. #address-cells = <3>;
  203. #size-cells = <2>;
  204. #interrupt-cells = <1>;
  205. ranges;
  206. interrupt-map-mask = <0 0 0 0>;
  207. interrupt-map = <0 0 0 0 &mpic 63>;
  208. marvell,pcie-port = <1>;
  209. marvell,pcie-lane = <1>;
  210. clocks = <&gateclk 10>;
  211. status = "disabled";
  212. };
  213. pcie@7,0 {
  214. device_type = "pci";
  215. assigned-addresses = <0x82003800 0 0xd0088000 0 0x2000>;
  216. reg = <0x3800 0 0 0 0>;
  217. #address-cells = <3>;
  218. #size-cells = <2>;
  219. #interrupt-cells = <1>;
  220. ranges;
  221. interrupt-map-mask = <0 0 0 0>;
  222. interrupt-map = <0 0 0 0 &mpic 64>;
  223. marvell,pcie-port = <1>;
  224. marvell,pcie-lane = <2>;
  225. clocks = <&gateclk 11>;
  226. status = "disabled";
  227. };
  228. pcie@8,0 {
  229. device_type = "pci";
  230. assigned-addresses = <0x82004000 0 0xd008c000 0 0x2000>;
  231. reg = <0x4000 0 0 0 0>;
  232. #address-cells = <3>;
  233. #size-cells = <2>;
  234. #interrupt-cells = <1>;
  235. ranges;
  236. interrupt-map-mask = <0 0 0 0>;
  237. interrupt-map = <0 0 0 0 &mpic 65>;
  238. marvell,pcie-port = <1>;
  239. marvell,pcie-lane = <3>;
  240. clocks = <&gateclk 12>;
  241. status = "disabled";
  242. };
  243. pcie@9,0 {
  244. device_type = "pci";
  245. assigned-addresses = <0x82004800 0 0xd0042000 0 0x2000>;
  246. reg = <0x4800 0 0 0 0>;
  247. #address-cells = <3>;
  248. #size-cells = <2>;
  249. #interrupt-cells = <1>;
  250. ranges;
  251. interrupt-map-mask = <0 0 0 0>;
  252. interrupt-map = <0 0 0 0 &mpic 99>;
  253. marvell,pcie-port = <2>;
  254. marvell,pcie-lane = <0>;
  255. clocks = <&gateclk 26>;
  256. status = "disabled";
  257. };
  258. pcie@10,0 {
  259. device_type = "pci";
  260. assigned-addresses = <0x82005000 0 0xd0082000 0 0x2000>;
  261. reg = <0x5000 0 0 0 0>;
  262. #address-cells = <3>;
  263. #size-cells = <2>;
  264. #interrupt-cells = <1>;
  265. ranges;
  266. interrupt-map-mask = <0 0 0 0>;
  267. interrupt-map = <0 0 0 0 &mpic 103>;
  268. marvell,pcie-port = <3>;
  269. marvell,pcie-lane = <0>;
  270. clocks = <&gateclk 27>;
  271. status = "disabled";
  272. };
  273. };
  274. };
  275. };