armada-385-db.dts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. /*
  2. * Device Tree file for Marvell Armada 385 evaluation board
  3. * (DB-88F6820)
  4. *
  5. * Copyright (C) 2014 Marvell
  6. *
  7. * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  8. *
  9. * This file is licensed under the terms of the GNU General Public
  10. * License version 2. This program is licensed "as is" without any
  11. * warranty of any kind, whether express or implied.
  12. */
  13. /dts-v1/;
  14. #include "armada-385.dtsi"
  15. / {
  16. model = "Marvell Armada 385 Development Board";
  17. compatible = "marvell,a385-db", "marvell,armada385", "marvell,armada380";
  18. chosen {
  19. bootargs = "console=ttyS0,115200 earlyprintk";
  20. };
  21. memory {
  22. device_type = "memory";
  23. reg = <0x00000000 0x10000000>; /* 256 MB */
  24. };
  25. soc {
  26. ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
  27. MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>;
  28. internal-regs {
  29. spi@10600 {
  30. status = "okay";
  31. spi-flash@0 {
  32. #address-cells = <1>;
  33. #size-cells = <1>;
  34. compatible = "w25q32";
  35. reg = <0>; /* Chip select 0 */
  36. spi-max-frequency = <108000000>;
  37. };
  38. };
  39. i2c@11000 {
  40. status = "okay";
  41. clock-frequency = <100000>;
  42. };
  43. i2c@11100 {
  44. status = "okay";
  45. clock-frequency = <100000>;
  46. };
  47. serial@12000 {
  48. status = "okay";
  49. };
  50. ethernet@30000 {
  51. status = "okay";
  52. phy = <&phy1>;
  53. phy-mode = "rgmii-id";
  54. };
  55. usb@50000 {
  56. status = "ok";
  57. };
  58. ethernet@70000 {
  59. status = "okay";
  60. phy = <&phy0>;
  61. phy-mode = "rgmii-id";
  62. };
  63. mdio {
  64. phy0: ethernet-phy@0 {
  65. reg = <0>;
  66. };
  67. phy1: ethernet-phy@1 {
  68. reg = <1>;
  69. };
  70. };
  71. sata@a8000 {
  72. status = "okay";
  73. };
  74. sata@e0000 {
  75. status = "okay";
  76. };
  77. flash@d0000 {
  78. status = "okay";
  79. num-cs = <1>;
  80. marvell,nand-keep-config;
  81. marvell,nand-enable-arbiter;
  82. nand-on-flash-bbt;
  83. nand-ecc-strength = <4>;
  84. nand-ecc-step-size = <512>;
  85. partition@0 {
  86. label = "U-Boot";
  87. reg = <0 0x800000>;
  88. };
  89. partition@800000 {
  90. label = "Linux";
  91. reg = <0x800000 0x800000>;
  92. };
  93. partition@1000000 {
  94. label = "Filesystem";
  95. reg = <0x1000000 0x3f000000>;
  96. };
  97. };
  98. sdhci@d8000 {
  99. clock-frequency = <200000000>;
  100. broken-cd;
  101. wp-inverted;
  102. bus-width = <8>;
  103. status = "okay";
  104. };
  105. usb3@f0000 {
  106. status = "okay";
  107. };
  108. usb3@f8000 {
  109. status = "okay";
  110. };
  111. };
  112. pcie-controller {
  113. status = "okay";
  114. /*
  115. * The two PCIe units are accessible through
  116. * standard PCIe slots on the board.
  117. */
  118. pcie@1,0 {
  119. /* Port 0, Lane 0 */
  120. status = "okay";
  121. };
  122. pcie@2,0 {
  123. /* Port 1, Lane 0 */
  124. status = "okay";
  125. };
  126. };
  127. };
  128. };