armada-390-db.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Device Tree file for Marvell Armada 390 Development Board
  4. * (DB-88F6920)
  5. *
  6. * Copyright (C) 2016 Marvell
  7. *
  8. * Grzegorz Jaszczyk <[email protected]>
  9. */
  10. /dts-v1/;
  11. #include "armada-390.dtsi"
  12. / {
  13. model = "Marvell Armada 390 Development Board";
  14. compatible = "marvell,a390-db", "marvell,armada390";
  15. chosen {
  16. stdout-path = "serial0:115200n8";
  17. };
  18. memory {
  19. device_type = "memory";
  20. reg = <0x00000000 0x80000000>; /* 2 GB */
  21. };
  22. soc {
  23. ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
  24. MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>;
  25. internal-regs {
  26. i2c@11000 {
  27. status = "okay";
  28. clock-frequency = <100000>;
  29. eeprom@50 {
  30. compatible = "atmel,24c64";
  31. reg = <0x50>;
  32. };
  33. };
  34. /* CON104 */
  35. serial@12000 {
  36. status = "okay";
  37. };
  38. /* CON97 */
  39. usb@58000 {
  40. status = "okay";
  41. };
  42. /* CON98 */
  43. usb3@f8000 {
  44. status = "okay";
  45. };
  46. };
  47. pcie {
  48. status = "okay";
  49. /* CON30 */
  50. pcie@1,0 {
  51. status = "okay";
  52. };
  53. /* CON44 */
  54. pcie@2,0 {
  55. status = "okay";
  56. };
  57. /* CON61 */
  58. pcie@3,0 {
  59. status = "okay";
  60. };
  61. };
  62. };
  63. };
  64. &spi1 {
  65. status = "okay";
  66. pinctrl-0 = <&spi1_pins>;
  67. pinctrl-names = "default";
  68. flash@1 {
  69. #address-cells = <1>;
  70. #size-cells = <1>;
  71. compatible = "n25q128a13",
  72. "jedec,spi-nor";
  73. reg = <0>; /* Chip select 0 */
  74. spi-max-frequency = <108000000>;
  75. partitions {
  76. compatible = "fixed-partitions";
  77. #address-cells = <1>;
  78. #size-cells = <1>;
  79. partition@0 {
  80. label = "U-Boot";
  81. reg = <0 0x400000>;
  82. };
  83. partition@400000 {
  84. label = "Filesystem";
  85. reg = <0x400000 0xc00000>;
  86. };
  87. };
  88. };
  89. };
  90. &nand_controller {
  91. status = "okay";
  92. pinctrl-0 = <&nand_pins>;
  93. pinctrl-names = "default";
  94. nand@0 {
  95. reg = <0>;
  96. label = "pxa3xx_nand-0";
  97. nand-rb = <0>;
  98. marvell,nand-keep-config;
  99. nand-on-flash-bbt;
  100. nand-ecc-strength = <8>;
  101. nand-ecc-step-size = <512>;
  102. partitions {
  103. compatible = "fixed-partitions";
  104. #address-cells = <1>;
  105. #size-cells = <1>;
  106. partition@0 {
  107. label = "U-Boot";
  108. reg = <0 0x800000>;
  109. };
  110. partition@800000 {
  111. label = "Linux";
  112. reg = <0x800000 0x800000>;
  113. };
  114. partition@1000000 {
  115. label = "Filesystem";
  116. reg = <0x1000000 0x3f000000>;
  117. };
  118. };
  119. };
  120. };