ns2-svk.dts 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. /*
  2. * BSD LICENSE
  3. *
  4. * Copyright(c) 2015 Broadcom Corporation. 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 "ns2.dtsi"
  34. / {
  35. model = "Broadcom NS2 SVK";
  36. compatible = "brcm,ns2-svk", "brcm,ns2";
  37. aliases {
  38. serial0 = &uart3;
  39. serial1 = &uart0;
  40. serial2 = &uart1;
  41. serial3 = &uart2;
  42. };
  43. chosen {
  44. stdout-path = "serial0:115200n8";
  45. bootargs = "earlycon=uart8250,mmio32,0x66130000";
  46. };
  47. memory {
  48. device_type = "memory";
  49. reg = <0x000000000 0x80000000 0x00000000 0x40000000>;
  50. };
  51. };
  52. &enet {
  53. status = "ok";
  54. };
  55. &pci_phy0 {
  56. status = "ok";
  57. };
  58. &pci_phy1 {
  59. status = "ok";
  60. };
  61. &pcie0 {
  62. status = "ok";
  63. };
  64. &pcie4 {
  65. status = "ok";
  66. };
  67. &i2c0 {
  68. status = "ok";
  69. };
  70. &i2c1 {
  71. status = "ok";
  72. };
  73. &uart0 {
  74. status = "ok";
  75. };
  76. &uart1 {
  77. status = "ok";
  78. };
  79. &uart2 {
  80. status = "ok";
  81. };
  82. &uart3 {
  83. status = "ok";
  84. };
  85. &ssp0 {
  86. status = "ok";
  87. slic@0 {
  88. compatible = "silabs,si3226x";
  89. reg = <0>;
  90. spi-max-frequency = <5000000>;
  91. spi-cpha = <1>;
  92. spi-cpol = <1>;
  93. pl022,hierarchy = <0>;
  94. pl022,interface = <0>;
  95. pl022,slave-tx-disable = <0>;
  96. pl022,com-mode = <0>;
  97. pl022,rx-level-trig = <1>;
  98. pl022,tx-level-trig = <1>;
  99. pl022,ctrl-len = <11>;
  100. pl022,wait-state = <0>;
  101. pl022,duplex = <0>;
  102. };
  103. };
  104. &ssp1 {
  105. status = "ok";
  106. at25@0 {
  107. compatible = "atmel,at25";
  108. reg = <0>;
  109. spi-max-frequency = <5000000>;
  110. at25,byte-len = <0x8000>;
  111. at25,addr-mode = <2>;
  112. at25,page-size = <64>;
  113. spi-cpha = <1>;
  114. spi-cpol = <1>;
  115. pl022,hierarchy = <0>;
  116. pl022,interface = <0>;
  117. pl022,slave-tx-disable = <0>;
  118. pl022,com-mode = <0>;
  119. pl022,rx-level-trig = <1>;
  120. pl022,tx-level-trig = <1>;
  121. pl022,ctrl-len = <11>;
  122. pl022,wait-state = <0>;
  123. pl022,duplex = <0>;
  124. };
  125. };
  126. &sata_phy0 {
  127. status = "ok";
  128. };
  129. &sata_phy1 {
  130. status = "ok";
  131. };
  132. &sata {
  133. status = "ok";
  134. };
  135. &sdio0 {
  136. status = "ok";
  137. };
  138. &sdio1 {
  139. status = "ok";
  140. };
  141. &nand {
  142. nandcs@0 {
  143. compatible = "brcm,nandcs";
  144. reg = <0>;
  145. nand-ecc-mode = "hw";
  146. nand-ecc-strength = <8>;
  147. nand-ecc-step-size = <512>;
  148. nand-bus-width = <16>;
  149. brcm,nand-oob-sector-size = <16>;
  150. #address-cells = <1>;
  151. #size-cells = <1>;
  152. };
  153. };
  154. &mdio_mux_iproc {
  155. mdio@10 {
  156. gphy0: eth-phy@10 {
  157. enet-phy-lane-swap;
  158. reg = <0x10>;
  159. };
  160. };
  161. };
  162. &pinctrl {
  163. pinctrl-names = "default";
  164. pinctrl-0 = <&nand_sel>;
  165. nand_sel: nand_sel {
  166. function = "nand";
  167. groups = "nand_grp";
  168. };
  169. };
  170. &qspi {
  171. bspi-sel = <0>;
  172. flash: m25p80@0 {
  173. #address-cells = <1>;
  174. #size-cells = <1>;
  175. compatible = "m25p80";
  176. reg = <0x0>;
  177. spi-max-frequency = <12500000>;
  178. m25p,fast-read;
  179. spi-cpol;
  180. spi-cpha;
  181. partition@0 {
  182. label = "boot";
  183. reg = <0x00000000 0x000a0000>;
  184. };
  185. partition@a0000 {
  186. label = "env";
  187. reg = <0x000a0000 0x00060000>;
  188. };
  189. partition@100000 {
  190. label = "system";
  191. reg = <0x00100000 0x00600000>;
  192. };
  193. partition@700000 {
  194. label = "rootfs";
  195. reg = <0x00700000 0x01900000>;
  196. };
  197. };
  198. };