bcm958623hr.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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 (BCM958623HR)";
  37. compatible = "brcm,bcm958623hr", "brcm,bcm58623", "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. &sata_phy0 {
  119. status = "okay";
  120. };
  121. &qspi {
  122. status = "okay";
  123. bspi-sel = <0>;
  124. flash: flash@0 {
  125. #address-cells = <1>;
  126. #size-cells = <1>;
  127. compatible = "m25p80";
  128. reg = <0x0>;
  129. spi-max-frequency = <12500000>;
  130. m25p,fast-read;
  131. spi-cpol;
  132. spi-cpha;
  133. partition@0 {
  134. label = "boot";
  135. reg = <0x00000000 0x000a0000>;
  136. };
  137. partition@a0000 {
  138. label = "env";
  139. reg = <0x000a0000 0x00060000>;
  140. };
  141. partition@100000 {
  142. label = "system";
  143. reg = <0x00100000 0x00600000>;
  144. };
  145. partition@700000 {
  146. label = "rootfs";
  147. reg = <0x00700000 0x01900000>;
  148. };
  149. };
  150. };
  151. &srab {
  152. compatible = "brcm,bcm58623-srab", "brcm,nsp-srab";
  153. status = "okay";
  154. ports {
  155. port@0 {
  156. label = "port0";
  157. reg = <0>;
  158. };
  159. port@1 {
  160. label = "port1";
  161. reg = <1>;
  162. };
  163. port@2 {
  164. label = "port2";
  165. reg = <2>;
  166. };
  167. port@3 {
  168. label = "port3";
  169. reg = <3>;
  170. };
  171. port@4 {
  172. label = "port4";
  173. reg = <4>;
  174. };
  175. port@8 {
  176. ethernet = <&amac2>;
  177. label = "cpu";
  178. reg = <8>;
  179. fixed-link {
  180. speed = <1000>;
  181. full-duplex;
  182. };
  183. };
  184. };
  185. };
  186. &uart0 {
  187. status = "okay";
  188. };
  189. &usb3_phy {
  190. status = "okay";
  191. };
  192. &xhci {
  193. status = "okay";
  194. };