armada-370-db.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000
  29. MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>;
  30. internal-regs {
  31. serial@12000 {
  32. clock-frequency = <200000000>;
  33. status = "okay";
  34. };
  35. sata@a0000 {
  36. nr-ports = <2>;
  37. status = "okay";
  38. };
  39. mdio {
  40. phy0: ethernet-phy@0 {
  41. reg = <0>;
  42. };
  43. phy1: ethernet-phy@1 {
  44. reg = <1>;
  45. };
  46. };
  47. ethernet@70000 {
  48. status = "okay";
  49. phy = <&phy0>;
  50. phy-mode = "rgmii-id";
  51. };
  52. ethernet@74000 {
  53. status = "okay";
  54. phy = <&phy1>;
  55. phy-mode = "rgmii-id";
  56. };
  57. mvsdio@d4000 {
  58. pinctrl-0 = <&sdio_pins1>;
  59. pinctrl-names = "default";
  60. /*
  61. * This device is disabled by default, because
  62. * using the SD card connector requires
  63. * changing the default CON40 connector
  64. * "DB-88F6710_MPP_2xRGMII_DEVICE_Jumper" to a
  65. * different connector
  66. * "DB-88F6710_MPP_RGMII_SD_Jumper".
  67. */
  68. status = "disabled";
  69. /* No CD or WP GPIOs */
  70. broken-cd;
  71. };
  72. usb@50000 {
  73. status = "okay";
  74. };
  75. usb@51000 {
  76. status = "okay";
  77. };
  78. spi0: spi@10600 {
  79. status = "okay";
  80. spi-flash@0 {
  81. #address-cells = <1>;
  82. #size-cells = <1>;
  83. compatible = "mx25l25635e";
  84. reg = <0>; /* Chip select 0 */
  85. spi-max-frequency = <50000000>;
  86. };
  87. };
  88. pcie-controller {
  89. status = "okay";
  90. /*
  91. * The two PCIe units are accessible through
  92. * both standard PCIe slots and mini-PCIe
  93. * slots on the board.
  94. */
  95. pcie@1,0 {
  96. /* Port 0, Lane 0 */
  97. status = "okay";
  98. };
  99. pcie@2,0 {
  100. /* Port 1, Lane 0 */
  101. status = "okay";
  102. };
  103. };
  104. };
  105. };
  106. };