zynqmp-zc1751-xm017-dc3.dts 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * dts file for Xilinx ZynqMP zc1751-xm017-dc3
  4. *
  5. * (C) Copyright 2016 - 2021, Xilinx, Inc.
  6. *
  7. * Michal Simek <[email protected]>
  8. */
  9. /dts-v1/;
  10. #include "zynqmp.dtsi"
  11. #include "zynqmp-clk-ccf.dtsi"
  12. #include <dt-bindings/phy/phy.h>
  13. / {
  14. model = "ZynqMP zc1751-xm017-dc3 RevA";
  15. compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp";
  16. aliases {
  17. ethernet0 = &gem0;
  18. i2c0 = &i2c0;
  19. i2c1 = &i2c1;
  20. mmc0 = &sdhci1;
  21. rtc0 = &rtc;
  22. serial0 = &uart0;
  23. serial1 = &uart1;
  24. usb0 = &usb0;
  25. usb1 = &usb1;
  26. };
  27. chosen {
  28. bootargs = "earlycon";
  29. stdout-path = "serial0:115200n8";
  30. };
  31. memory@0 {
  32. device_type = "memory";
  33. reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
  34. };
  35. clock_si5338_2: clk26 {
  36. compatible = "fixed-clock";
  37. #clock-cells = <0>;
  38. clock-frequency = <26000000>;
  39. };
  40. clock_si5338_3: clk125 {
  41. compatible = "fixed-clock";
  42. #clock-cells = <0>;
  43. clock-frequency = <125000000>;
  44. };
  45. };
  46. &fpd_dma_chan1 {
  47. status = "okay";
  48. };
  49. &fpd_dma_chan2 {
  50. status = "okay";
  51. };
  52. &fpd_dma_chan3 {
  53. status = "okay";
  54. };
  55. &fpd_dma_chan4 {
  56. status = "okay";
  57. };
  58. &fpd_dma_chan5 {
  59. status = "okay";
  60. };
  61. &fpd_dma_chan6 {
  62. status = "okay";
  63. };
  64. &fpd_dma_chan7 {
  65. status = "okay";
  66. };
  67. &fpd_dma_chan8 {
  68. status = "okay";
  69. };
  70. &gem0 {
  71. status = "okay";
  72. phy-handle = <&phy0>;
  73. phy-mode = "rgmii-id";
  74. phy0: ethernet-phy@0 { /* VSC8211 */
  75. reg = <0>;
  76. };
  77. };
  78. &gpio {
  79. status = "okay";
  80. };
  81. /* just eeprom here */
  82. &i2c0 {
  83. status = "okay";
  84. clock-frequency = <400000>;
  85. tca6416_u26: gpio@20 {
  86. compatible = "ti,tca6416";
  87. reg = <0x20>;
  88. gpio-controller;
  89. #gpio-cells = <2>;
  90. /* IRQ not connected */
  91. };
  92. rtc@68 {
  93. compatible = "dallas,ds1339";
  94. reg = <0x68>;
  95. };
  96. };
  97. /* eeprom24c02 and SE98A temp chip pca9306 */
  98. &i2c1 {
  99. status = "okay";
  100. clock-frequency = <400000>;
  101. };
  102. /* MT29F64G08AECDBJ4-6 */
  103. &nand0 {
  104. status = "okay";
  105. arasan,has-mdma;
  106. num-cs = <2>;
  107. };
  108. &psgtr {
  109. status = "okay";
  110. /* usb3, sata */
  111. clocks = <&clock_si5338_2>, <&clock_si5338_3>;
  112. clock-names = "ref2", "ref3";
  113. };
  114. &rtc {
  115. status = "okay";
  116. };
  117. &sata {
  118. status = "okay";
  119. /* SATA phy OOB timing settings */
  120. ceva,p0-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>;
  121. ceva,p0-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>;
  122. ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
  123. ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
  124. ceva,p1-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>;
  125. ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>;
  126. ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
  127. ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
  128. phy-names = "sata-phy";
  129. phys = <&psgtr 2 PHY_TYPE_SATA 0 3>;
  130. };
  131. &sdhci1 { /* emmc with some settings */
  132. status = "okay";
  133. };
  134. /* main */
  135. &uart0 {
  136. status = "okay";
  137. };
  138. /* DB9 */
  139. &uart1 {
  140. status = "okay";
  141. };
  142. &usb0 {
  143. status = "okay";
  144. phy-names = "usb3-phy";
  145. phys = <&psgtr 0 PHY_TYPE_USB3 0 2>;
  146. };
  147. &dwc3_0 {
  148. status = "okay";
  149. dr_mode = "host";
  150. snps,usb3_lpm_capable;
  151. maximum-speed = "super-speed";
  152. };
  153. /* ULPI SMSC USB3320 */
  154. &usb1 {
  155. status = "okay";
  156. phy-names = "usb3-phy";
  157. phys = <&psgtr 3 PHY_TYPE_USB3 1 2>;
  158. };
  159. &dwc3_1 {
  160. status = "okay";
  161. dr_mode = "host";
  162. snps,usb3_lpm_capable;
  163. maximum-speed = "super-speed";
  164. };