Lines Matching +full:cs +full:- +full:gpio

1 // SPDX-License-Identifier: GPL-2.0+
5 * (C) Copyright 2016 - 2022, Xilinx, Inc.
6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc.
12 /dts-v1/;
15 #include "zynqmp-clk-ccf.dtsi"
16 #include <dt-bindings/input/input.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
18 #include <dt-bindings/gpio/gpio.h>
19 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
20 #include <dt-bindings/phy/phy.h>
24 compatible = "xlnx,zynqmp-zcu100-revC", "xlnx,zynqmp-zcu100", "xlnx,zynqmp";
42 stdout-path = "serial0:115200n8";
50 gpio-keys {
51 compatible = "gpio-keys";
53 switch-4 {
55 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
57 wakeup-source;
62 iio-hwmon {
63 compatible = "iio-hwmon";
64 io-channels = <&xilinx_ams 0>, <&xilinx_ams 1>, <&xilinx_ams 2>,
72 compatible = "gpio-leds";
73 led-ds2 {
75 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
76 linux,default-trigger = "heartbeat";
79 led-ds3 {
81 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
82 linux,default-trigger = "phy0tx"; /* WLAN tx */
83 default-state = "off";
86 led-ds4 {
88 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
89 linux,default-trigger = "phy0rx"; /* WLAN rx */
90 default-state = "off";
93 led-ds5 {
95 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
96 linux,default-trigger = "bluetooth-power";
99 led-vbus-det { /* U5 USB5744 VBUS detection via MIO25 */
101 gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
102 default-state = "on";
106 wmmcsdio_fixed: fixedregulator-mmcsdio {
107 compatible = "regulator-fixed";
108 regulator-name = "wmmcsdio_fixed";
109 regulator-min-microvolt = <3300000>;
110 regulator-max-microvolt = <3300000>;
111 regulator-always-on;
112 regulator-boot-on;
115 sdio_pwrseq: sdio-pwrseq {
116 compatible = "mmc-pwrseq-simple";
117 reset-gpios = <&gpio 7 GPIO_ACTIVE_LOW>; /* WIFI_EN */
118 post-power-on-delay-ms = <10>;
122 compatible = "iio-hwmon";
123 io-channels = <&u35 0>, <&u35 1>, <&u35 2>, <&u35 3>;
126 si5335_0: si5335-0 { /* clk0_usb - u23 */
127 compatible = "fixed-clock";
128 #clock-cells = <0>;
129 clock-frequency = <26000000>;
132 si5335_1: si5335-1 { /* clk1_dp - u23 */
133 compatible = "fixed-clock";
134 #clock-cells = <0>;
135 clock-frequency = <27000000>;
143 &gpio {
145 gpio-line-names = "UART1_TX", "UART1_RX", "UART0_RX", "UART0_TX", "I2C1_SCL",
152 "", "GPIO-A", "GPIO-B", "SPI0_SCLK", "GPIO-C",
153 "GPIO-D", "SPI0_CS", "SPI0_MISO", "SPI_MOSI", "GPIO-E",
154 "GPIO-F", "SD1_D0", "SD1_D1", "SD1_D2", "SD1_D3",
180 pinctrl-names = "default", "gpio";
181 pinctrl-0 = <&pinctrl_i2c1_default>;
182 pinctrl-1 = <&pinctrl_i2c1_gpio>;
183 scl-gpios = <&gpio 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
184 sda-gpios = <&gpio 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
185 clock-frequency = <100000>;
186 i2c-mux@75 { /* u11 */
188 #address-cells = <1>;
189 #size-cells = <0>;
192 #address-cells = <1>;
193 #size-cells = <0>;
195 label = "LS-I2C0";
198 #address-cells = <1>;
199 #size-cells = <0>;
201 label = "LS-I2C1";
204 #address-cells = <1>;
205 #size-cells = <0>;
207 label = "HS-I2C2";
210 #address-cells = <1>;
211 #size-cells = <0>;
213 label = "HS-I2C3";
216 #address-cells = <1>;
217 #size-cells = <0>;
223 interrupt-parent = <&gpio>;
225 #gpio-cells = <2>;
226 gpio-controller;
230 #address-cells = <1>;
231 #size-cells = <0>;
236 #io-channel-cells = <1>;
238 shunt-resistor = <10000>;
243 #address-cells = <1>;
244 #size-cells = <0>;
251 #address-cells = <1>;
252 #size-cells = <0>;
255 * usb5744 (DNP) - U5
256 * 100kHz - this is default freq for us
264 pinctrl_i2c1_default: i2c1-default {
272 bias-pull-up;
273 slew-rate = <SLEW_RATE_SLOW>;
274 power-source = <IO_STANDARD_LVCMOS18>;
278 pinctrl_i2c1_gpio: i2c1-gpio {
286 slew-rate = <SLEW_RATE_SLOW>;
287 power-source = <IO_STANDARD_LVCMOS18>;
291 pinctrl_sdhci0_default: sdhci0-default {
299 slew-rate = <SLEW_RATE_SLOW>;
300 power-source = <IO_STANDARD_LVCMOS18>;
301 bias-disable;
304 mux-cd {
309 conf-cd {
311 bias-high-impedance;
312 bias-pull-up;
313 slew-rate = <SLEW_RATE_SLOW>;
314 power-source = <IO_STANDARD_LVCMOS18>;
318 pinctrl_sdhci1_default: sdhci1-default {
326 slew-rate = <SLEW_RATE_SLOW>;
327 power-source = <IO_STANDARD_LVCMOS18>;
328 bias-disable;
332 pinctrl_spi0_default: spi0-default {
340 bias-disable;
341 slew-rate = <SLEW_RATE_SLOW>;
342 power-source = <IO_STANDARD_LVCMOS18>;
345 mux-cs {
350 conf-cs {
352 bias-disable;
357 pinctrl_spi1_default: spi1-default {
365 bias-disable;
366 slew-rate = <SLEW_RATE_SLOW>;
367 power-source = <IO_STANDARD_LVCMOS18>;
370 mux-cs {
375 conf-cs {
377 bias-disable;
382 pinctrl_uart0_default: uart0-default {
390 slew-rate = <SLEW_RATE_SLOW>;
391 power-source = <IO_STANDARD_LVCMOS18>;
394 conf-rx {
396 bias-high-impedance;
399 conf-tx {
401 bias-disable;
405 pinctrl_uart1_default: uart1-default {
413 slew-rate = <SLEW_RATE_SLOW>;
414 power-source = <IO_STANDARD_LVCMOS18>;
417 conf-rx {
419 bias-high-impedance;
422 conf-tx {
424 bias-disable;
428 pinctrl_usb0_default: usb0-default {
436 power-source = <IO_STANDARD_LVCMOS18>;
439 conf-rx {
441 bias-high-impedance;
442 drive-strength = <12>;
443 slew-rate = <SLEW_RATE_FAST>;
446 conf-tx {
449 bias-disable;
450 drive-strength = <4>;
451 slew-rate = <SLEW_RATE_SLOW>;
455 pinctrl_usb1_default: usb1-default {
463 power-source = <IO_STANDARD_LVCMOS18>;
466 conf-rx {
468 bias-high-impedance;
469 drive-strength = <12>;
470 slew-rate = <SLEW_RATE_FAST>;
473 conf-tx {
476 bias-disable;
477 drive-strength = <4>;
478 slew-rate = <SLEW_RATE_SLOW>;
487 clock-names = "ref0", "ref1";
497 no-1-8-v;
498 disable-wp;
499 pinctrl-names = "default";
500 pinctrl-0 = <&pinctrl_sdhci0_default>;
501 xlnx,mio-bank = <0>;
506 bus-width = <0x4>;
507 pinctrl-names = "default";
508 pinctrl-0 = <&pinctrl_sdhci1_default>;
509 xlnx,mio-bank = <0>;
510 non-removable;
511 disable-wp;
512 cap-power-off-card;
513 mmc-pwrseq = <&sdio_pwrseq>;
514 vqmmc-supply = <&wmmcsdio_fixed>;
515 #address-cells = <1>;
516 #size-cells = <0>;
520 interrupt-parent = <&gpio>;
527 label = "LS-SPI0";
528 num-cs = <1>;
529 pinctrl-names = "default";
530 pinctrl-0 = <&pinctrl_spi0_default>;
535 label = "HS-SPI1";
536 num-cs = <1>;
537 pinctrl-names = "default";
538 pinctrl-0 = <&pinctrl_spi1_default>;
543 pinctrl-names = "default";
544 pinctrl-0 = <&pinctrl_uart0_default>;
546 compatible = "ti,wl1831-st";
547 enable-gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
553 pinctrl-names = "default";
554 pinctrl-0 = <&pinctrl_uart1_default>;
560 pinctrl-names = "default";
561 pinctrl-0 = <&pinctrl_usb0_default>;
562 phy-names = "usb3-phy";
564 /delete-property/ reset-gpios;
570 maximum-speed = "super-speed";
576 pinctrl-names = "default";
577 pinctrl-0 = <&pinctrl_usb1_default>;
578 phy-names = "usb3-phy";
580 reset-gpios = <&modepin_gpio 1 GPIO_ACTIVE_LOW>;
586 maximum-speed = "super-speed";
607 phy-names = "dp-phy0", "dp-phy1";