armada-xp-gp.dts 3.6 KB

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