armada-xp-mv78230.dtsi 4.6 KB

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