bcm958525er.dts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. /*
  2. * BSD LICENSE
  3. *
  4. * Copyright(c) 2016 Broadcom. All rights reserved.
  5. *
  6. * Redistribution and use in source and binary forms, with or without
  7. * modification, are permitted provided that the following conditions
  8. * are met:
  9. *
  10. * * Redistributions of source code must retain the above copyright
  11. * notice, this list of conditions and the following disclaimer.
  12. * * Redistributions in binary form must reproduce the above copyright
  13. * notice, this list of conditions and the following disclaimer in
  14. * the documentation and/or other materials provided with the
  15. * distribution.
  16. * * Neither the name of Broadcom Corporation nor the names of its
  17. * contributors may be used to endorse or promote products derived
  18. * from this software without specific prior written permission.
  19. *
  20. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  21. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  22. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  23. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  24. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  25. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  26. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  27. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  28. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  29. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  30. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. */
  32. /dts-v1/;
  33. #include "bcm-nsp.dtsi"
  34. #include <dt-bindings/gpio/gpio.h>
  35. / {
  36. model = "NorthStar Plus SVK (BCM958525ER)";
  37. compatible = "brcm,bcm958525er", "brcm,bcm58525", "brcm,nsp";
  38. chosen {
  39. stdout-path = "serial0:115200n8";
  40. };
  41. memory@60000000 {
  42. device_type = "memory";
  43. reg = <0x60000000 0x80000000>;
  44. };
  45. gpio-restart {
  46. compatible = "gpio-restart";
  47. gpios = <&gpioa 15 GPIO_ACTIVE_LOW>;
  48. open-source;
  49. priority = <200>;
  50. };
  51. };
  52. /* USB 3 support needed to be complete */
  53. &dma {
  54. status = "okay";
  55. };
  56. &amac0 {
  57. status = "okay";
  58. };
  59. &amac1 {
  60. status = "okay";
  61. };
  62. &ehci0 {
  63. status = "okay";
  64. };
  65. &nand_controller {
  66. nand@0 {
  67. compatible = "brcm,nandcs";
  68. reg = <0>;
  69. nand-on-flash-bbt;
  70. #address-cells = <1>;
  71. #size-cells = <1>;
  72. nand-ecc-strength = <24>;
  73. nand-ecc-step-size = <1024>;
  74. brcm,nand-oob-sector-size = <27>;
  75. partition@0 {
  76. label = "nboot";
  77. reg = <0x00000000 0x00200000>;
  78. read-only;
  79. };
  80. partition@200000 {
  81. label = "nenv";
  82. reg = <0x00200000 0x00400000>;
  83. };
  84. partition@600000 {
  85. label = "nsystem";
  86. reg = <0x00600000 0x00a00000>;
  87. };
  88. partition@1000000 {
  89. label = "nrootfs";
  90. reg = <0x01000000 0x03000000>;
  91. };
  92. partition@4000000 {
  93. label = "ncustfs";
  94. reg = <0x04000000 0x3c000000>;
  95. };
  96. };
  97. };
  98. &ohci0 {
  99. status = "okay";
  100. };
  101. &pcie0 {
  102. status = "okay";
  103. };
  104. &pcie1 {
  105. status = "okay";
  106. };
  107. &pinctrl {
  108. pinctrl-names = "default";
  109. pinctrl-0 = <&nand_sel>;
  110. nand_sel: nand_sel {
  111. function = "nand";
  112. groups = "nand_grp";
  113. };
  114. };
  115. &qspi {
  116. status = "okay";
  117. bspi-sel = <0>;
  118. flash: flash@0 {
  119. #address-cells = <1>;
  120. #size-cells = <1>;
  121. compatible = "m25p80";
  122. reg = <0x0>;
  123. spi-max-frequency = <12500000>;
  124. m25p,fast-read;
  125. spi-cpol;
  126. spi-cpha;
  127. partition@0 {
  128. label = "boot";
  129. reg = <0x00000000 0x000a0000>;
  130. };
  131. partition@a0000 {
  132. label = "env";
  133. reg = <0x000a0000 0x00060000>;
  134. };
  135. partition@100000 {
  136. label = "system";
  137. reg = <0x00100000 0x00600000>;
  138. };
  139. partition@700000 {
  140. label = "rootfs";
  141. reg = <0x00700000 0x01900000>;
  142. };
  143. };
  144. };
  145. &sata_phy0 {
  146. status = "okay";
  147. };
  148. &sata_phy1 {
  149. status = "okay";
  150. };
  151. &sata {
  152. status = "okay";
  153. };
  154. &uart0 {
  155. status = "okay";
  156. };
  157. &usb3_phy {
  158. status = "okay";
  159. };
  160. &xhci {
  161. status = "okay";
  162. };
  163. &srab {
  164. compatible = "brcm,bcm58525-srab", "brcm,nsp-srab";
  165. };