armada-370-db.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. /*
  2. * Device Tree file for Marvell Armada 370 evaluation board
  3. * (DB-88F6710-BP-DDR3)
  4. *
  5. * Copyright (C) 2012 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-370.dtsi"
  17. / {
  18. model = "Marvell Armada 370 Evaluation Board";
  19. compatible = "marvell,a370-db", "marvell,armada370", "marvell,armada-370-xp";
  20. chosen {
  21. bootargs = "console=ttyS0,115200 earlyprintk";
  22. };
  23. memory {
  24. device_type = "memory";
  25. reg = <0x00000000 0x40000000>; /* 1 GB */
  26. };
  27. soc {
  28. internal-regs {
  29. serial@12000 {
  30. clock-frequency = <200000000>;
  31. status = "okay";
  32. };
  33. sata@a0000 {
  34. nr-ports = <2>;
  35. status = "okay";
  36. };
  37. mdio {
  38. phy0: ethernet-phy@0 {
  39. reg = <0>;
  40. };
  41. phy1: ethernet-phy@1 {
  42. reg = <1>;
  43. };
  44. };
  45. ethernet@70000 {
  46. status = "okay";
  47. phy = <&phy0>;
  48. phy-mode = "rgmii-id";
  49. };
  50. ethernet@74000 {
  51. status = "okay";
  52. phy = <&phy1>;
  53. phy-mode = "rgmii-id";
  54. };
  55. mvsdio@d4000 {
  56. pinctrl-0 = <&sdio_pins1>;
  57. pinctrl-names = "default";
  58. /*
  59. * This device is disabled by default, because
  60. * using the SD card connector requires
  61. * changing the default CON40 connector
  62. * "DB-88F6710_MPP_2xRGMII_DEVICE_Jumper" to a
  63. * different connector
  64. * "DB-88F6710_MPP_RGMII_SD_Jumper".
  65. */
  66. status = "disabled";
  67. /* No CD or WP GPIOs */
  68. broken-cd;
  69. };
  70. usb@50000 {
  71. status = "okay";
  72. };
  73. usb@51000 {
  74. status = "okay";
  75. };
  76. spi0: spi@10600 {
  77. status = "okay";
  78. spi-flash@0 {
  79. #address-cells = <1>;
  80. #size-cells = <1>;
  81. compatible = "mx25l25635e";
  82. reg = <0>; /* Chip select 0 */
  83. spi-max-frequency = <50000000>;
  84. };
  85. };
  86. pcie-controller {
  87. status = "okay";
  88. /*
  89. * The two PCIe units are accessible through
  90. * both standard PCIe slots and mini-PCIe
  91. * slots on the board.
  92. */
  93. pcie@1,0 {
  94. /* Port 0, Lane 0 */
  95. status = "okay";
  96. };
  97. pcie@2,0 {
  98. /* Port 1, Lane 0 */
  99. status = "okay";
  100. };
  101. };
  102. };
  103. };
  104. };