zynqmp-ep108.dts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. /*
  2. * dts file for Xilinx ZynqMP ep108 development board
  3. *
  4. * (C) Copyright 2014 - 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-ep108-clk.dtsi"
  13. / {
  14. model = "ZynqMP EP108";
  15. aliases {
  16. mmc0 = &sdhci0;
  17. mmc1 = &sdhci1;
  18. serial0 = &uart0;
  19. spi0 = &qspi;
  20. spi1 = &spi0;
  21. spi2 = &spi1;
  22. usb0 = &usb0;
  23. usb1 = &usb1;
  24. };
  25. chosen {
  26. stdout-path = "serial0:115200n8";
  27. };
  28. memory@0 {
  29. device_type = "memory";
  30. reg = <0x0 0x0 0x0 0x40000000>;
  31. };
  32. };
  33. &can0 {
  34. status = "okay";
  35. };
  36. &can1 {
  37. status = "okay";
  38. };
  39. &gem0 {
  40. status = "okay";
  41. phy-handle = <&phy0>;
  42. phy-mode = "rgmii-id";
  43. phy0: phy@0 {
  44. reg = <0>;
  45. max-speed = <100>;
  46. };
  47. };
  48. &gpio {
  49. status = "okay";
  50. };
  51. &i2c0 {
  52. status = "okay";
  53. clock-frequency = <400000>;
  54. eeprom@54 {
  55. compatible = "at,24c64";
  56. reg = <0x54>;
  57. };
  58. };
  59. &i2c1 {
  60. status = "okay";
  61. clock-frequency = <400000>;
  62. eeprom@55 {
  63. compatible = "at,24c64";
  64. reg = <0x55>;
  65. };
  66. };
  67. &nand0 {
  68. status = "okay";
  69. arasan,has-mdma;
  70. num-cs = <1>;
  71. partition@0 { /* for testing purpose */
  72. label = "nand-fsbl-uboot";
  73. reg = <0x0 0x0 0x400000>;
  74. };
  75. partition@1 { /* for testing purpose */
  76. label = "nand-linux";
  77. reg = <0x0 0x400000 0x1400000>;
  78. };
  79. partition@2 { /* for testing purpose */
  80. label = "nand-device-tree";
  81. reg = <0x0 0x1800000 0x400000>;
  82. };
  83. partition@3 { /* for testing purpose */
  84. label = "nand-rootfs";
  85. reg = <0x0 0x1C00000 0x1400000>;
  86. };
  87. partition@4 { /* for testing purpose */
  88. label = "nand-bitstream";
  89. reg = <0x0 0x3000000 0x400000>;
  90. };
  91. partition@5 { /* for testing purpose */
  92. label = "nand-misc";
  93. reg = <0x0 0x3400000 0xFCC00000>;
  94. };
  95. };
  96. &qspi {
  97. status = "okay";
  98. flash@0 {
  99. compatible = "m25p80";
  100. #address-cells = <1>;
  101. #size-cells = <1>;
  102. reg = <0x0>;
  103. spi-tx-bus-width = <1>;
  104. spi-rx-bus-width = <4>;
  105. spi-max-frequency = <10000000>;
  106. partition@qspi-fsbl-uboot { /* for testing purpose */
  107. label = "qspi-fsbl-uboot";
  108. reg = <0x0 0x100000>;
  109. };
  110. partition@qspi-linux { /* for testing purpose */
  111. label = "qspi-linux";
  112. reg = <0x100000 0x500000>;
  113. };
  114. partition@qspi-device-tree { /* for testing purpose */
  115. label = "qspi-device-tree";
  116. reg = <0x600000 0x20000>;
  117. };
  118. partition@qspi-rootfs { /* for testing purpose */
  119. label = "qspi-rootfs";
  120. reg = <0x620000 0x5E0000>;
  121. };
  122. };
  123. };
  124. &sata {
  125. status = "okay";
  126. ceva,broken-gen2;
  127. /* SATA Phy OOB timing settings */
  128. ceva,p0-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
  129. ceva,p0-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
  130. ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
  131. ceva,p0-retry-params = /bits/ 16 <0x0216 0x7F06>;
  132. ceva,p1-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
  133. ceva,p1-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
  134. ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
  135. ceva,p1-retry-params = /bits/ 16 <0x0216 0x7F06>;
  136. };
  137. &sdhci0 {
  138. status = "okay";
  139. bus-width = <8>;
  140. xlnx,mio_bank = <2>;
  141. };
  142. &sdhci1 {
  143. status = "okay";
  144. xlnx,mio_bank = <1>;
  145. };
  146. &spi0 {
  147. status = "okay";
  148. num-cs = <1>;
  149. spi0_flash0: spi0_flash0@0 {
  150. compatible = "m25p80";
  151. #address-cells = <1>;
  152. #size-cells = <1>;
  153. spi-max-frequency = <50000000>;
  154. reg = <0>;
  155. spi0_flash0@00000000 {
  156. label = "spi0_flash0";
  157. reg = <0x0 0x100000>;
  158. };
  159. };
  160. };
  161. &spi1 {
  162. status = "okay";
  163. num-cs = <1>;
  164. spi1_flash0: spi1_flash0@0 {
  165. compatible = "m25p80";
  166. #address-cells = <1>;
  167. #size-cells = <1>;
  168. spi-max-frequency = <50000000>;
  169. reg = <0>;
  170. spi1_flash0@00000000 {
  171. label = "spi1_flash0";
  172. reg = <0x0 0x100000>;
  173. };
  174. };
  175. };
  176. &uart0 {
  177. status = "okay";
  178. };
  179. &usb0 {
  180. status = "okay";
  181. };
  182. &dwc3_0 {
  183. status = "okay";
  184. dr_mode = "peripheral";
  185. maximum-speed = "high-speed";
  186. };
  187. &usb1 {
  188. status = "okay";
  189. };
  190. &dwc3_1 {
  191. status = "okay";
  192. dr_mode = "host";
  193. maximum-speed = "high-speed";
  194. };
  195. &watchdog0 {
  196. status = "okay";
  197. };
  198. &xlnx_dp {
  199. xlnx,max-pclock-frequency = <200000>;
  200. };
  201. &xlnx_dpdma {
  202. xlnx,axi-clock-freq = <200000000>;
  203. };