armada-xp-mv78460.dtsi 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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. eth3 = &eth3;
  24. };
  25. cpus {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. cpu@0 {
  29. device_type = "cpu";
  30. compatible = "marvell,sheeva-v7";
  31. reg = <0>;
  32. clocks = <&cpuclk 0>;
  33. };
  34. cpu@1 {
  35. device_type = "cpu";
  36. compatible = "marvell,sheeva-v7";
  37. reg = <1>;
  38. clocks = <&cpuclk 1>;
  39. };
  40. cpu@2 {
  41. device_type = "cpu";
  42. compatible = "marvell,sheeva-v7";
  43. reg = <2>;
  44. clocks = <&cpuclk 2>;
  45. };
  46. cpu@3 {
  47. device_type = "cpu";
  48. compatible = "marvell,sheeva-v7";
  49. reg = <3>;
  50. clocks = <&cpuclk 3>;
  51. };
  52. };
  53. soc {
  54. internal-regs {
  55. pinctrl {
  56. compatible = "marvell,mv78460-pinctrl";
  57. reg = <0x18000 0x38>;
  58. sdio_pins: sdio-pins {
  59. marvell,pins = "mpp30", "mpp31", "mpp32",
  60. "mpp33", "mpp34", "mpp35";
  61. marvell,function = "sd0";
  62. };
  63. };
  64. gpio0: gpio@18100 {
  65. compatible = "marvell,orion-gpio";
  66. reg = <0x18100 0x40>;
  67. ngpios = <32>;
  68. gpio-controller;
  69. #gpio-cells = <2>;
  70. interrupt-controller;
  71. #interrupts-cells = <2>;
  72. interrupts = <82>, <83>, <84>, <85>;
  73. };
  74. gpio1: gpio@18140 {
  75. compatible = "marvell,orion-gpio";
  76. reg = <0x18140 0x40>;
  77. ngpios = <32>;
  78. gpio-controller;
  79. #gpio-cells = <2>;
  80. interrupt-controller;
  81. #interrupts-cells = <2>;
  82. interrupts = <87>, <88>, <89>, <90>;
  83. };
  84. gpio2: gpio@18180 {
  85. compatible = "marvell,orion-gpio";
  86. reg = <0x18180 0x40>;
  87. ngpios = <3>;
  88. gpio-controller;
  89. #gpio-cells = <2>;
  90. interrupt-controller;
  91. #interrupts-cells = <2>;
  92. interrupts = <91>;
  93. };
  94. eth3: ethernet@34000 {
  95. compatible = "marvell,armada-370-neta";
  96. reg = <0x34000 0x4000>;
  97. interrupts = <14>;
  98. clocks = <&gateclk 1>;
  99. status = "disabled";
  100. };
  101. /*
  102. * MV78460 has 4 PCIe units Gen2.0: Two units can be
  103. * configured as x4 or quad x1 lanes. Two units are
  104. * x4/x1.
  105. */
  106. pcie-controller {
  107. compatible = "marvell,armada-xp-pcie";
  108. status = "disabled";
  109. device_type = "pci";
  110. #address-cells = <3>;
  111. #size-cells = <2>;
  112. bus-range = <0x00 0xff>;
  113. ranges = <0x82000000 0 0x40000 0x40000 0 0x00002000 /* Port 0.0 registers */
  114. 0x82000000 0 0x42000 0x42000 0 0x00002000 /* Port 2.0 registers */
  115. 0x82000000 0 0x44000 0x44000 0 0x00002000 /* Port 0.1 registers */
  116. 0x82000000 0 0x48000 0x48000 0 0x00002000 /* Port 0.2 registers */
  117. 0x82000000 0 0x4c000 0x4c000 0 0x00002000 /* Port 0.3 registers */
  118. 0x82000000 0 0x80000 0x80000 0 0x00002000 /* Port 1.0 registers */
  119. 0x82000000 0 0x82000 0x82000 0 0x00002000 /* Port 3.0 registers */
  120. 0x82000000 0 0x84000 0x84000 0 0x00002000 /* Port 1.1 registers */
  121. 0x82000000 0 0x88000 0x88000 0 0x00002000 /* Port 1.2 registers */
  122. 0x82000000 0 0x8c000 0x8c000 0 0x00002000 /* Port 1.3 registers */
  123. 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */
  124. 0x81000000 0 0 0xe8000000 0 0x00100000>; /* downstream I/O */
  125. pcie@1,0 {
  126. device_type = "pci";
  127. assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
  128. reg = <0x0800 0 0 0 0>;
  129. #address-cells = <3>;
  130. #size-cells = <2>;
  131. #interrupt-cells = <1>;
  132. ranges;
  133. interrupt-map-mask = <0 0 0 0>;
  134. interrupt-map = <0 0 0 0 &mpic 58>;
  135. marvell,pcie-port = <0>;
  136. marvell,pcie-lane = <0>;
  137. clocks = <&gateclk 5>;
  138. status = "disabled";
  139. };
  140. pcie@2,0 {
  141. device_type = "pci";
  142. assigned-addresses = <0x82001000 0 0x44000 0 0x2000>;
  143. reg = <0x1000 0 0 0 0>;
  144. #address-cells = <3>;
  145. #size-cells = <2>;
  146. #interrupt-cells = <1>;
  147. ranges;
  148. interrupt-map-mask = <0 0 0 0>;
  149. interrupt-map = <0 0 0 0 &mpic 59>;
  150. marvell,pcie-port = <0>;
  151. marvell,pcie-lane = <1>;
  152. clocks = <&gateclk 6>;
  153. status = "disabled";
  154. };
  155. pcie@3,0 {
  156. device_type = "pci";
  157. assigned-addresses = <0x82001800 0 0x48000 0 0x2000>;
  158. reg = <0x1800 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 60>;
  165. marvell,pcie-port = <0>;
  166. marvell,pcie-lane = <2>;
  167. clocks = <&gateclk 7>;
  168. status = "disabled";
  169. };
  170. pcie@4,0 {
  171. device_type = "pci";
  172. assigned-addresses = <0x82002000 0 0x4c000 0 0x2000>;
  173. reg = <0x2000 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 61>;
  180. marvell,pcie-port = <0>;
  181. marvell,pcie-lane = <3>;
  182. clocks = <&gateclk 8>;
  183. status = "disabled";
  184. };
  185. pcie@5,0 {
  186. device_type = "pci";
  187. assigned-addresses = <0x82002800 0 0x80000 0 0x2000>;
  188. reg = <0x2800 0 0 0 0>;
  189. #address-cells = <3>;
  190. #size-cells = <2>;
  191. #interrupt-cells = <1>;
  192. ranges;
  193. interrupt-map-mask = <0 0 0 0>;
  194. interrupt-map = <0 0 0 0 &mpic 62>;
  195. marvell,pcie-port = <1>;
  196. marvell,pcie-lane = <0>;
  197. clocks = <&gateclk 9>;
  198. status = "disabled";
  199. };
  200. pcie@6,0 {
  201. device_type = "pci";
  202. assigned-addresses = <0x82003000 0 0x84000 0 0x2000>;
  203. reg = <0x3000 0 0 0 0>;
  204. #address-cells = <3>;
  205. #size-cells = <2>;
  206. #interrupt-cells = <1>;
  207. ranges;
  208. interrupt-map-mask = <0 0 0 0>;
  209. interrupt-map = <0 0 0 0 &mpic 63>;
  210. marvell,pcie-port = <1>;
  211. marvell,pcie-lane = <1>;
  212. clocks = <&gateclk 10>;
  213. status = "disabled";
  214. };
  215. pcie@7,0 {
  216. device_type = "pci";
  217. assigned-addresses = <0x82003800 0 0x88000 0 0x2000>;
  218. reg = <0x3800 0 0 0 0>;
  219. #address-cells = <3>;
  220. #size-cells = <2>;
  221. #interrupt-cells = <1>;
  222. ranges;
  223. interrupt-map-mask = <0 0 0 0>;
  224. interrupt-map = <0 0 0 0 &mpic 64>;
  225. marvell,pcie-port = <1>;
  226. marvell,pcie-lane = <2>;
  227. clocks = <&gateclk 11>;
  228. status = "disabled";
  229. };
  230. pcie@8,0 {
  231. device_type = "pci";
  232. assigned-addresses = <0x82004000 0 0x8c000 0 0x2000>;
  233. reg = <0x4000 0 0 0 0>;
  234. #address-cells = <3>;
  235. #size-cells = <2>;
  236. #interrupt-cells = <1>;
  237. ranges;
  238. interrupt-map-mask = <0 0 0 0>;
  239. interrupt-map = <0 0 0 0 &mpic 65>;
  240. marvell,pcie-port = <1>;
  241. marvell,pcie-lane = <3>;
  242. clocks = <&gateclk 12>;
  243. status = "disabled";
  244. };
  245. pcie@9,0 {
  246. device_type = "pci";
  247. assigned-addresses = <0x82004800 0 0x42000 0 0x2000>;
  248. reg = <0x4800 0 0 0 0>;
  249. #address-cells = <3>;
  250. #size-cells = <2>;
  251. #interrupt-cells = <1>;
  252. ranges;
  253. interrupt-map-mask = <0 0 0 0>;
  254. interrupt-map = <0 0 0 0 &mpic 99>;
  255. marvell,pcie-port = <2>;
  256. marvell,pcie-lane = <0>;
  257. clocks = <&gateclk 26>;
  258. status = "disabled";
  259. };
  260. pcie@10,0 {
  261. device_type = "pci";
  262. assigned-addresses = <0x82005000 0 0x82000 0 0x2000>;
  263. reg = <0x5000 0 0 0 0>;
  264. #address-cells = <3>;
  265. #size-cells = <2>;
  266. #interrupt-cells = <1>;
  267. ranges;
  268. interrupt-map-mask = <0 0 0 0>;
  269. interrupt-map = <0 0 0 0 &mpic 103>;
  270. marvell,pcie-port = <3>;
  271. marvell,pcie-lane = <0>;
  272. clocks = <&gateclk 27>;
  273. status = "disabled";
  274. };
  275. };
  276. };
  277. };
  278. };