zynqmp-zc1751-xm016-dc2.dts 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. /*
  2. * dts file for Xilinx ZynqMP zc1751-xm016-dc2
  3. *
  4. * (C) Copyright 2015, Xilinx, Inc.
  5. *
  6. * Michal Simek <michal.simek@xilinx.com>
  7. *
  8. * SPDX-License-Identifier: GPL-2.0+
  9. */
  10. /dts-v1/;
  11. #include "zynqmp.dtsi"
  12. #include "zynqmp-clk.dtsi"
  13. / {
  14. model = "ZynqMP zc1751-xm016-dc2 RevA";
  15. compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp";
  16. aliases {
  17. can0 = &can0;
  18. can1 = &can1;
  19. ethernet0 = &gem2;
  20. gpio0 = &gpio;
  21. i2c0 = &i2c0;
  22. rtc0 = &rtc;
  23. serial0 = &uart0;
  24. serial1 = &uart1;
  25. spi0 = &spi0;
  26. spi1 = &spi1;
  27. usb0 = &usb1;
  28. };
  29. chosen {
  30. bootargs = "earlycon";
  31. stdout-path = "serial0:115200n8";
  32. };
  33. memory@0 {
  34. device_type = "memory";
  35. reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
  36. };
  37. };
  38. &can0 {
  39. status = "okay";
  40. };
  41. &can1 {
  42. status = "okay";
  43. };
  44. /* fpd_dma clk 667MHz, lpd_dma 500MHz */
  45. &fpd_dma_chan1 {
  46. status = "okay";
  47. xlnx,include-sg; /* for testing purpose */
  48. xlnx,overfetch; /* for testing purpose */
  49. xlnx,ratectrl = <0>; /* for testing purpose */
  50. xlnx,src-issue = <31>;
  51. };
  52. &fpd_dma_chan2 {
  53. status = "okay";
  54. xlnx,ratectrl = <100>; /* for testing purpose */
  55. xlnx,src-issue = <4>; /* for testing purpose */
  56. };
  57. &fpd_dma_chan3 {
  58. status = "okay";
  59. };
  60. &fpd_dma_chan4 {
  61. status = "okay";
  62. xlnx,include-sg; /* for testing purpose */
  63. };
  64. &fpd_dma_chan5 {
  65. status = "okay";
  66. };
  67. &fpd_dma_chan6 {
  68. status = "okay";
  69. xlnx,include-sg; /* for testing purpose */
  70. };
  71. &fpd_dma_chan7 {
  72. status = "okay";
  73. };
  74. &fpd_dma_chan8 {
  75. status = "okay";
  76. xlnx,include-sg; /* for testing purpose */
  77. };
  78. &gem2 {
  79. status = "okay";
  80. local-mac-address = [00 0a 35 00 02 90];
  81. phy-handle = <&phy0>;
  82. phy-mode = "rgmii-id";
  83. phy0: phy@5 {
  84. reg = <5>;
  85. ti,rx-internal-delay = <0x8>;
  86. ti,tx-internal-delay = <0xa>;
  87. ti,fifo-depth = <0x1>;
  88. };
  89. };
  90. &gpio {
  91. status = "okay";
  92. };
  93. &i2c0 {
  94. status = "okay";
  95. clock-frequency = <400000>;
  96. tca6416_u26: gpio@20 {
  97. compatible = "ti,tca6416";
  98. reg = <0x20>;
  99. gpio-controller;
  100. #gpio-cells = <2>;
  101. /* IRQ not connected */
  102. };
  103. rtc@68 {
  104. compatible = "dallas,ds1339";
  105. reg = <0x68>;
  106. };
  107. };
  108. &nand0 {
  109. status = "okay";
  110. arasan,has-mdma;
  111. num-cs = <2>;
  112. partition@0 { /* for testing purpose */
  113. label = "nand-fsbl-uboot";
  114. reg = <0x0 0x0 0x400000>;
  115. };
  116. partition@1 { /* for testing purpose */
  117. label = "nand-linux";
  118. reg = <0x0 0x400000 0x1400000>;
  119. };
  120. partition@2 { /* for testing purpose */
  121. label = "nand-device-tree";
  122. reg = <0x0 0x1800000 0x400000>;
  123. };
  124. partition@3 { /* for testing purpose */
  125. label = "nand-rootfs";
  126. reg = <0x0 0x1C00000 0x1400000>;
  127. };
  128. partition@4 { /* for testing purpose */
  129. label = "nand-bitstream";
  130. reg = <0x0 0x3000000 0x400000>;
  131. };
  132. partition@5 { /* for testing purpose */
  133. label = "nand-misc";
  134. reg = <0x0 0x3400000 0xFCC00000>;
  135. };
  136. partition@6 { /* for testing purpose */
  137. label = "nand1-fsbl-uboot";
  138. reg = <0x1 0x0 0x400000>;
  139. };
  140. partition@7 { /* for testing purpose */
  141. label = "nand1-linux";
  142. reg = <0x1 0x400000 0x1400000>;
  143. };
  144. partition@8 { /* for testing purpose */
  145. label = "nand1-device-tree";
  146. reg = <0x1 0x1800000 0x400000>;
  147. };
  148. partition@9 { /* for testing purpose */
  149. label = "nand1-rootfs";
  150. reg = <0x1 0x1C00000 0x1400000>;
  151. };
  152. partition@10 { /* for testing purpose */
  153. label = "nand1-bitstream";
  154. reg = <0x1 0x3000000 0x400000>;
  155. };
  156. partition@11 { /* for testing purpose */
  157. label = "nand1-misc";
  158. reg = <0x1 0x3400000 0xFCC00000>;
  159. };
  160. };
  161. &rtc {
  162. status = "okay";
  163. };
  164. &spi0 {
  165. status = "okay";
  166. num-cs = <1>;
  167. spi0_flash0: spi0_flash0@0 {
  168. compatible = "m25p80";
  169. #address-cells = <1>;
  170. #size-cells = <1>;
  171. spi-max-frequency = <50000000>;
  172. reg = <0>;
  173. spi0_flash0@00000000 {
  174. label = "spi0_flash0";
  175. reg = <0x0 0x100000>;
  176. };
  177. };
  178. };
  179. &spi1 {
  180. status = "okay";
  181. num-cs = <1>;
  182. spi1_flash0: spi1_flash0@0 {
  183. compatible = "mtd_dataflash";
  184. #address-cells = <1>;
  185. #size-cells = <1>;
  186. spi-max-frequency = <20000000>;
  187. reg = <0>;
  188. spi1_flash0@00000000 {
  189. label = "spi1_flash0";
  190. reg = <0x0 0x84000>;
  191. };
  192. };
  193. };
  194. /* ULPI SMSC USB3320 */
  195. &usb1 {
  196. status = "okay";
  197. dr_mode = "host";
  198. };
  199. &uart0 {
  200. status = "okay";
  201. };
  202. &uart1 {
  203. status = "okay";
  204. };