armada-395-gp.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. /*
  2. * Device Tree file for Marvell Armada 395 GP board
  3. *
  4. * Copyright (C) 2016 Marvell
  5. *
  6. * Grzegorz Jaszczyk <jaz@semihalf.com>
  7. *
  8. * This file is dual-licensed: you can use it either under the terms
  9. * of the GPL or the X11 license, at your option. Note that this dual
  10. * licensing only applies to this file, and not this project as a
  11. * whole.
  12. *
  13. * a) This file is licensed under the terms of the GNU General Public
  14. * License version 2. This program is licensed "as is" without
  15. * any warranty of any kind, whether express or implied.
  16. *
  17. * Or, alternatively,
  18. *
  19. * b) Permission is hereby granted, free of charge, to any person
  20. * obtaining a copy of this software and associated documentation
  21. * files (the "Software"), to deal in the Software without
  22. * restriction, including without limitation the rights to use,
  23. * copy, modify, merge, publish, distribute, sublicense, and/or
  24. * sell copies of the Software, and to permit persons to whom the
  25. * Software is furnished to do so, subject to the following
  26. * conditions:
  27. *
  28. * The above copyright notice and this permission notice shall be
  29. * included in all copies or substantial portions of the Software.
  30. *
  31. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  32. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  33. * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  34. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  35. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  36. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  37. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  38. * OTHER DEALINGS IN THE SOFTWARE.
  39. */
  40. /dts-v1/;
  41. #include "armada-395.dtsi"
  42. / {
  43. model = "Marvell Armada 395 GP Board";
  44. compatible = "marvell,a395-gp", "marvell,armada395",
  45. "marvell,armada390";
  46. chosen {
  47. stdout-path = "serial0:115200n8";
  48. };
  49. memory {
  50. device_type = "memory";
  51. reg = <0x00000000 0x40000000>; /* 1 GB */
  52. };
  53. soc {
  54. ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
  55. MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>;
  56. internal-regs {
  57. i2c@11000 {
  58. status = "okay";
  59. clock-frequency = <100000>;
  60. eeprom@57 {
  61. compatible = "atmel,24c64";
  62. reg = <0x57>;
  63. };
  64. };
  65. serial@12000 {
  66. /*
  67. * Exported on the micro USB connector CON17
  68. * through an FTDI
  69. */
  70. status = "okay";
  71. };
  72. /* CON1 */
  73. usb@58000 {
  74. status = "okay";
  75. };
  76. /* CON2 */
  77. sata@a8000 {
  78. status = "okay";
  79. };
  80. flash@d0000 {
  81. status = "okay";
  82. pinctrl-0 = <&nand_pins>;
  83. pinctrl-names = "default";
  84. num-cs = <1>;
  85. marvell,nand-keep-config;
  86. marvell,nand-enable-arbiter;
  87. nand-on-flash-bbt;
  88. nand-ecc-strength = <4>;
  89. nand-ecc-step-size = <512>;
  90. partitions {
  91. compatible = "fixed-partitions";
  92. #address-cells = <1>;
  93. #size-cells = <1>;
  94. partition@0 {
  95. label = "U-Boot";
  96. reg = <0x00000000 0x00600000>;
  97. read-only;
  98. };
  99. partition@800000 {
  100. label = "uImage";
  101. reg = <0x00600000 0x00400000>;
  102. read-only;
  103. };
  104. partition@1000000 {
  105. label = "Root";
  106. reg = <0x00a00000 0x3f600000>;
  107. };
  108. };
  109. };
  110. /* CON18 */
  111. sdhci@d8000 {
  112. clock-frequency = <200000000>;
  113. broken-cd;
  114. wp-inverted;
  115. bus-width = <8>;
  116. status = "okay";
  117. no-1-8-v;
  118. };
  119. /* CON4 */
  120. usb3@f0000 {
  121. status = "okay";
  122. };
  123. };
  124. pcie-controller {
  125. status = "okay";
  126. /*
  127. * The two PCIe units are accessible through
  128. * mini PCIe slot on the board.
  129. */
  130. /* CON7 */
  131. pcie@2,0 {
  132. /* Port 1, Lane 0 */
  133. status = "okay";
  134. };
  135. /* CON8 */
  136. pcie@4,0 {
  137. /* Port 3, Lane 0 */
  138. status = "okay";
  139. };
  140. };
  141. };
  142. };