armada-xp-gp.dts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. /*
  2. * Device Tree file for Marvell Armada XP development board
  3. * (DB-MV784MP-GP)
  4. *
  5. * Copyright (C) 2013 Marvell
  6. *
  7. * Lior Amsalem <alior@marvell.com>
  8. * Gregory CLEMENT <gregory.clement@free-electrons.com>
  9. * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  10. *
  11. * This file is licensed under the terms of the GNU General Public
  12. * License version 2. This program is licensed "as is" without any
  13. * warranty of any kind, whether express or implied.
  14. */
  15. /dts-v1/;
  16. /include/ "armada-xp-mv78460.dtsi"
  17. / {
  18. model = "Marvell Armada XP Development Board DB-MV784MP-GP";
  19. compatible = "marvell,axp-gp", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp";
  20. chosen {
  21. bootargs = "console=ttyS0,115200 earlyprintk";
  22. };
  23. memory {
  24. device_type = "memory";
  25. /*
  26. * 8 GB of plug-in RAM modules by default.The amount
  27. * of memory available can be changed by the
  28. * bootloader according the size of the module
  29. * actually plugged. Only 7GB are usable because
  30. * addresses from 0xC0000000 to 0xffffffff are used by
  31. * the internal registers of the SoC.
  32. */
  33. reg = <0x00000000 0x00000000 0x00000000 0xC0000000>,
  34. <0x00000001 0x00000000 0x00000001 0x00000000>;
  35. };
  36. soc {
  37. ranges = <0 0 0xd0000000 0x100000 /* Internal registers 1MiB */
  38. 0xe0000000 0 0xe0000000 0x8100000 /* PCIe */
  39. 0xf0000000 0 0xf0000000 0x1000000 /* Device Bus, NOR 16MiB */>;
  40. internal-regs {
  41. serial@12000 {
  42. clock-frequency = <250000000>;
  43. status = "okay";
  44. };
  45. serial@12100 {
  46. clock-frequency = <250000000>;
  47. status = "okay";
  48. };
  49. serial@12200 {
  50. clock-frequency = <250000000>;
  51. status = "okay";
  52. };
  53. serial@12300 {
  54. clock-frequency = <250000000>;
  55. status = "okay";
  56. };
  57. sata@a0000 {
  58. nr-ports = <2>;
  59. status = "okay";
  60. };
  61. mdio {
  62. phy0: ethernet-phy@0 {
  63. reg = <16>;
  64. };
  65. phy1: ethernet-phy@1 {
  66. reg = <17>;
  67. };
  68. phy2: ethernet-phy@2 {
  69. reg = <18>;
  70. };
  71. phy3: ethernet-phy@3 {
  72. reg = <19>;
  73. };
  74. };
  75. ethernet@70000 {
  76. status = "okay";
  77. phy = <&phy0>;
  78. phy-mode = "rgmii-id";
  79. };
  80. ethernet@74000 {
  81. status = "okay";
  82. phy = <&phy1>;
  83. phy-mode = "rgmii-id";
  84. };
  85. ethernet@30000 {
  86. status = "okay";
  87. phy = <&phy2>;
  88. phy-mode = "rgmii-id";
  89. };
  90. ethernet@34000 {
  91. status = "okay";
  92. phy = <&phy3>;
  93. phy-mode = "rgmii-id";
  94. };
  95. /* Front-side USB slot */
  96. usb@50000 {
  97. status = "okay";
  98. };
  99. /* Back-side USB slot */
  100. usb@51000 {
  101. status = "okay";
  102. };
  103. spi0: spi@10600 {
  104. status = "okay";
  105. spi-flash@0 {
  106. #address-cells = <1>;
  107. #size-cells = <1>;
  108. compatible = "n25q128a13";
  109. reg = <0>; /* Chip select 0 */
  110. spi-max-frequency = <108000000>;
  111. };
  112. };
  113. devbus-bootcs@10400 {
  114. status = "okay";
  115. ranges = <0 0xf0000000 0x1000000>; /* @addr 0xf000000, size 0x1000000 */
  116. /* Device Bus parameters are required */
  117. /* Read parameters */
  118. devbus,bus-width = <8>;
  119. devbus,turn-off-ps = <60000>;
  120. devbus,badr-skew-ps = <0>;
  121. devbus,acc-first-ps = <124000>;
  122. devbus,acc-next-ps = <248000>;
  123. devbus,rd-setup-ps = <0>;
  124. devbus,rd-hold-ps = <0>;
  125. /* Write parameters */
  126. devbus,sync-enable = <0>;
  127. devbus,wr-high-ps = <60000>;
  128. devbus,wr-low-ps = <60000>;
  129. devbus,ale-wr-ps = <60000>;
  130. /* NOR 16 MiB */
  131. nor@0 {
  132. compatible = "cfi-flash";
  133. reg = <0 0x1000000>;
  134. bank-width = <2>;
  135. };
  136. };
  137. pcie-controller {
  138. status = "okay";
  139. /*
  140. * The 3 slots are physically present as
  141. * standard PCIe slots on the board.
  142. */
  143. pcie@1,0 {
  144. /* Port 0, Lane 0 */
  145. status = "okay";
  146. };
  147. pcie@9,0 {
  148. /* Port 2, Lane 0 */
  149. status = "okay";
  150. };
  151. pcie@10,0 {
  152. /* Port 3, Lane 0 */
  153. status = "okay";
  154. };
  155. };
  156. };
  157. };
  158. };