armada-xp-mv78230.dtsi 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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 MV78230 SoC that are not
  13. * common to all Armada XP SoCs.
  14. */
  15. /include/ "armada-xp.dtsi"
  16. / {
  17. model = "Marvell Armada XP MV78230 SoC";
  18. compatible = "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp";
  19. aliases {
  20. gpio0 = &gpio0;
  21. gpio1 = &gpio1;
  22. };
  23. cpus {
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. cpu@0 {
  27. device_type = "cpu";
  28. compatible = "marvell,sheeva-v7";
  29. reg = <0>;
  30. clocks = <&cpuclk 0>;
  31. };
  32. cpu@1 {
  33. device_type = "cpu";
  34. compatible = "marvell,sheeva-v7";
  35. reg = <1>;
  36. clocks = <&cpuclk 1>;
  37. };
  38. };
  39. soc {
  40. pinctrl {
  41. compatible = "marvell,mv78230-pinctrl";
  42. reg = <0xd0018000 0x38>;
  43. sdio_pins: sdio-pins {
  44. marvell,pins = "mpp30", "mpp31", "mpp32",
  45. "mpp33", "mpp34", "mpp35";
  46. marvell,function = "sd0";
  47. };
  48. };
  49. gpio0: gpio@d0018100 {
  50. compatible = "marvell,orion-gpio";
  51. reg = <0xd0018100 0x40>;
  52. ngpios = <32>;
  53. gpio-controller;
  54. #gpio-cells = <2>;
  55. interrupt-controller;
  56. #interrupts-cells = <2>;
  57. interrupts = <82>, <83>, <84>, <85>;
  58. };
  59. gpio1: gpio@d0018140 {
  60. compatible = "marvell,orion-gpio";
  61. reg = <0xd0018140 0x40>;
  62. ngpios = <17>;
  63. gpio-controller;
  64. #gpio-cells = <2>;
  65. interrupt-controller;
  66. #interrupts-cells = <2>;
  67. interrupts = <87>, <88>, <89>;
  68. };
  69. /*
  70. * MV78230 has 2 PCIe units Gen2.0: One unit can be
  71. * configured as x4 or quad x1 lanes. One unit is
  72. * x4/x1.
  73. */
  74. pcie-controller {
  75. compatible = "marvell,armada-xp-pcie";
  76. status = "disabled";
  77. device_type = "pci";
  78. #address-cells = <3>;
  79. #size-cells = <2>;
  80. bus-range = <0x00 0xff>;
  81. ranges = <0x82000000 0 0xd0040000 0xd0040000 0 0x00002000 /* Port 0.0 registers */
  82. 0x82000000 0 0xd0042000 0xd0042000 0 0x00002000 /* Port 2.0 registers */
  83. 0x82000000 0 0xd0044000 0xd0044000 0 0x00002000 /* Port 0.1 registers */
  84. 0x82000000 0 0xd0048000 0xd0048000 0 0x00002000 /* Port 0.2 registers */
  85. 0x82000000 0 0xd004c000 0xd004c000 0 0x00002000 /* Port 0.3 registers */
  86. 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */
  87. 0x81000000 0 0 0xe8000000 0 0x00100000>; /* downstream I/O */
  88. pcie@1,0 {
  89. device_type = "pci";
  90. assigned-addresses = <0x82000800 0 0xd0040000 0 0x2000>;
  91. reg = <0x0800 0 0 0 0>;
  92. #address-cells = <3>;
  93. #size-cells = <2>;
  94. #interrupt-cells = <1>;
  95. ranges;
  96. interrupt-map-mask = <0 0 0 0>;
  97. interrupt-map = <0 0 0 0 &mpic 58>;
  98. marvell,pcie-port = <0>;
  99. marvell,pcie-lane = <0>;
  100. clocks = <&gateclk 5>;
  101. status = "disabled";
  102. };
  103. pcie@2,0 {
  104. device_type = "pci";
  105. assigned-addresses = <0x82000800 0 0xd0044000 0 0x2000>;
  106. reg = <0x1000 0 0 0 0>;
  107. #address-cells = <3>;
  108. #size-cells = <2>;
  109. #interrupt-cells = <1>;
  110. ranges;
  111. interrupt-map-mask = <0 0 0 0>;
  112. interrupt-map = <0 0 0 0 &mpic 59>;
  113. marvell,pcie-port = <0>;
  114. marvell,pcie-lane = <1>;
  115. clocks = <&gateclk 6>;
  116. status = "disabled";
  117. };
  118. pcie@3,0 {
  119. device_type = "pci";
  120. assigned-addresses = <0x82000800 0 0xd0048000 0 0x2000>;
  121. reg = <0x1800 0 0 0 0>;
  122. #address-cells = <3>;
  123. #size-cells = <2>;
  124. #interrupt-cells = <1>;
  125. ranges;
  126. interrupt-map-mask = <0 0 0 0>;
  127. interrupt-map = <0 0 0 0 &mpic 60>;
  128. marvell,pcie-port = <0>;
  129. marvell,pcie-lane = <2>;
  130. clocks = <&gateclk 7>;
  131. status = "disabled";
  132. };
  133. pcie@4,0 {
  134. device_type = "pci";
  135. assigned-addresses = <0x82000800 0 0xd004c000 0 0x2000>;
  136. reg = <0x2000 0 0 0 0>;
  137. #address-cells = <3>;
  138. #size-cells = <2>;
  139. #interrupt-cells = <1>;
  140. ranges;
  141. interrupt-map-mask = <0 0 0 0>;
  142. interrupt-map = <0 0 0 0 &mpic 61>;
  143. marvell,pcie-port = <0>;
  144. marvell,pcie-lane = <3>;
  145. clocks = <&gateclk 8>;
  146. status = "disabled";
  147. };
  148. pcie@9,0 {
  149. device_type = "pci";
  150. assigned-addresses = <0x82000800 0 0xd0042000 0 0x2000>;
  151. reg = <0x4800 0 0 0 0>;
  152. #address-cells = <3>;
  153. #size-cells = <2>;
  154. #interrupt-cells = <1>;
  155. ranges;
  156. interrupt-map-mask = <0 0 0 0>;
  157. interrupt-map = <0 0 0 0 &mpic 99>;
  158. marvell,pcie-port = <2>;
  159. marvell,pcie-lane = <0>;
  160. clocks = <&gateclk 26>;
  161. status = "disabled";
  162. };
  163. };
  164. };
  165. };