dockstar.dts 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. /*
  2. * Copyright (c) 2010 The FreeBSD Foundation
  3. * All rights reserved.
  4. *
  5. * This software was developed by Semihalf under sponsorship from
  6. * the FreeBSD Foundation.
  7. *
  8. * Redistribution and use in source and binary forms, with or without
  9. * modification, are permitted provided that the following conditions
  10. * are met:
  11. * 1. Redistributions of source code must retain the above copyright
  12. * notice, this list of conditions and the following disclaimer.
  13. * 2. Redistributions in binary form must reproduce the above copyright
  14. * notice, this list of conditions and the following disclaimer in the
  15. * documentation and/or other materials provided with the distribution.
  16. *
  17. * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
  18. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  19. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  20. * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  21. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  22. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  23. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  24. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  25. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  26. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  27. * SUCH DAMAGE.
  28. *
  29. * Seagate DockStar (Marvell SheevaPlug based) Device Tree Source.
  30. *
  31. * $FreeBSD$
  32. */
  33. /dts-v1/;
  34. / {
  35. model = "seagate,DockStar";
  36. compatible = "DockStar";
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. aliases {
  40. ethernet0 = &enet0;
  41. mpp = &MPP;
  42. serial0 = &serial0;
  43. serial1 = &serial1;
  44. soc = &SOC;
  45. sram = &SRAM;
  46. };
  47. cpus {
  48. #address-cells = <1>;
  49. #size-cells = <0>;
  50. cpu@0 {
  51. device_type = "cpu";
  52. compatible = "ARM,88FR131";
  53. reg = <0x0>;
  54. d-cache-line-size = <32>; // 32 bytes
  55. i-cache-line-size = <32>; // 32 bytes
  56. d-cache-size = <0x4000>; // L1, 16K
  57. i-cache-size = <0x4000>; // L1, 16K
  58. timebase-frequency = <0>;
  59. bus-frequency = <0>;
  60. clock-frequency = <0>;
  61. };
  62. };
  63. memory {
  64. device_type = "memory";
  65. reg = <0x0 0x8000000>; // 128M at 0x0
  66. };
  67. localbus@f1000000 {
  68. #address-cells = <2>;
  69. #size-cells = <1>;
  70. compatible = "mrvl,lbc";
  71. /* This reflects CPU decode windows setup for NAND access. */
  72. ranges = <0x0 0x2f 0xf9300000 0x00100000>;
  73. nand@0,0 {
  74. #address-cells = <1>;
  75. #size-cells = <1>;
  76. compatible = "mrvl,nfc";
  77. reg = <0x0 0x0 0x00100000>;
  78. bank-width = <2>;
  79. device-width = <1>;
  80. };
  81. };
  82. SOC: soc88f6281@f1000000 {
  83. #address-cells = <1>;
  84. #size-cells = <1>;
  85. compatible = "simple-bus";
  86. ranges = <0x0 0xf1000000 0x00100000>;
  87. bus-frequency = <0>;
  88. PIC: pic@20200 {
  89. interrupt-controller;
  90. #address-cells = <0>;
  91. #interrupt-cells = <1>;
  92. reg = <0x20200 0x3c>;
  93. compatible = "mrvl,pic";
  94. };
  95. timer@20300 {
  96. compatible = "mrvl,timer";
  97. reg = <0x20300 0x30>;
  98. interrupts = <1>;
  99. interrupt-parent = <&PIC>;
  100. mrvl,has-wdt;
  101. };
  102. MPP: mpp@10000 {
  103. #pin-cells = <2>;
  104. compatible = "mrvl,mpp";
  105. reg = <0x10000 0x34>;
  106. pin-count = <50>;
  107. pin-map = <
  108. 0 1 /* MPP[0]: NF_IO[2] */
  109. 1 1 /* MPP[1]: NF_IO[3] */
  110. 2 1 /* MPP[2]: NF_IO[4] */
  111. 3 1 /* MPP[3]: NF_IO[5] */
  112. 4 1 /* MPP[4]: NF_IO[6] */
  113. 5 1 /* MPP[5]: NF_IO[7] */
  114. 6 1 /* MPP[6]: SYSRST_OUTn */
  115. 8 2 /* MPP[8]: UA0_RTS */
  116. 9 2 /* MPP[9]: UA0_CTS */
  117. 10 3 /* MPP[10]: UA0_TXD */
  118. 11 3 /* MPP[11]: UA0_RXD */
  119. 12 1 /* MPP[12]: SD_CLK */
  120. 13 1 /* MPP[13]: SD_CMD */
  121. 14 1 /* MPP[14]: SD_D[0] */
  122. 15 1 /* MPP[15]: SD_D[1] */
  123. 16 1 /* MPP[16]: SD_D[2] */
  124. 17 1 /* MPP[17]: SD_D[3] */
  125. 18 1 /* MPP[18]: NF_IO[0] */
  126. 19 1 /* MPP[19]: NF_IO[1] */
  127. 29 1 >; /* MPP[29]: TSMP[9] */
  128. };
  129. GPIO: gpio@10100 {
  130. #gpio-cells = <2>;
  131. compatible = "mrvl,gpio";
  132. reg = <0x10100 0x20>;
  133. gpio-controller;
  134. interrupts = <35 36 37 38 39 40 41>;
  135. interrupt-parent = <&PIC>;
  136. };
  137. rtc@10300 {
  138. compatible = "mrvl,rtc";
  139. reg = <0x10300 0x08>;
  140. };
  141. twsi@11000 {
  142. #address-cells = <1>;
  143. #size-cells = <0>;
  144. compatible = "mrvl,twsi";
  145. reg = <0x11000 0x20>;
  146. interrupts = <43>;
  147. interrupt-parent = <&PIC>;
  148. };
  149. enet0: ethernet@72000 {
  150. #address-cells = <1>;
  151. #size-cells = <1>;
  152. model = "V2";
  153. compatible = "mrvl,ge";
  154. reg = <0x72000 0x2000>;
  155. ranges = <0x0 0x72000 0x2000>;
  156. local-mac-address = [ 00 00 00 00 00 00 ];
  157. interrupts = <12 13 14 11 46>;
  158. interrupt-parent = <&PIC>;
  159. phy-handle = <&phy0>;
  160. mdio@0 {
  161. #address-cells = <1>;
  162. #size-cells = <0>;
  163. compatible = "mrvl,mdio";
  164. phy0: ethernet-phy@0 {
  165. reg = <0x0>;
  166. };
  167. };
  168. };
  169. serial0: serial@12000 {
  170. compatible = "ns16550";
  171. reg = <0x12000 0x20>;
  172. reg-shift = <2>;
  173. clock-frequency = <0>;
  174. interrupts = <33>;
  175. interrupt-parent = <&PIC>;
  176. };
  177. serial1: serial@12100 {
  178. compatible = "ns16550";
  179. reg = <0x12100 0x20>;
  180. reg-shift = <2>;
  181. clock-frequency = <0>;
  182. interrupts = <34>;
  183. interrupt-parent = <&PIC>;
  184. };
  185. crypto@30000 {
  186. compatible = "mrvl,cesa";
  187. reg = <0x30000 0x1000 /* tdma base reg chan 0 */
  188. 0x3D000 0x1000>; /* cesa base reg chan 0 */
  189. interrupts = <22>;
  190. interrupt-parent = <&PIC>;
  191. sram-handle = <&SRAM>;
  192. };
  193. usb@50000 {
  194. compatible = "mrvl,usb-ehci", "usb-ehci";
  195. reg = <0x50000 0x1000>;
  196. interrupts = <48 19>;
  197. interrupt-parent = <&PIC>;
  198. };
  199. xor@60000 {
  200. compatible = "mrvl,xor";
  201. reg = <0x60000 0x1000>;
  202. interrupts = <5 6 7 8>;
  203. interrupt-parent = <&PIC>;
  204. };
  205. };
  206. SRAM: sram@fd000000 {
  207. compatible = "mrvl,cesa-sram";
  208. reg = <0xfd000000 0x00100000>;
  209. };
  210. chosen {
  211. stdin = "serial0";
  212. stdout = "serial0";
  213. };
  214. };