zynqmp-zcu100-revC.dts 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  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. post-power-on-delay-ms = <10>;
  91. };
  92. };
  93. &dcc {
  94. status = "okay";
  95. };
  96. &gpio {
  97. status = "okay";
  98. gpio-line-names = "UART1_TX", "UART1_RX", "UART0_RX", "UART0_TX", "I2C1_SCL",
  99. "I2C1_SDA", "SPI1_SCLK", "WLAN_EN", "BT_EN", "SPI1_CS",
  100. "SPI1_MISO", "SPI1_MOSI", "I2C_MUX_RESET", "SD0_DAT0", "SD0_DAT1",
  101. "SD0_DAT2", "SD0_DAT3", "PS_LED3", "PS_LED2", "PS_LED1",
  102. "PS_LED0", "SD0_CMD", "SD0_CLK", "GPIO_PB", "SD0_DETECT",
  103. "VBUS_DET", "POWER_INT", "DP_AUX", "DP_HPD", "DP_OE",
  104. "DP_AUX_IN", "INA226_ALERT", "PS_FP_PWR_EN", "PL_PWR_EN", "POWER_KILL",
  105. "", "GPIO-A", "GPIO-B", "SPI0_SCLK", "GPIO-C",
  106. "GPIO-D", "SPI0_CS", "SPI0_MISO", "SPI_MOSI", "GPIO-E",
  107. "GPIO-F", "SD1_D0", "SD1_D1", "SD1_D2", "SD1_D3",
  108. "SD1_CMD", "SD1_CLK", "USB0_CLK", "USB0_DIR", "USB0_DATA2",
  109. "USB0_NXT", "USB0_DATA0", "USB0_DATA1", "USB0_STP", "USB0_DATA3",
  110. "USB0_DATA4", "USB0_DATA5", "USB0_DATA6", "USB0_DATA7", "USB1_CLK",
  111. "USB1_DIR", "USB1_DATA2", "USB1_NXT", "USB1_DATA0", "USB1_DATA1",
  112. "USB1_STP", "USB1_DATA3", "USB1_DATA4", "USB1_DATA5", "USB1_DATA6",
  113. "USB_DATA7", "WLAN_IRQ", "PMIC_IRQ", /* MIO end and EMIO start */
  114. "", "",
  115. "", "", "", "", "", "", "", "", "", "",
  116. "", "", "", "", "", "", "", "", "", "",
  117. "", "", "", "", "", "", "", "", "", "",
  118. "", "", "", "", "", "", "", "", "", "",
  119. "", "", "", "", "", "", "", "", "", "",
  120. "", "", "", "", "", "", "", "", "", "",
  121. "", "", "", "", "", "", "", "", "", "",
  122. "", "", "", "", "", "", "", "", "", "",
  123. "", "", "", "", "", "", "", "", "", "",
  124. "", "", "", "";
  125. };
  126. &i2c1 {
  127. status = "okay";
  128. clock-frequency = <100000>;
  129. i2c-mux@75 { /* u11 */
  130. compatible = "nxp,pca9548";
  131. #address-cells = <1>;
  132. #size-cells = <0>;
  133. reg = <0x75>;
  134. i2csw_0: i2c@0 {
  135. #address-cells = <1>;
  136. #size-cells = <0>;
  137. reg = <0>;
  138. label = "LS-I2C0";
  139. };
  140. i2csw_1: i2c@1 {
  141. #address-cells = <1>;
  142. #size-cells = <0>;
  143. reg = <1>;
  144. label = "LS-I2C1";
  145. };
  146. i2csw_2: i2c@2 {
  147. #address-cells = <1>;
  148. #size-cells = <0>;
  149. reg = <2>;
  150. label = "HS-I2C2";
  151. };
  152. i2csw_3: i2c@3 {
  153. #address-cells = <1>;
  154. #size-cells = <0>;
  155. reg = <3>;
  156. label = "HS-I2C3";
  157. };
  158. i2csw_4: i2c@4 {
  159. #address-cells = <1>;
  160. #size-cells = <0>;
  161. reg = <0x4>;
  162. pmic: pmic@5e { /* Custom TI PMIC u33 */
  163. compatible = "ti,tps65086";
  164. reg = <0x5e>;
  165. interrupt-parent = <&gpio>;
  166. interrupts = <77 GPIO_ACTIVE_LOW>;
  167. #gpio-cells = <2>;
  168. gpio-controller;
  169. };
  170. };
  171. i2csw_5: i2c@5 {
  172. #address-cells = <1>;
  173. #size-cells = <0>;
  174. reg = <5>;
  175. /* PS_PMBUS */
  176. ina226@40 { /* u35 */
  177. compatible = "ti,ina226";
  178. reg = <0x40>;
  179. shunt-resistor = <10000>;
  180. /* MIO31 is alert which should be routed to PMUFW */
  181. };
  182. };
  183. i2csw_6: i2c@6 {
  184. #address-cells = <1>;
  185. #size-cells = <0>;
  186. reg = <6>;
  187. /*
  188. * Not Connected
  189. */
  190. };
  191. i2csw_7: i2c@7 {
  192. #address-cells = <1>;
  193. #size-cells = <0>;
  194. reg = <7>;
  195. /*
  196. * usb5744 (DNP) - U5
  197. * 100kHz - this is default freq for us
  198. */
  199. };
  200. };
  201. };
  202. &rtc {
  203. status = "okay";
  204. };
  205. /* SD0 only supports 3.3V, no level shifter */
  206. &sdhci0 {
  207. status = "okay";
  208. no-1-8-v;
  209. broken-cd; /* CD has to be enabled by default */
  210. disable-wp;
  211. };
  212. &sdhci1 {
  213. status = "okay";
  214. bus-width = <0x4>;
  215. non-removable;
  216. disable-wp;
  217. cap-power-off-card;
  218. mmc-pwrseq = <&sdio_pwrseq>;
  219. vqmmc-supply = <&wmmcsdio_fixed>;
  220. #address-cells = <1>;
  221. #size-cells = <0>;
  222. wlcore: wifi@2 {
  223. compatible = "ti,wl1831";
  224. reg = <2>;
  225. interrupt-parent = <&gpio>;
  226. interrupts = <76 IRQ_TYPE_EDGE_RISING>; /* MIO76 WLAN_IRQ 1V8 */
  227. };
  228. };
  229. &spi0 { /* Low Speed connector */
  230. status = "okay";
  231. label = "LS-SPI0";
  232. };
  233. &spi1 { /* High Speed connector */
  234. status = "okay";
  235. label = "HS-SPI1";
  236. };
  237. &uart0 {
  238. status = "okay";
  239. bluetooth {
  240. compatible = "ti,wl1831-st";
  241. enable-gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
  242. };
  243. };
  244. &uart1 {
  245. status = "okay";
  246. };
  247. /* ULPI SMSC USB3320 */
  248. &usb0 {
  249. status = "okay";
  250. };
  251. /* ULPI SMSC USB3320 */
  252. &usb1 {
  253. status = "okay";
  254. };
  255. &watchdog0 {
  256. status = "okay";
  257. };