armada-xp-gp.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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. internal-regs {
  38. serial@12000 {
  39. clock-frequency = <250000000>;
  40. status = "okay";
  41. };
  42. serial@12100 {
  43. clock-frequency = <250000000>;
  44. status = "okay";
  45. };
  46. serial@12200 {
  47. clock-frequency = <250000000>;
  48. status = "okay";
  49. };
  50. serial@12300 {
  51. clock-frequency = <250000000>;
  52. status = "okay";
  53. };
  54. sata@a0000 {
  55. nr-ports = <2>;
  56. status = "okay";
  57. };
  58. mdio {
  59. phy0: ethernet-phy@0 {
  60. reg = <16>;
  61. };
  62. phy1: ethernet-phy@1 {
  63. reg = <17>;
  64. };
  65. phy2: ethernet-phy@2 {
  66. reg = <18>;
  67. };
  68. phy3: ethernet-phy@3 {
  69. reg = <19>;
  70. };
  71. };
  72. ethernet@70000 {
  73. status = "okay";
  74. phy = <&phy0>;
  75. phy-mode = "rgmii-id";
  76. };
  77. ethernet@74000 {
  78. status = "okay";
  79. phy = <&phy1>;
  80. phy-mode = "rgmii-id";
  81. };
  82. ethernet@30000 {
  83. status = "okay";
  84. phy = <&phy2>;
  85. phy-mode = "rgmii-id";
  86. };
  87. ethernet@34000 {
  88. status = "okay";
  89. phy = <&phy3>;
  90. phy-mode = "rgmii-id";
  91. };
  92. /* Front-side USB slot */
  93. usb@50000 {
  94. status = "okay";
  95. };
  96. /* Back-side USB slot */
  97. usb@51000 {
  98. status = "okay";
  99. };
  100. spi0: spi@10600 {
  101. status = "okay";
  102. spi-flash@0 {
  103. #address-cells = <1>;
  104. #size-cells = <1>;
  105. compatible = "n25q128a13";
  106. reg = <0>; /* Chip select 0 */
  107. spi-max-frequency = <108000000>;
  108. };
  109. };
  110. devbus-bootcs@10400 {
  111. status = "okay";
  112. ranges = <0 0xf0000000 0x1000000>; /* @addr 0xf000000, size 0x1000000 */
  113. /* Device Bus parameters are required */
  114. /* Read parameters */
  115. devbus,bus-width = <8>;
  116. devbus,turn-off-ps = <60000>;
  117. devbus,badr-skew-ps = <0>;
  118. devbus,acc-first-ps = <124000>;
  119. devbus,acc-next-ps = <248000>;
  120. devbus,rd-setup-ps = <0>;
  121. devbus,rd-hold-ps = <0>;
  122. /* Write parameters */
  123. devbus,sync-enable = <0>;
  124. devbus,wr-high-ps = <60000>;
  125. devbus,wr-low-ps = <60000>;
  126. devbus,ale-wr-ps = <60000>;
  127. /* NOR 16 MiB */
  128. nor@0 {
  129. compatible = "cfi-flash";
  130. reg = <0 0x1000000>;
  131. bank-width = <2>;
  132. };
  133. };
  134. pcie-controller {
  135. status = "okay";
  136. /*
  137. * The 3 slots are physically present as
  138. * standard PCIe slots on the board.
  139. */
  140. pcie@1,0 {
  141. /* Port 0, Lane 0 */
  142. status = "okay";
  143. };
  144. pcie@9,0 {
  145. /* Port 2, Lane 0 */
  146. status = "okay";
  147. };
  148. pcie@10,0 {
  149. /* Port 3, Lane 0 */
  150. status = "okay";
  151. };
  152. };
  153. };
  154. };
  155. };