bcm958622hr.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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 (BCM958622HR)";
  37. compatible = "brcm,bcm958622hr", "brcm,bcm58622", "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 and SLIC support needed to be complete */
  53. &dma {
  54. status = "okay";
  55. };
  56. &amac0 {
  57. status = "okay";
  58. };
  59. &amac1 {
  60. status = "okay";
  61. };
  62. &amac2 {
  63. status = "okay";
  64. };
  65. &ehci0 {
  66. status = "okay";
  67. };
  68. &nand_controller {
  69. nand@0 {
  70. compatible = "brcm,nandcs";
  71. reg = <0>;
  72. nand-on-flash-bbt;
  73. #address-cells = <1>;
  74. #size-cells = <1>;
  75. nand-ecc-strength = <24>;
  76. nand-ecc-step-size = <1024>;
  77. brcm,nand-oob-sector-size = <27>;
  78. partition@0 {
  79. label = "nboot";
  80. reg = <0x00000000 0x00200000>;
  81. read-only;
  82. };
  83. partition@200000 {
  84. label = "nenv";
  85. reg = <0x00200000 0x00400000>;
  86. };
  87. partition@600000 {
  88. label = "nsystem";
  89. reg = <0x00600000 0x00a00000>;
  90. };
  91. partition@1000000 {
  92. label = "nrootfs";
  93. reg = <0x01000000 0x03000000>;
  94. };
  95. partition@4000000 {
  96. label = "ncustfs";
  97. reg = <0x04000000 0x3c000000>;
  98. };
  99. };
  100. };
  101. &ohci0 {
  102. status = "okay";
  103. };
  104. &pcie0 {
  105. status = "okay";
  106. };
  107. &pcie1 {
  108. status = "okay";
  109. };
  110. &pinctrl {
  111. pinctrl-names = "default";
  112. pinctrl-0 = <&nand_sel>;
  113. nand_sel: nand_sel {
  114. function = "nand";
  115. groups = "nand_grp";
  116. };
  117. };
  118. &qspi {
  119. status = "okay";
  120. bspi-sel = <0>;
  121. flash: flash@0 {
  122. #address-cells = <1>;
  123. #size-cells = <1>;
  124. compatible = "m25p80";
  125. reg = <0x0>;
  126. spi-max-frequency = <12500000>;
  127. m25p,fast-read;
  128. spi-cpol;
  129. spi-cpha;
  130. partition@0 {
  131. label = "boot";
  132. reg = <0x00000000 0x000a0000>;
  133. };
  134. partition@a0000 {
  135. label = "env";
  136. reg = <0x000a0000 0x00060000>;
  137. };
  138. partition@100000 {
  139. label = "system";
  140. reg = <0x00100000 0x00600000>;
  141. };
  142. partition@700000 {
  143. label = "rootfs";
  144. reg = <0x00700000 0x01900000>;
  145. };
  146. };
  147. };
  148. &srab {
  149. compatible = "brcm,bcm58622-srab", "brcm,nsp-srab";
  150. status = "okay";
  151. ports {
  152. port@0 {
  153. label = "port0";
  154. reg = <0>;
  155. };
  156. port@1 {
  157. label = "port1";
  158. reg = <1>;
  159. };
  160. port@2 {
  161. label = "port2";
  162. reg = <2>;
  163. };
  164. port@3 {
  165. label = "port3";
  166. reg = <3>;
  167. };
  168. port@4 {
  169. label = "port4";
  170. reg = <4>;
  171. };
  172. port@8 {
  173. ethernet = <&amac2>;
  174. label = "cpu";
  175. reg = <8>;
  176. fixed-link {
  177. speed = <1000>;
  178. full-duplex;
  179. };
  180. };
  181. };
  182. };
  183. &uart0 {
  184. status = "okay";
  185. };
  186. &usb3_phy {
  187. status = "okay";
  188. };
  189. &xhci {
  190. status = "okay";
  191. };