zynqmp-zcu104-revA.dts 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * dts file for Xilinx ZynqMP ZCU104
  4. *
  5. * (C) Copyright 2017 - 2018, Xilinx, Inc.
  6. *
  7. * Michal Simek <michal.simek@xilinx.com>
  8. */
  9. /dts-v1/;
  10. #include "zynqmp.dtsi"
  11. #include "zynqmp-clk.dtsi"
  12. #include <dt-bindings/gpio/gpio.h>
  13. / {
  14. model = "ZynqMP ZCU104 RevA";
  15. compatible = "xlnx,zynqmp-zcu104-revA", "xlnx,zynqmp-zcu104", "xlnx,zynqmp";
  16. aliases {
  17. ethernet0 = &gem3;
  18. i2c0 = &i2c1;
  19. mmc0 = &sdhci1;
  20. rtc0 = &rtc;
  21. serial0 = &uart0;
  22. serial1 = &uart1;
  23. serial2 = &dcc;
  24. };
  25. chosen {
  26. bootargs = "earlycon";
  27. stdout-path = "serial0:115200n8";
  28. };
  29. memory@0 {
  30. device_type = "memory";
  31. reg = <0x0 0x0 0x0 0x80000000>;
  32. };
  33. };
  34. &can1 {
  35. status = "okay";
  36. };
  37. &dcc {
  38. status = "okay";
  39. };
  40. &gem3 {
  41. status = "okay";
  42. phy-handle = <&phy0>;
  43. phy-mode = "rgmii-id";
  44. phy0: phy@c {
  45. reg = <0xc>;
  46. ti,rx-internal-delay = <0x8>;
  47. ti,tx-internal-delay = <0xa>;
  48. ti,fifo-depth = <0x1>;
  49. };
  50. };
  51. &gpio {
  52. status = "okay";
  53. };
  54. &i2c1 {
  55. status = "okay";
  56. clock-frequency = <400000>;
  57. /* Another connection to this bus via PL i2c via PCA9306 - u45 */
  58. i2c-mux@74 { /* u34 */
  59. compatible = "nxp,pca9548";
  60. #address-cells = <1>;
  61. #size-cells = <0>;
  62. reg = <0x74>;
  63. i2c@0 {
  64. #address-cells = <1>;
  65. #size-cells = <0>;
  66. reg = <0>;
  67. /*
  68. * IIC_EEPROM 1kB memory which uses 256B blocks
  69. * where every block has different address.
  70. * 0 - 256B address 0x54
  71. * 256B - 512B address 0x55
  72. * 512B - 768B address 0x56
  73. * 768B - 1024B address 0x57
  74. */
  75. eeprom@54 { /* u23 */
  76. compatible = "atmel,24c08";
  77. reg = <0x54>;
  78. #address-cells = <1>;
  79. #size-cells = <1>;
  80. };
  81. };
  82. i2c@1 {
  83. #address-cells = <1>;
  84. #size-cells = <0>;
  85. reg = <1>;
  86. clock_8t49n287: clock-generator@6c { /* 8T49N287 - u182 */
  87. reg = <0x6c>;
  88. };
  89. };
  90. i2c@2 {
  91. #address-cells = <1>;
  92. #size-cells = <0>;
  93. reg = <2>;
  94. irps5401_43: irps54012@43 { /* IRPS5401 - u175 */
  95. reg = <0x43>;
  96. };
  97. irps5401_4d: irps54012@4d { /* IRPS5401 - u180 */
  98. reg = <0x4d>;
  99. };
  100. };
  101. i2c@4 {
  102. #address-cells = <1>;
  103. #size-cells = <0>;
  104. reg = <4>;
  105. tca6416_u97: gpio@21 {
  106. compatible = "ti,tca6416";
  107. reg = <0x21>;
  108. gpio-controller;
  109. #gpio-cells = <2>;
  110. /*
  111. * IRQ not connected
  112. * Lines:
  113. * 0 - IRPS5401_ALERT_B
  114. * 1 - HDMI_8T49N241_INT_ALM
  115. * 2 - MAX6643_OT_B
  116. * 3 - MAX6643_FANFAIL_B
  117. * 5 - IIC_MUX_RESET_B
  118. * 6 - GEM3_EXP_RESET_B
  119. * 7 - FMC_LPC_PRSNT_M2C_B
  120. * 4, 10 - 17 - not connected
  121. */
  122. };
  123. };
  124. i2c@5 {
  125. #address-cells = <1>;
  126. #size-cells = <0>;
  127. reg = <5>;
  128. };
  129. i2c@7 {
  130. #address-cells = <1>;
  131. #size-cells = <0>;
  132. reg = <7>;
  133. };
  134. /* 3, 6 not connected */
  135. };
  136. };
  137. &rtc {
  138. status = "okay";
  139. };
  140. &sata {
  141. status = "okay";
  142. /* SATA OOB timing settings */
  143. ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
  144. ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
  145. ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
  146. ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
  147. ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
  148. ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
  149. ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
  150. ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
  151. };
  152. /* SD1 with level shifter */
  153. &sdhci1 {
  154. status = "okay";
  155. no-1-8-v;
  156. disable-wp;
  157. };
  158. &uart0 {
  159. status = "okay";
  160. };
  161. &uart1 {
  162. status = "okay";
  163. };
  164. /* ULPI SMSC USB3320 */
  165. &usb0 {
  166. status = "okay";
  167. };
  168. &watchdog0 {
  169. status = "okay";
  170. };