zynqmp-zcu100-revC.dts 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * dts file for Xilinx ZynqMP ZCU100 revC
  4. *
  5. * (C) Copyright 2016 - 2018, Xilinx, Inc.
  6. *
  7. * Michal Simek <michal.simek@xilinx.com>
  8. * Nathalie Chan King Choy
  9. */
  10. /dts-v1/;
  11. #include "zynqmp.dtsi"
  12. #include "zynqmp-clk.dtsi"
  13. #include <dt-bindings/input/input.h>
  14. #include <dt-bindings/interrupt-controller/irq.h>
  15. #include <dt-bindings/gpio/gpio.h>
  16. / {
  17. model = "ZynqMP ZCU100 RevC";
  18. compatible = "xlnx,zynqmp-zcu100-revC", "xlnx,zynqmp-zcu100", "xlnx,zynqmp";
  19. aliases {
  20. i2c0 = &i2c1;
  21. rtc0 = &rtc;
  22. serial0 = &uart1;
  23. serial1 = &uart0;
  24. serial2 = &dcc;
  25. spi0 = &spi0;
  26. spi1 = &spi1;
  27. mmc0 = &sdhci0;
  28. mmc1 = &sdhci1;
  29. };
  30. chosen {
  31. bootargs = "earlycon";
  32. stdout-path = "serial0:115200n8";
  33. };
  34. memory@0 {
  35. device_type = "memory";
  36. reg = <0x0 0x0 0x0 0x80000000>;
  37. };
  38. gpio-keys {
  39. compatible = "gpio-keys";
  40. autorepeat;
  41. sw4 {
  42. label = "sw4";
  43. gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
  44. linux,code = <KEY_POWER>;
  45. gpio-key,wakeup;
  46. autorepeat;
  47. };
  48. };
  49. leds {
  50. compatible = "gpio-leds";
  51. ds2 {
  52. label = "ds2";
  53. gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
  54. linux,default-trigger = "heartbeat";
  55. };
  56. ds3 {
  57. label = "ds3";
  58. gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
  59. linux,default-trigger = "phy0tx"; /* WLAN tx */
  60. default-state = "off";
  61. };
  62. ds4 {
  63. label = "ds4";
  64. gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
  65. linux,default-trigger = "phy0rx"; /* WLAN rx */
  66. default-state = "off";
  67. };
  68. ds5 {
  69. label = "ds5";
  70. gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
  71. linux,default-trigger = "bluetooth-power";
  72. };
  73. vbus_det { /* U5 USB5744 VBUS detection via MIO25 */
  74. label = "vbus_det";
  75. gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
  76. default-state = "on";
  77. };
  78. };
  79. wmmcsdio_fixed: fixedregulator-mmcsdio {
  80. compatible = "regulator-fixed";
  81. regulator-name = "wmmcsdio_fixed";
  82. regulator-min-microvolt = <3300000>;
  83. regulator-max-microvolt = <3300000>;
  84. regulator-always-on;
  85. regulator-boot-on;
  86. };
  87. sdio_pwrseq: sdio_pwrseq {
  88. compatible = "mmc-pwrseq-simple";
  89. reset-gpios = <&gpio 7 GPIO_ACTIVE_LOW>; /* WIFI_EN */
  90. };
  91. };
  92. &dcc {
  93. status = "okay";
  94. };
  95. &gpio {
  96. status = "okay";
  97. gpio-line-names = "UART1_TX", "UART1_RX", "UART0_RX", "UART0_TX", "I2C1_SCL",
  98. "I2C1_SDA", "SPI1_SCLK", "WLAN_EN", "BT_EN", "SPI1_CS",
  99. "SPI1_MISO", "SPI1_MOSI", "I2C_MUX_RESET", "SD0_DAT0", "SD0_DAT1",
  100. "SD0_DAT2", "SD0_DAT3", "PS_LED3", "PS_LED2", "PS_LED1",
  101. "PS_LED0", "SD0_CMD", "SD0_CLK", "GPIO_PB", "SD0_DETECT",
  102. "VBUS_DET", "POWER_INT", "DP_AUX", "DP_HPD", "DP_OE",
  103. "DP_AUX_IN", "INA226_ALERT", "PS_FP_PWR_EN", "PL_PWR_EN", "POWER_KILL",
  104. "", "GPIO-A", "GPIO-B", "SPI0_SCLK", "GPIO-C",
  105. "GPIO-D", "SPI0_CS", "SPI0_MISO", "SPI_MOSI", "GPIO-E",
  106. "GPIO-F", "SD1_D0", "SD1_D1", "SD1_D2", "SD1_D3",
  107. "SD1_CMD", "SD1_CLK", "USB0_CLK", "USB0_DIR", "USB0_DATA2",
  108. "USB0_NXT", "USB0_DATA0", "USB0_DATA1", "USB0_STP", "USB0_DATA3",
  109. "USB0_DATA4", "USB0_DATA5", "USB0_DATA6", "USB0_DATA7", "USB1_CLK",
  110. "USB1_DIR", "USB1_DATA2", "USB1_NXT", "USB1_DATA0", "USB1_DATA1",
  111. "USB1_STP", "USB1_DATA3", "USB1_DATA4", "USB1_DATA5", "USB1_DATA6",
  112. "USB_DATA7", "WLAN_IRQ", "PMIC_IRQ", /* MIO end and EMIO start */
  113. "", "",
  114. "", "", "", "", "", "", "", "", "", "",
  115. "", "", "", "", "", "", "", "", "", "",
  116. "", "", "", "", "", "", "", "", "", "",
  117. "", "", "", "", "", "", "", "", "", "",
  118. "", "", "", "", "", "", "", "", "", "",
  119. "", "", "", "", "", "", "", "", "", "",
  120. "", "", "", "", "", "", "", "", "", "",
  121. "", "", "", "", "", "", "", "", "", "",
  122. "", "", "", "", "", "", "", "", "", "",
  123. "", "", "", "";
  124. };
  125. &i2c1 {
  126. status = "okay";
  127. clock-frequency = <100000>;
  128. i2c-mux@75 { /* u11 */
  129. compatible = "nxp,pca9548";
  130. #address-cells = <1>;
  131. #size-cells = <0>;
  132. reg = <0x75>;
  133. i2csw_0: i2c@0 {
  134. #address-cells = <1>;
  135. #size-cells = <0>;
  136. reg = <0>;
  137. label = "LS-I2C0";
  138. };
  139. i2csw_1: i2c@1 {
  140. #address-cells = <1>;
  141. #size-cells = <0>;
  142. reg = <1>;
  143. label = "LS-I2C1";
  144. };
  145. i2csw_2: i2c@2 {
  146. #address-cells = <1>;
  147. #size-cells = <0>;
  148. reg = <2>;
  149. label = "HS-I2C2";
  150. };
  151. i2csw_3: i2c@3 {
  152. #address-cells = <1>;
  153. #size-cells = <0>;
  154. reg = <3>;
  155. label = "HS-I2C3";
  156. };
  157. i2csw_4: i2c@4 {
  158. #address-cells = <1>;
  159. #size-cells = <0>;
  160. reg = <0x4>;
  161. pmic: pmic@5e { /* Custom TI PMIC u33 */
  162. compatible = "ti,tps65086";
  163. reg = <0x5e>;
  164. interrupt-parent = <&gpio>;
  165. interrupts = <77 GPIO_ACTIVE_LOW>;
  166. #gpio-cells = <2>;
  167. gpio-controller;
  168. };
  169. };
  170. i2csw_5: i2c@5 {
  171. #address-cells = <1>;
  172. #size-cells = <0>;
  173. reg = <5>;
  174. /* PS_PMBUS */
  175. ina226@40 { /* u35 */
  176. compatible = "ti,ina226";
  177. reg = <0x40>;
  178. shunt-resistor = <10000>;
  179. /* MIO31 is alert which should be routed to PMUFW */
  180. };
  181. };
  182. i2csw_6: i2c@6 {
  183. #address-cells = <1>;
  184. #size-cells = <0>;
  185. reg = <6>;
  186. /*
  187. * Not Connected
  188. */
  189. };
  190. i2csw_7: i2c@7 {
  191. #address-cells = <1>;
  192. #size-cells = <0>;
  193. reg = <7>;
  194. /*
  195. * usb5744 (DNP) - U5
  196. * 100kHz - this is default freq for us
  197. */
  198. };
  199. };
  200. };
  201. &rtc {
  202. status = "okay";
  203. };
  204. /* SD0 only supports 3.3V, no level shifter */
  205. &sdhci0 {
  206. status = "okay";
  207. no-1-8-v;
  208. broken-cd; /* CD has to be enabled by default */
  209. disable-wp;
  210. };
  211. &sdhci1 {
  212. status = "okay";
  213. bus-width = <0x4>;
  214. non-removable;
  215. disable-wp;
  216. cap-power-off-card;
  217. mmc-pwrseq = <&sdio_pwrseq>;
  218. vqmmc-supply = <&wmmcsdio_fixed>;
  219. #address-cells = <1>;
  220. #size-cells = <0>;
  221. wlcore: wifi@2 {
  222. compatible = "ti,wl1831";
  223. reg = <2>;
  224. interrupt-parent = <&gpio>;
  225. interrupts = <76 IRQ_TYPE_EDGE_RISING>; /* MIO76 WLAN_IRQ 1V8 */
  226. };
  227. };
  228. &spi0 { /* Low Speed connector */
  229. status = "okay";
  230. label = "LS-SPI0";
  231. };
  232. &spi1 { /* High Speed connector */
  233. status = "okay";
  234. label = "HS-SPI1";
  235. };
  236. &uart0 {
  237. status = "okay";
  238. bluetooth {
  239. compatible = "ti,wl1831-st";
  240. enable-gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
  241. };
  242. };
  243. &uart1 {
  244. status = "okay";
  245. };
  246. /* ULPI SMSC USB3320 */
  247. &usb0 {
  248. status = "okay";
  249. };
  250. /* ULPI SMSC USB3320 */
  251. &usb1 {
  252. status = "okay";
  253. };
  254. &watchdog0 {
  255. status = "okay";
  256. };