armada-xp-mv78460.dtsi 7.7 KB

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