Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * dts file for Xilinx ZynqMP ZCU100 revC |
| 4 | * |
Michal Simek | 9d9a302 | 2023-09-27 12:05:32 +0200 | [diff] [blame] | 5 | * (C) Copyright 2016 - 2022, Xilinx, Inc. |
| 6 | * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 7 | * |
Michal Simek | a8c9436 | 2023-07-10 14:35:49 +0200 | [diff] [blame] | 8 | * Michal Simek <michal.simek@amd.com> |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 9 | * Nathalie Chan King Choy |
| 10 | */ |
| 11 | |
| 12 | /dts-v1/; |
| 13 | |
| 14 | #include "zynqmp.dtsi" |
Michal Simek | df48926 | 2020-01-07 12:43:55 +0100 | [diff] [blame] | 15 | #include "zynqmp-clk-ccf.dtsi" |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 16 | #include <dt-bindings/input/input.h> |
| 17 | #include <dt-bindings/interrupt-controller/irq.h> |
| 18 | #include <dt-bindings/gpio/gpio.h> |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 19 | #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 20 | #include <dt-bindings/phy/phy.h> |
| 21 | |
| 22 | / { |
| 23 | model = "ZynqMP ZCU100 RevC"; |
| 24 | compatible = "xlnx,zynqmp-zcu100-revC", "xlnx,zynqmp-zcu100", "xlnx,zynqmp"; |
| 25 | |
| 26 | aliases { |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 27 | i2c0 = &i2c1; |
| 28 | rtc0 = &rtc; |
| 29 | serial0 = &uart1; |
| 30 | serial1 = &uart0; |
| 31 | serial2 = &dcc; |
| 32 | spi0 = &spi0; |
| 33 | spi1 = &spi1; |
| 34 | usb0 = &usb0; |
| 35 | usb1 = &usb1; |
| 36 | mmc0 = &sdhci0; |
| 37 | mmc1 = &sdhci1; |
| 38 | }; |
| 39 | |
| 40 | chosen { |
| 41 | bootargs = "earlycon"; |
| 42 | stdout-path = "serial0:115200n8"; |
| 43 | }; |
| 44 | |
| 45 | memory@0 { |
| 46 | device_type = "memory"; |
| 47 | reg = <0x0 0x0 0x0 0x80000000>; |
| 48 | }; |
| 49 | |
| 50 | gpio-keys { |
| 51 | compatible = "gpio-keys"; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 52 | autorepeat; |
Michal Simek | 192d4ae | 2022-12-09 13:56:40 +0100 | [diff] [blame] | 53 | switch-4 { |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 54 | label = "sw4"; |
| 55 | gpios = <&gpio 23 GPIO_ACTIVE_LOW>; |
| 56 | linux,code = <KEY_POWER>; |
Sudeep Holla | 13104ce | 2018-10-24 12:45:40 +0100 | [diff] [blame] | 57 | wakeup-source; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 58 | autorepeat; |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | iio-hwmon { |
| 63 | compatible = "iio-hwmon"; |
| 64 | io-channels = <&xilinx_ams 0>, <&xilinx_ams 1>, <&xilinx_ams 2>, |
| 65 | <&xilinx_ams 3>, <&xilinx_ams 4>, <&xilinx_ams 5>, |
| 66 | <&xilinx_ams 6>, <&xilinx_ams 7>, <&xilinx_ams 8>, |
| 67 | <&xilinx_ams 9>, <&xilinx_ams 10>, |
| 68 | <&xilinx_ams 11>, <&xilinx_ams 12>; |
| 69 | }; |
| 70 | |
| 71 | leds { |
| 72 | compatible = "gpio-leds"; |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 73 | led-ds2 { |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 74 | label = "ds2"; |
| 75 | gpios = <&gpio 20 GPIO_ACTIVE_HIGH>; |
| 76 | linux,default-trigger = "heartbeat"; |
| 77 | }; |
| 78 | |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 79 | led-ds3 { |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 80 | label = "ds3"; |
| 81 | gpios = <&gpio 19 GPIO_ACTIVE_HIGH>; |
| 82 | linux,default-trigger = "phy0tx"; /* WLAN tx */ |
| 83 | default-state = "off"; |
| 84 | }; |
| 85 | |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 86 | led-ds4 { |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 87 | label = "ds4"; |
| 88 | gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; |
| 89 | linux,default-trigger = "phy0rx"; /* WLAN rx */ |
| 90 | default-state = "off"; |
| 91 | }; |
| 92 | |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 93 | led-ds5 { |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 94 | label = "ds5"; |
| 95 | gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; |
| 96 | linux,default-trigger = "bluetooth-power"; |
| 97 | }; |
| 98 | |
Krzysztof Kozlowski | 0b45bf7 | 2022-11-25 15:41:36 +0100 | [diff] [blame] | 99 | led-vbus-det { /* U5 USB5744 VBUS detection via MIO25 */ |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 100 | label = "vbus_det"; |
| 101 | gpios = <&gpio 25 GPIO_ACTIVE_HIGH>; |
| 102 | default-state = "on"; |
| 103 | }; |
| 104 | }; |
| 105 | |
| 106 | ltc2954: ltc2954 { /* U7 */ |
| 107 | compatible = "lltc,ltc2954", "lltc,ltc2952"; |
Michal Simek | 1ef91fe | 2018-07-10 10:18:29 +0200 | [diff] [blame] | 108 | status = "disabled"; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 109 | trigger-gpios = <&gpio 26 GPIO_ACTIVE_LOW>; /* INT line - input */ |
| 110 | /* If there is HW watchdog on mezzanine this signal should be connected there */ |
| 111 | watchdog-gpios = <&gpio 35 GPIO_ACTIVE_HIGH>; /* MIO on PAD */ |
| 112 | kill-gpios = <&gpio 34 GPIO_ACTIVE_LOW>; /* KILL signal - output */ |
| 113 | }; |
| 114 | |
| 115 | wmmcsdio_fixed: fixedregulator-mmcsdio { |
| 116 | compatible = "regulator-fixed"; |
| 117 | regulator-name = "wmmcsdio_fixed"; |
| 118 | regulator-min-microvolt = <3300000>; |
| 119 | regulator-max-microvolt = <3300000>; |
| 120 | regulator-always-on; |
| 121 | regulator-boot-on; |
| 122 | }; |
| 123 | |
Michal Simek | 2ef5336 | 2018-11-08 10:06:53 +0100 | [diff] [blame] | 124 | sdio_pwrseq: sdio-pwrseq { |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 125 | compatible = "mmc-pwrseq-simple"; |
| 126 | reset-gpios = <&gpio 7 GPIO_ACTIVE_LOW>; /* WIFI_EN */ |
Jan Kiszka | 143c78c | 2019-01-24 09:28:59 +0100 | [diff] [blame] | 127 | post-power-on-delay-ms = <10>; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 128 | }; |
Michal Simek | 1a3a95a | 2019-08-26 09:30:34 +0200 | [diff] [blame] | 129 | |
| 130 | ina226 { |
| 131 | compatible = "iio-hwmon"; |
| 132 | io-channels = <&u35 0>, <&u35 1>, <&u35 2>, <&u35 3>; |
| 133 | }; |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 134 | |
Michal Simek | 9d9a302 | 2023-09-27 12:05:32 +0200 | [diff] [blame] | 135 | si5335_0: si5335-0 { /* clk0_usb - u23 */ |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 136 | compatible = "fixed-clock"; |
| 137 | #clock-cells = <0>; |
| 138 | clock-frequency = <26000000>; |
| 139 | }; |
| 140 | |
Michal Simek | 9d9a302 | 2023-09-27 12:05:32 +0200 | [diff] [blame] | 141 | si5335_1: si5335-1 { /* clk1_dp - u23 */ |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 142 | compatible = "fixed-clock"; |
| 143 | #clock-cells = <0>; |
| 144 | clock-frequency = <27000000>; |
| 145 | }; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 146 | }; |
| 147 | |
| 148 | &dcc { |
| 149 | status = "okay"; |
| 150 | }; |
| 151 | |
| 152 | &gpio { |
| 153 | status = "okay"; |
| 154 | gpio-line-names = "UART1_TX", "UART1_RX", "UART0_RX", "UART0_TX", "I2C1_SCL", |
| 155 | "I2C1_SDA", "SPI1_SCLK", "WLAN_EN", "BT_EN", "SPI1_CS", |
| 156 | "SPI1_MISO", "SPI1_MOSI", "I2C_MUX_RESET", "SD0_DAT0", "SD0_DAT1", |
| 157 | "SD0_DAT2", "SD0_DAT3", "PS_LED3", "PS_LED2", "PS_LED1", |
| 158 | "PS_LED0", "SD0_CMD", "SD0_CLK", "GPIO_PB", "SD0_DETECT", |
| 159 | "VBUS_DET", "POWER_INT", "DP_AUX", "DP_HPD", "DP_OE", |
| 160 | "DP_AUX_IN", "INA226_ALERT", "PS_FP_PWR_EN", "PL_PWR_EN", "POWER_KILL", |
| 161 | "", "GPIO-A", "GPIO-B", "SPI0_SCLK", "GPIO-C", |
| 162 | "GPIO-D", "SPI0_CS", "SPI0_MISO", "SPI_MOSI", "GPIO-E", |
| 163 | "GPIO-F", "SD1_D0", "SD1_D1", "SD1_D2", "SD1_D3", |
| 164 | "SD1_CMD", "SD1_CLK", "USB0_CLK", "USB0_DIR", "USB0_DATA2", |
| 165 | "USB0_NXT", "USB0_DATA0", "USB0_DATA1", "USB0_STP", "USB0_DATA3", |
| 166 | "USB0_DATA4", "USB0_DATA5", "USB0_DATA6", "USB0_DATA7", "USB1_CLK", |
| 167 | "USB1_DIR", "USB1_DATA2", "USB1_NXT", "USB1_DATA0", "USB1_DATA1", |
| 168 | "USB1_STP", "USB1_DATA3", "USB1_DATA4", "USB1_DATA5", "USB1_DATA6", |
| 169 | "USB_DATA7", "WLAN_IRQ", "PMIC_IRQ", /* MIO end and EMIO start */ |
| 170 | "", "", |
| 171 | "", "", "", "", "", "", "", "", "", "", |
| 172 | "", "", "", "", "", "", "", "", "", "", |
| 173 | "", "", "", "", "", "", "", "", "", "", |
| 174 | "", "", "", "", "", "", "", "", "", "", |
| 175 | "", "", "", "", "", "", "", "", "", "", |
| 176 | "", "", "", "", "", "", "", "", "", "", |
| 177 | "", "", "", "", "", "", "", "", "", "", |
| 178 | "", "", "", "", "", "", "", "", "", "", |
| 179 | "", "", "", "", "", "", "", "", "", "", |
| 180 | "", "", "", ""; |
| 181 | }; |
| 182 | |
| 183 | &gpu { |
| 184 | status = "okay"; |
| 185 | }; |
| 186 | |
| 187 | &i2c1 { |
| 188 | status = "okay"; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 189 | pinctrl-names = "default", "gpio"; |
| 190 | pinctrl-0 = <&pinctrl_i2c1_default>; |
| 191 | pinctrl-1 = <&pinctrl_i2c1_gpio>; |
Manikanta Guntupalli | cc45c9c | 2023-07-10 14:37:28 +0200 | [diff] [blame] | 192 | scl-gpios = <&gpio 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 193 | sda-gpios = <&gpio 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 194 | clock-frequency = <100000>; |
| 195 | i2c-mux@75 { /* u11 */ |
| 196 | compatible = "nxp,pca9548"; |
| 197 | #address-cells = <1>; |
| 198 | #size-cells = <0>; |
| 199 | reg = <0x75>; |
| 200 | i2csw_0: i2c@0 { |
| 201 | #address-cells = <1>; |
| 202 | #size-cells = <0>; |
| 203 | reg = <0>; |
| 204 | label = "LS-I2C0"; |
| 205 | }; |
| 206 | i2csw_1: i2c@1 { |
| 207 | #address-cells = <1>; |
| 208 | #size-cells = <0>; |
| 209 | reg = <1>; |
| 210 | label = "LS-I2C1"; |
| 211 | }; |
| 212 | i2csw_2: i2c@2 { |
| 213 | #address-cells = <1>; |
| 214 | #size-cells = <0>; |
| 215 | reg = <2>; |
| 216 | label = "HS-I2C2"; |
| 217 | }; |
| 218 | i2csw_3: i2c@3 { |
| 219 | #address-cells = <1>; |
| 220 | #size-cells = <0>; |
| 221 | reg = <3>; |
| 222 | label = "HS-I2C3"; |
| 223 | }; |
| 224 | i2csw_4: i2c@4 { |
| 225 | #address-cells = <1>; |
| 226 | #size-cells = <0>; |
| 227 | reg = <0x4>; |
| 228 | |
| 229 | pmic: pmic@5e { /* Custom TI PMIC u33 */ |
| 230 | compatible = "ti,tps65086"; |
| 231 | reg = <0x5e>; |
| 232 | interrupt-parent = <&gpio>; |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 233 | interrupts = <77 IRQ_TYPE_LEVEL_LOW>; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 234 | #gpio-cells = <2>; |
| 235 | gpio-controller; |
| 236 | }; |
| 237 | }; |
| 238 | i2csw_5: i2c@5 { |
| 239 | #address-cells = <1>; |
| 240 | #size-cells = <0>; |
| 241 | reg = <5>; |
| 242 | /* PS_PMBUS */ |
Michal Simek | 1a3a95a | 2019-08-26 09:30:34 +0200 | [diff] [blame] | 243 | u35: ina226@40 { /* u35 */ |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 244 | compatible = "ti,ina226"; |
Michal Simek | 1a3a95a | 2019-08-26 09:30:34 +0200 | [diff] [blame] | 245 | #io-channel-cells = <1>; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 246 | reg = <0x40>; |
| 247 | shunt-resistor = <10000>; |
| 248 | /* MIO31 is alert which should be routed to PMUFW */ |
| 249 | }; |
| 250 | }; |
| 251 | i2csw_6: i2c@6 { |
| 252 | #address-cells = <1>; |
| 253 | #size-cells = <0>; |
| 254 | reg = <6>; |
| 255 | /* |
| 256 | * Not Connected |
| 257 | */ |
| 258 | }; |
| 259 | i2csw_7: i2c@7 { |
| 260 | #address-cells = <1>; |
| 261 | #size-cells = <0>; |
| 262 | reg = <7>; |
| 263 | /* |
| 264 | * usb5744 (DNP) - U5 |
| 265 | * 100kHz - this is default freq for us |
| 266 | */ |
| 267 | }; |
| 268 | }; |
| 269 | }; |
| 270 | |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 271 | &pinctrl0 { |
| 272 | status = "okay"; |
| 273 | pinctrl_i2c1_default: i2c1-default { |
| 274 | mux { |
| 275 | groups = "i2c1_1_grp"; |
| 276 | function = "i2c1"; |
| 277 | }; |
| 278 | |
| 279 | conf { |
| 280 | groups = "i2c1_1_grp"; |
| 281 | bias-pull-up; |
| 282 | slew-rate = <SLEW_RATE_SLOW>; |
| 283 | power-source = <IO_STANDARD_LVCMOS18>; |
| 284 | }; |
| 285 | }; |
| 286 | |
| 287 | pinctrl_i2c1_gpio: i2c1-gpio { |
| 288 | mux { |
| 289 | groups = "gpio0_4_grp", "gpio0_5_grp"; |
| 290 | function = "gpio0"; |
| 291 | }; |
| 292 | |
| 293 | conf { |
| 294 | groups = "gpio0_4_grp", "gpio0_5_grp"; |
| 295 | slew-rate = <SLEW_RATE_SLOW>; |
| 296 | power-source = <IO_STANDARD_LVCMOS18>; |
| 297 | }; |
| 298 | }; |
| 299 | |
| 300 | pinctrl_sdhci0_default: sdhci0-default { |
| 301 | mux { |
| 302 | groups = "sdio0_3_grp"; |
| 303 | function = "sdio0"; |
| 304 | }; |
| 305 | |
| 306 | conf { |
| 307 | groups = "sdio0_3_grp"; |
| 308 | slew-rate = <SLEW_RATE_SLOW>; |
| 309 | power-source = <IO_STANDARD_LVCMOS18>; |
| 310 | bias-disable; |
| 311 | }; |
| 312 | |
| 313 | mux-cd { |
| 314 | groups = "sdio0_cd_0_grp"; |
| 315 | function = "sdio0_cd"; |
| 316 | }; |
| 317 | |
| 318 | conf-cd { |
| 319 | groups = "sdio0_cd_0_grp"; |
| 320 | bias-high-impedance; |
| 321 | bias-pull-up; |
| 322 | slew-rate = <SLEW_RATE_SLOW>; |
| 323 | power-source = <IO_STANDARD_LVCMOS18>; |
| 324 | }; |
| 325 | }; |
| 326 | |
| 327 | pinctrl_sdhci1_default: sdhci1-default { |
| 328 | mux { |
| 329 | groups = "sdio1_2_grp"; |
| 330 | function = "sdio1"; |
| 331 | }; |
| 332 | |
| 333 | conf { |
| 334 | groups = "sdio1_2_grp"; |
| 335 | slew-rate = <SLEW_RATE_SLOW>; |
| 336 | power-source = <IO_STANDARD_LVCMOS18>; |
| 337 | bias-disable; |
| 338 | }; |
| 339 | }; |
| 340 | |
| 341 | pinctrl_spi0_default: spi0-default { |
| 342 | mux { |
| 343 | groups = "spi0_3_grp"; |
| 344 | function = "spi0"; |
| 345 | }; |
| 346 | |
| 347 | conf { |
| 348 | groups = "spi0_3_grp"; |
| 349 | bias-disable; |
| 350 | slew-rate = <SLEW_RATE_SLOW>; |
| 351 | power-source = <IO_STANDARD_LVCMOS18>; |
| 352 | }; |
| 353 | |
| 354 | mux-cs { |
| 355 | groups = "spi0_ss_9_grp"; |
| 356 | function = "spi0_ss"; |
| 357 | }; |
| 358 | |
| 359 | conf-cs { |
| 360 | groups = "spi0_ss_9_grp"; |
| 361 | bias-disable; |
| 362 | }; |
| 363 | |
| 364 | }; |
| 365 | |
| 366 | pinctrl_spi1_default: spi1-default { |
| 367 | mux { |
| 368 | groups = "spi1_0_grp"; |
| 369 | function = "spi1"; |
| 370 | }; |
| 371 | |
| 372 | conf { |
| 373 | groups = "spi1_0_grp"; |
| 374 | bias-disable; |
| 375 | slew-rate = <SLEW_RATE_SLOW>; |
| 376 | power-source = <IO_STANDARD_LVCMOS18>; |
| 377 | }; |
| 378 | |
| 379 | mux-cs { |
| 380 | groups = "spi1_ss_0_grp"; |
| 381 | function = "spi1_ss"; |
| 382 | }; |
| 383 | |
| 384 | conf-cs { |
| 385 | groups = "spi1_ss_0_grp"; |
| 386 | bias-disable; |
| 387 | }; |
| 388 | |
| 389 | }; |
| 390 | |
| 391 | pinctrl_uart0_default: uart0-default { |
| 392 | mux { |
| 393 | groups = "uart0_0_grp"; |
| 394 | function = "uart0"; |
| 395 | }; |
| 396 | |
| 397 | conf { |
| 398 | groups = "uart0_0_grp"; |
| 399 | slew-rate = <SLEW_RATE_SLOW>; |
| 400 | power-source = <IO_STANDARD_LVCMOS18>; |
| 401 | }; |
| 402 | |
| 403 | conf-rx { |
| 404 | pins = "MIO3"; |
| 405 | bias-high-impedance; |
| 406 | }; |
| 407 | |
| 408 | conf-tx { |
| 409 | pins = "MIO2"; |
| 410 | bias-disable; |
| 411 | }; |
| 412 | }; |
| 413 | |
| 414 | pinctrl_uart1_default: uart1-default { |
| 415 | mux { |
| 416 | groups = "uart1_0_grp"; |
| 417 | function = "uart1"; |
| 418 | }; |
| 419 | |
| 420 | conf { |
| 421 | groups = "uart1_0_grp"; |
| 422 | slew-rate = <SLEW_RATE_SLOW>; |
| 423 | power-source = <IO_STANDARD_LVCMOS18>; |
| 424 | }; |
| 425 | |
| 426 | conf-rx { |
| 427 | pins = "MIO1"; |
| 428 | bias-high-impedance; |
| 429 | }; |
| 430 | |
| 431 | conf-tx { |
| 432 | pins = "MIO0"; |
| 433 | bias-disable; |
| 434 | }; |
| 435 | }; |
| 436 | |
| 437 | pinctrl_usb0_default: usb0-default { |
| 438 | mux { |
| 439 | groups = "usb0_0_grp"; |
| 440 | function = "usb0"; |
| 441 | }; |
| 442 | |
| 443 | conf { |
| 444 | groups = "usb0_0_grp"; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 445 | power-source = <IO_STANDARD_LVCMOS18>; |
| 446 | }; |
| 447 | |
| 448 | conf-rx { |
| 449 | pins = "MIO52", "MIO53", "MIO55"; |
| 450 | bias-high-impedance; |
Ashok Reddy Soma | 4d0ecf6 | 2022-06-15 12:16:13 +0200 | [diff] [blame] | 451 | drive-strength = <12>; |
| 452 | slew-rate = <SLEW_RATE_FAST>; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 453 | }; |
| 454 | |
| 455 | conf-tx { |
| 456 | pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", |
| 457 | "MIO60", "MIO61", "MIO62", "MIO63"; |
| 458 | bias-disable; |
Ashok Reddy Soma | 4d0ecf6 | 2022-06-15 12:16:13 +0200 | [diff] [blame] | 459 | drive-strength = <4>; |
| 460 | slew-rate = <SLEW_RATE_SLOW>; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 461 | }; |
| 462 | }; |
| 463 | |
| 464 | pinctrl_usb1_default: usb1-default { |
| 465 | mux { |
| 466 | groups = "usb1_0_grp"; |
| 467 | function = "usb1"; |
| 468 | }; |
| 469 | |
| 470 | conf { |
| 471 | groups = "usb1_0_grp"; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 472 | power-source = <IO_STANDARD_LVCMOS18>; |
| 473 | }; |
| 474 | |
| 475 | conf-rx { |
| 476 | pins = "MIO64", "MIO65", "MIO67"; |
| 477 | bias-high-impedance; |
Ashok Reddy Soma | 4d0ecf6 | 2022-06-15 12:16:13 +0200 | [diff] [blame] | 478 | drive-strength = <12>; |
| 479 | slew-rate = <SLEW_RATE_FAST>; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 480 | }; |
| 481 | |
| 482 | conf-tx { |
| 483 | pins = "MIO66", "MIO68", "MIO69", "MIO70", "MIO71", |
| 484 | "MIO72", "MIO73", "MIO74", "MIO75"; |
| 485 | bias-disable; |
Ashok Reddy Soma | 4d0ecf6 | 2022-06-15 12:16:13 +0200 | [diff] [blame] | 486 | drive-strength = <4>; |
| 487 | slew-rate = <SLEW_RATE_SLOW>; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 488 | }; |
| 489 | }; |
| 490 | }; |
| 491 | |
Michal Simek | 93a89f3 | 2021-06-01 16:42:50 +0200 | [diff] [blame] | 492 | &psgtr { |
| 493 | status = "okay"; |
| 494 | /* usb3, dp */ |
| 495 | clocks = <&si5335_0>, <&si5335_1>; |
| 496 | clock-names = "ref0", "ref1"; |
| 497 | }; |
| 498 | |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 499 | &rtc { |
| 500 | status = "okay"; |
| 501 | }; |
| 502 | |
| 503 | /* SD0 only supports 3.3V, no level shifter */ |
| 504 | &sdhci0 { |
| 505 | status = "okay"; |
| 506 | no-1-8-v; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 507 | disable-wp; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 508 | pinctrl-names = "default"; |
| 509 | pinctrl-0 = <&pinctrl_sdhci0_default>; |
Michal Simek | 3b66264 | 2020-07-22 17:42:43 +0200 | [diff] [blame] | 510 | xlnx,mio-bank = <0>; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 511 | }; |
| 512 | |
| 513 | &sdhci1 { |
| 514 | status = "okay"; |
| 515 | bus-width = <0x4>; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 516 | pinctrl-names = "default"; |
| 517 | pinctrl-0 = <&pinctrl_sdhci1_default>; |
Michal Simek | 3b66264 | 2020-07-22 17:42:43 +0200 | [diff] [blame] | 518 | xlnx,mio-bank = <0>; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 519 | non-removable; |
| 520 | disable-wp; |
| 521 | cap-power-off-card; |
| 522 | mmc-pwrseq = <&sdio_pwrseq>; |
| 523 | vqmmc-supply = <&wmmcsdio_fixed>; |
| 524 | #address-cells = <1>; |
| 525 | #size-cells = <0>; |
| 526 | wlcore: wifi@2 { |
| 527 | compatible = "ti,wl1831"; |
| 528 | reg = <2>; |
| 529 | interrupt-parent = <&gpio>; |
| 530 | interrupts = <76 IRQ_TYPE_EDGE_RISING>; /* MIO76 WLAN_IRQ 1V8 */ |
| 531 | }; |
| 532 | }; |
| 533 | |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 534 | &spi0 { /* Low Speed connector */ |
| 535 | status = "okay"; |
| 536 | label = "LS-SPI0"; |
Michal Simek | ff629fd | 2018-05-31 09:50:10 +0200 | [diff] [blame] | 537 | num-cs = <1>; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 538 | pinctrl-names = "default"; |
| 539 | pinctrl-0 = <&pinctrl_spi0_default>; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 540 | }; |
| 541 | |
| 542 | &spi1 { /* High Speed connector */ |
| 543 | status = "okay"; |
| 544 | label = "HS-SPI1"; |
Michal Simek | ff629fd | 2018-05-31 09:50:10 +0200 | [diff] [blame] | 545 | num-cs = <1>; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 546 | pinctrl-names = "default"; |
| 547 | pinctrl-0 = <&pinctrl_spi1_default>; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 548 | }; |
| 549 | |
| 550 | &uart0 { |
| 551 | status = "okay"; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 552 | pinctrl-names = "default"; |
| 553 | pinctrl-0 = <&pinctrl_uart0_default>; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 554 | bluetooth { |
| 555 | compatible = "ti,wl1831-st"; |
| 556 | enable-gpios = <&gpio 8 GPIO_ACTIVE_HIGH>; |
| 557 | }; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 558 | }; |
| 559 | |
| 560 | &uart1 { |
| 561 | status = "okay"; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 562 | pinctrl-names = "default"; |
| 563 | pinctrl-0 = <&pinctrl_uart1_default>; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 564 | }; |
| 565 | |
| 566 | /* ULPI SMSC USB3320 */ |
| 567 | &usb0 { |
| 568 | status = "okay"; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 569 | pinctrl-names = "default"; |
| 570 | pinctrl-0 = <&pinctrl_usb0_default>; |
Manish Narani | f3c6338 | 2021-07-14 06:17:19 -0600 | [diff] [blame] | 571 | phy-names = "usb3-phy"; |
| 572 | phys = <&psgtr 2 PHY_TYPE_USB3 0 0>; |
Michal Simek | b3dc7cb | 2023-07-10 14:37:36 +0200 | [diff] [blame] | 573 | /delete-property/ reset-gpios; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 574 | }; |
| 575 | |
| 576 | &dwc3_0 { |
| 577 | status = "okay"; |
| 578 | dr_mode = "peripheral"; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 579 | maximum-speed = "super-speed"; |
| 580 | }; |
| 581 | |
| 582 | /* ULPI SMSC USB3320 */ |
| 583 | &usb1 { |
| 584 | status = "okay"; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 585 | pinctrl-names = "default"; |
| 586 | pinctrl-0 = <&pinctrl_usb1_default>; |
Manish Narani | f3c6338 | 2021-07-14 06:17:19 -0600 | [diff] [blame] | 587 | phy-names = "usb3-phy"; |
| 588 | phys = <&psgtr 3 PHY_TYPE_USB3 1 0>; |
Michal Simek | b3dc7cb | 2023-07-10 14:37:36 +0200 | [diff] [blame] | 589 | reset-gpios = <&modepin_gpio 1 GPIO_ACTIVE_LOW>; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 590 | }; |
| 591 | |
| 592 | &dwc3_1 { |
| 593 | status = "okay"; |
| 594 | dr_mode = "host"; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 595 | maximum-speed = "super-speed"; |
| 596 | }; |
| 597 | |
| 598 | &watchdog0 { |
| 599 | status = "okay"; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 600 | }; |
| 601 | |
| 602 | &xilinx_ams { |
| 603 | status = "okay"; |
| 604 | }; |
| 605 | |
| 606 | &ams_ps { |
| 607 | status = "okay"; |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 608 | }; |
| 609 | |
| 610 | &zynqmp_dpdma { |
| 611 | status = "okay"; |
| 612 | }; |
| 613 | |
| 614 | &zynqmp_dpsub { |
| 615 | status = "okay"; |
| 616 | phy-names = "dp-phy0", "dp-phy1"; |
| 617 | phys = <&psgtr 1 PHY_TYPE_DP 0 1>, |
| 618 | <&psgtr 0 PHY_TYPE_DP 1 1>; |
Michal Simek | a057d22 | 2018-03-28 14:37:47 +0200 | [diff] [blame] | 619 | }; |