armada-390-db.dts 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. /*
  2. * Device Tree file for Marvell Armada 390 Development Board
  3. * (DB-88F6920)
  4. *
  5. * Copyright (C) 2016 Marvell
  6. *
  7. * Grzegorz Jaszczyk <jaz@semihalf.com>
  8. *
  9. * This file is dual-licensed: you can use it either under the terms
  10. * of the GPL or the X11 license, at your option. Note that this dual
  11. * licensing only applies to this file, and not this project as a
  12. * whole.
  13. *
  14. * a) This file is free software; you can redistribute it and/or
  15. * modify it under the terms of the GNU General Public License as
  16. * published by the Free Software Foundation; either version 2 of the
  17. * License, or (at your option) any later version.
  18. *
  19. * This file is distributed in the hope that it will be useful
  20. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  21. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  22. * GNU General Public License for more details.
  23. *
  24. * Or, alternatively
  25. *
  26. * b) Permission is hereby granted, free of charge, to any person
  27. * obtaining a copy of this software and associated documentation
  28. * files (the "Software"), to deal in the Software without
  29. * restriction, including without limitation the rights to use
  30. * copy, modify, merge, publish, distribute, sublicense, and/or
  31. * sell copies of the Software, and to permit persons to whom the
  32. * Software is furnished to do so, subject to the following
  33. * conditions:
  34. *
  35. * The above copyright notice and this permission notice shall be
  36. * included in all copies or substantial portions of the Software.
  37. *
  38. * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
  39. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  40. * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  41. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  42. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
  43. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  44. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  45. * OTHER DEALINGS IN THE SOFTWARE.
  46. */
  47. /dts-v1/;
  48. #include "armada-390.dtsi"
  49. / {
  50. model = "Marvell Armada 390 Development Board";
  51. compatible = "marvell,a390-db", "marvell,armada390";
  52. chosen {
  53. stdout-path = "serial0:115200n8";
  54. };
  55. memory {
  56. device_type = "memory";
  57. reg = <0x00000000 0x80000000>; /* 2 GB */
  58. };
  59. soc {
  60. ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
  61. MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>;
  62. internal-regs {
  63. i2c@11000 {
  64. status = "okay";
  65. clock-frequency = <100000>;
  66. eeprom@50 {
  67. compatible = "atmel,24c64";
  68. reg = <0x50>;
  69. };
  70. };
  71. /* CON104 */
  72. serial@12000 {
  73. status = "okay";
  74. };
  75. /* CON97 */
  76. usb@58000 {
  77. status = "okay";
  78. };
  79. flash@d0000 {
  80. status = "okay";
  81. pinctrl-0 = <&nand_pins>;
  82. pinctrl-names = "default";
  83. num-cs = <1>;
  84. marvell,nand-keep-config;
  85. marvell,nand-enable-arbiter;
  86. nand-on-flash-bbt;
  87. nand-ecc-strength = <8>;
  88. nand-ecc-step-size = <512>;
  89. partitions {
  90. compatible = "fixed-partitions";
  91. #address-cells = <1>;
  92. #size-cells = <1>;
  93. partition@0 {
  94. label = "U-Boot";
  95. reg = <0 0x800000>;
  96. };
  97. partition@800000 {
  98. label = "Linux";
  99. reg = <0x800000 0x800000>;
  100. };
  101. partition@1000000 {
  102. label = "Filesystem";
  103. reg = <0x1000000 0x3f000000>;
  104. };
  105. };
  106. };
  107. /* CON98 */
  108. usb3@f8000 {
  109. status = "okay";
  110. };
  111. };
  112. pcie-controller {
  113. status = "okay";
  114. /* CON30 */
  115. pcie@1,0 {
  116. status = "okay";
  117. };
  118. /* CON44 */
  119. pcie@2,0 {
  120. status = "okay";
  121. };
  122. /* CON61 */
  123. pcie@3,0 {
  124. status = "okay";
  125. };
  126. };
  127. };
  128. };
  129. &spi1 {
  130. status = "okay";
  131. pinctrl-0 = <&spi1_pins>;
  132. pinctrl-names = "default";
  133. spi-flash@1 {
  134. #address-cells = <1>;
  135. #size-cells = <1>;
  136. compatible = "n25q128a13",
  137. "jedec,spi-nor";
  138. reg = <0>; /* Chip select 0 */
  139. spi-max-frequency = <108000000>;
  140. partitions {
  141. compatible = "fixed-partitions";
  142. #address-cells = <1>;
  143. #size-cells = <1>;
  144. partition@0 {
  145. label = "U-Boot";
  146. reg = <0 0x400000>;
  147. };
  148. partition@400000 {
  149. label = "Filesystem";
  150. reg = <0x400000 0xc00000>;
  151. };
  152. };
  153. };
  154. };