Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * dts file for KV260 revA Carrier Card |
| 4 | * |
Michal Simek | 3f283ea | 2023-09-22 12:35:41 +0200 | [diff] [blame^] | 5 | * (C) Copyright 2020 - 2022, Xilinx, Inc. |
| 6 | * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 7 | * |
| 8 | * SD level shifter: |
Michal Simek | 355729d | 2023-09-22 12:35:40 +0200 | [diff] [blame] | 9 | * "A" - A01 board un-modified (NXP) |
| 10 | * "Y" - A01 board modified with legacy interposer (Nexperia) |
| 11 | * "Z" - A01 board modified with Diode interposer |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 12 | * |
Michal Simek | a8c9436 | 2023-07-10 14:35:49 +0200 | [diff] [blame] | 13 | * Michal Simek <michal.simek@amd.com> |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 14 | */ |
| 15 | |
Michal Simek | d9824aa | 2021-08-06 11:12:29 +0200 | [diff] [blame] | 16 | #include <dt-bindings/gpio/gpio.h> |
| 17 | #include <dt-bindings/net/ti-dp83867.h> |
| 18 | #include <dt-bindings/phy/phy.h> |
| 19 | #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 20 | |
| 21 | /dts-v1/; |
| 22 | /plugin/; |
| 23 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 24 | &{/} { |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 25 | compatible = "xlnx,zynqmp-sk-kv260-revA", |
| 26 | "xlnx,zynqmp-sk-kv260-revY", |
| 27 | "xlnx,zynqmp-sk-kv260-revZ", |
| 28 | "xlnx,zynqmp-sk-kv260", "xlnx,zynqmp"; |
Michal Simek | f2d270d | 2023-01-18 13:04:14 +0100 | [diff] [blame] | 29 | model = "ZynqMP KV260 revA"; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 30 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 31 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 32 | &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */ |
| 33 | #address-cells = <1>; |
| 34 | #size-cells = <0>; |
| 35 | pinctrl-names = "default", "gpio"; |
| 36 | pinctrl-0 = <&pinctrl_i2c1_default>; |
| 37 | pinctrl-1 = <&pinctrl_i2c1_gpio>; |
Manikanta Guntupalli | cc45c9c | 2023-07-10 14:37:28 +0200 | [diff] [blame] | 38 | scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 39 | sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 40 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 41 | u14: ina260@40 { /* u14 */ |
| 42 | compatible = "ti,ina260"; |
| 43 | #io-channel-cells = <1>; |
| 44 | label = "ina260-u14"; |
| 45 | reg = <0x40>; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 46 | }; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 47 | /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */ |
| 48 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 49 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 50 | &amba { |
| 51 | ina260-u14 { |
| 52 | compatible = "iio-hwmon"; |
| 53 | io-channels = <&u14 0>, <&u14 1>, <&u14 2>; |
| 54 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 55 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 56 | si5332_0: si5332_0 { /* u17 */ |
| 57 | compatible = "fixed-clock"; |
| 58 | #clock-cells = <0>; |
| 59 | clock-frequency = <125000000>; |
| 60 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 61 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 62 | si5332_1: si5332_1 { /* u17 */ |
| 63 | compatible = "fixed-clock"; |
| 64 | #clock-cells = <0>; |
| 65 | clock-frequency = <25000000>; |
| 66 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 67 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 68 | si5332_2: si5332_2 { /* u17 */ |
| 69 | compatible = "fixed-clock"; |
| 70 | #clock-cells = <0>; |
| 71 | clock-frequency = <48000000>; |
| 72 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 73 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 74 | si5332_3: si5332_3 { /* u17 */ |
| 75 | compatible = "fixed-clock"; |
| 76 | #clock-cells = <0>; |
| 77 | clock-frequency = <24000000>; |
| 78 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 79 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 80 | si5332_4: si5332_4 { /* u17 */ |
| 81 | compatible = "fixed-clock"; |
| 82 | #clock-cells = <0>; |
| 83 | clock-frequency = <26000000>; |
| 84 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 85 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 86 | si5332_5: si5332_5 { /* u17 */ |
| 87 | compatible = "fixed-clock"; |
| 88 | #clock-cells = <0>; |
| 89 | clock-frequency = <27000000>; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 90 | }; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 91 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 92 | |
| 93 | /* DP/USB 3.0 and SATA */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 94 | &psgtr { |
| 95 | status = "okay"; |
| 96 | /* pcie, usb3, sata */ |
| 97 | clocks = <&si5332_5>, <&si5332_4>, <&si5332_0>; |
| 98 | clock-names = "ref0", "ref1", "ref2"; |
| 99 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 100 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 101 | &sata { |
| 102 | status = "okay"; |
| 103 | /* SATA OOB timing settings */ |
| 104 | ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; |
| 105 | ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; |
| 106 | ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; |
| 107 | ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; |
| 108 | ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; |
| 109 | ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; |
| 110 | ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; |
| 111 | ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; |
| 112 | phy-names = "sata-phy"; |
| 113 | phys = <&psgtr 3 PHY_TYPE_SATA 1 2>; |
| 114 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 115 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 116 | &zynqmp_dpsub { |
Michal Simek | 1c8d3fc | 2022-06-24 14:14:25 +0200 | [diff] [blame] | 117 | status = "okay"; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 118 | phy-names = "dp-phy0", "dp-phy1"; |
| 119 | phys = <&psgtr 1 PHY_TYPE_DP 0 0>, <&psgtr 0 PHY_TYPE_DP 1 0>; |
Michal Simek | eb10f6a | 2022-02-23 16:17:38 +0100 | [diff] [blame] | 120 | assigned-clock-rates = <27000000>, <25000000>, <300000000>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 121 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 122 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 123 | &zynqmp_dpdma { |
| 124 | status = "okay"; |
Michal Simek | eb10f6a | 2022-02-23 16:17:38 +0100 | [diff] [blame] | 125 | assigned-clock-rates = <600000000>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 126 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 127 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 128 | &usb0 { |
| 129 | status = "okay"; |
| 130 | pinctrl-names = "default"; |
| 131 | pinctrl-0 = <&pinctrl_usb0_default>; |
Manish Narani | f3c6338 | 2021-07-14 06:17:19 -0600 | [diff] [blame] | 132 | phy-names = "usb3-phy"; |
| 133 | phys = <&psgtr 2 PHY_TYPE_USB3 0 1>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 134 | usbhub: usb5744 { /* u43 */ |
| 135 | compatible = "microchip,usb5744"; |
Michal Simek | b993fec | 2022-02-23 16:17:42 +0100 | [diff] [blame] | 136 | reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 137 | }; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 138 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 139 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 140 | &dwc3_0 { |
| 141 | status = "okay"; |
| 142 | dr_mode = "host"; |
| 143 | snps,usb3_lpm_capable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 144 | maximum-speed = "super-speed"; |
| 145 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 146 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 147 | &sdhci1 { /* on CC with tuned parameters */ |
| 148 | status = "okay"; |
| 149 | pinctrl-names = "default"; |
| 150 | pinctrl-0 = <&pinctrl_sdhci1_default>; |
| 151 | /* |
| 152 | * SD 3.0 requires level shifter and this property |
| 153 | * should be removed if the board has level shifter and |
| 154 | * need to work in UHS mode |
| 155 | */ |
| 156 | no-1-8-v; |
| 157 | disable-wp; |
| 158 | xlnx,mio-bank = <1>; |
Michal Simek | bd8ca91 | 2022-02-23 16:17:39 +0100 | [diff] [blame] | 159 | assigned-clock-rates = <187498123>; |
Michal Simek | 409af4a | 2023-09-22 12:35:34 +0200 | [diff] [blame] | 160 | bus-width = <4>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 161 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 162 | |
Michal Simek | 9398734 | 2023-02-20 09:09:04 +0100 | [diff] [blame] | 163 | &gem3 { |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 164 | status = "okay"; |
| 165 | pinctrl-names = "default"; |
| 166 | pinctrl-0 = <&pinctrl_gem3_default>; |
| 167 | phy-handle = <&phy0>; |
| 168 | phy-mode = "rgmii-id"; |
Harini Katakam | 451f57f | 2023-07-10 14:37:33 +0200 | [diff] [blame] | 169 | assigned-clock-rates = <250000000>; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 170 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 171 | mdio: mdio { |
| 172 | #address-cells = <1>; |
| 173 | #size-cells = <0>; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 174 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 175 | phy0: ethernet-phy@1 { |
| 176 | #phy-cells = <1>; |
| 177 | reg = <1>; |
Michal Simek | 01b0112 | 2022-02-23 16:17:40 +0100 | [diff] [blame] | 178 | compatible = "ethernet-phy-id2000.a231"; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 179 | ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; |
| 180 | ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>; |
| 181 | ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; |
| 182 | ti,dp83867-rxctrl-strap-quirk; |
Michal Simek | 01b0112 | 2022-02-23 16:17:40 +0100 | [diff] [blame] | 183 | reset-assert-us = <100>; |
| 184 | reset-deassert-us = <280>; |
| 185 | reset-gpios = <&gpio 38 GPIO_ACTIVE_LOW>; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 186 | }; |
| 187 | }; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 188 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 189 | |
Michal Simek | 9398734 | 2023-02-20 09:09:04 +0100 | [diff] [blame] | 190 | &pinctrl0 { |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 191 | status = "okay"; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 192 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 193 | pinctrl_uart1_default: uart1-default { |
| 194 | conf { |
| 195 | groups = "uart1_9_grp"; |
| 196 | slew-rate = <SLEW_RATE_SLOW>; |
| 197 | power-source = <IO_STANDARD_LVCMOS18>; |
| 198 | drive-strength = <12>; |
| 199 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 200 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 201 | conf-rx { |
| 202 | pins = "MIO37"; |
| 203 | bias-high-impedance; |
| 204 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 205 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 206 | conf-tx { |
| 207 | pins = "MIO36"; |
| 208 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 209 | output-enable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 210 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 211 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 212 | mux { |
| 213 | groups = "uart1_9_grp"; |
| 214 | function = "uart1"; |
| 215 | }; |
| 216 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 217 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 218 | pinctrl_i2c1_default: i2c1-default { |
| 219 | conf { |
| 220 | groups = "i2c1_6_grp"; |
| 221 | bias-pull-up; |
| 222 | slew-rate = <SLEW_RATE_SLOW>; |
| 223 | power-source = <IO_STANDARD_LVCMOS18>; |
| 224 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 225 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 226 | mux { |
| 227 | groups = "i2c1_6_grp"; |
| 228 | function = "i2c1"; |
| 229 | }; |
| 230 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 231 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 232 | pinctrl_i2c1_gpio: i2c1-gpio { |
| 233 | conf { |
| 234 | groups = "gpio0_24_grp", "gpio0_25_grp"; |
| 235 | slew-rate = <SLEW_RATE_SLOW>; |
| 236 | power-source = <IO_STANDARD_LVCMOS18>; |
| 237 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 238 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 239 | mux { |
| 240 | groups = "gpio0_24_grp", "gpio0_25_grp"; |
| 241 | function = "gpio0"; |
| 242 | }; |
| 243 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 244 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 245 | pinctrl_gem3_default: gem3-default { |
| 246 | conf { |
| 247 | groups = "ethernet3_0_grp"; |
| 248 | slew-rate = <SLEW_RATE_SLOW>; |
| 249 | power-source = <IO_STANDARD_LVCMOS18>; |
| 250 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 251 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 252 | conf-rx { |
| 253 | pins = "MIO70", "MIO72", "MIO74"; |
| 254 | bias-high-impedance; |
| 255 | low-power-disable; |
| 256 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 257 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 258 | conf-bootstrap { |
| 259 | pins = "MIO71", "MIO73", "MIO75"; |
| 260 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 261 | output-enable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 262 | low-power-disable; |
| 263 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 264 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 265 | conf-tx { |
| 266 | pins = "MIO64", "MIO65", "MIO66", |
| 267 | "MIO67", "MIO68", "MIO69"; |
| 268 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 269 | output-enable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 270 | low-power-enable; |
| 271 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 272 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 273 | conf-mdio { |
| 274 | groups = "mdio3_0_grp"; |
| 275 | slew-rate = <SLEW_RATE_SLOW>; |
| 276 | power-source = <IO_STANDARD_LVCMOS18>; |
| 277 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 278 | output-enable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 279 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 280 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 281 | mux-mdio { |
| 282 | function = "mdio3"; |
| 283 | groups = "mdio3_0_grp"; |
| 284 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 285 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 286 | mux { |
| 287 | function = "ethernet3"; |
| 288 | groups = "ethernet3_0_grp"; |
| 289 | }; |
| 290 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 291 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 292 | pinctrl_usb0_default: usb0-default { |
| 293 | conf { |
| 294 | groups = "usb0_0_grp"; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 295 | power-source = <IO_STANDARD_LVCMOS18>; |
| 296 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 297 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 298 | conf-rx { |
| 299 | pins = "MIO52", "MIO53", "MIO55"; |
| 300 | bias-high-impedance; |
Ashok Reddy Soma | 4d0ecf6 | 2022-06-15 12:16:13 +0200 | [diff] [blame] | 301 | drive-strength = <12>; |
| 302 | slew-rate = <SLEW_RATE_FAST>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 303 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 304 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 305 | conf-tx { |
| 306 | pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", |
| 307 | "MIO60", "MIO61", "MIO62", "MIO63"; |
| 308 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 309 | output-enable; |
Ashok Reddy Soma | 4d0ecf6 | 2022-06-15 12:16:13 +0200 | [diff] [blame] | 310 | drive-strength = <4>; |
| 311 | slew-rate = <SLEW_RATE_SLOW>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 312 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 313 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 314 | mux { |
| 315 | groups = "usb0_0_grp"; |
| 316 | function = "usb0"; |
| 317 | }; |
| 318 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 319 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 320 | pinctrl_sdhci1_default: sdhci1-default { |
| 321 | conf { |
| 322 | groups = "sdio1_0_grp"; |
| 323 | slew-rate = <SLEW_RATE_SLOW>; |
| 324 | power-source = <IO_STANDARD_LVCMOS18>; |
| 325 | bias-disable; |
| 326 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 327 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 328 | conf-cd { |
| 329 | groups = "sdio1_cd_0_grp"; |
| 330 | bias-high-impedance; |
| 331 | bias-pull-up; |
| 332 | slew-rate = <SLEW_RATE_SLOW>; |
| 333 | power-source = <IO_STANDARD_LVCMOS18>; |
| 334 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 335 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 336 | mux-cd { |
| 337 | groups = "sdio1_cd_0_grp"; |
| 338 | function = "sdio1_cd"; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 339 | }; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 340 | |
| 341 | mux { |
| 342 | groups = "sdio1_0_grp"; |
| 343 | function = "sdio1"; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 344 | }; |
| 345 | }; |
| 346 | }; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 347 | |
| 348 | &uart1 { |
| 349 | status = "okay"; |
| 350 | pinctrl-names = "default"; |
| 351 | pinctrl-0 = <&pinctrl_uart1_default>; |
| 352 | }; |