armada-370-db.dts 2.3 KB

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