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 | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 30 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 31 | ina260-u14 { |
| 32 | compatible = "iio-hwmon"; |
| 33 | io-channels = <&u14 0>, <&u14 1>, <&u14 2>; |
| 34 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 35 | |
Michal Simek | 7256cec | 2023-12-19 17:16:48 +0100 | [diff] [blame] | 36 | si5332_0: si5332-0 { /* u17 */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 37 | compatible = "fixed-clock"; |
| 38 | #clock-cells = <0>; |
| 39 | clock-frequency = <125000000>; |
| 40 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 41 | |
Michal Simek | 7256cec | 2023-12-19 17:16:48 +0100 | [diff] [blame] | 42 | si5332_1: si5332-1 { /* u17 */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 43 | compatible = "fixed-clock"; |
| 44 | #clock-cells = <0>; |
| 45 | clock-frequency = <25000000>; |
| 46 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 47 | |
Michal Simek | 7256cec | 2023-12-19 17:16:48 +0100 | [diff] [blame] | 48 | si5332_2: si5332-2 { /* u17 */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 49 | compatible = "fixed-clock"; |
| 50 | #clock-cells = <0>; |
| 51 | clock-frequency = <48000000>; |
| 52 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 53 | |
Michal Simek | 7256cec | 2023-12-19 17:16:48 +0100 | [diff] [blame] | 54 | si5332_3: si5332-3 { /* u17 */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 55 | compatible = "fixed-clock"; |
| 56 | #clock-cells = <0>; |
| 57 | clock-frequency = <24000000>; |
| 58 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 59 | |
Michal Simek | 7256cec | 2023-12-19 17:16:48 +0100 | [diff] [blame] | 60 | si5332_4: si5332-4 { /* u17 */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 61 | compatible = "fixed-clock"; |
| 62 | #clock-cells = <0>; |
| 63 | clock-frequency = <26000000>; |
| 64 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 65 | |
Michal Simek | 7256cec | 2023-12-19 17:16:48 +0100 | [diff] [blame] | 66 | si5332_5: si5332-5 { /* u17 */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 67 | compatible = "fixed-clock"; |
| 68 | #clock-cells = <0>; |
| 69 | clock-frequency = <27000000>; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 70 | }; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 71 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 72 | |
Michal Simek | 6946aaf | 2023-12-19 17:16:47 +0100 | [diff] [blame] | 73 | &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */ |
| 74 | #address-cells = <1>; |
| 75 | #size-cells = <0>; |
| 76 | pinctrl-names = "default", "gpio"; |
| 77 | pinctrl-0 = <&pinctrl_i2c1_default>; |
| 78 | pinctrl-1 = <&pinctrl_i2c1_gpio>; |
| 79 | scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 80 | sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 81 | |
| 82 | u14: ina260@40 { /* u14 */ |
| 83 | compatible = "ti,ina260"; |
| 84 | #io-channel-cells = <1>; |
| 85 | label = "ina260-u14"; |
| 86 | reg = <0x40>; |
| 87 | }; |
| 88 | /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */ |
| 89 | }; |
| 90 | |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 91 | /* DP/USB 3.0 and SATA */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 92 | &psgtr { |
| 93 | status = "okay"; |
| 94 | /* pcie, usb3, sata */ |
| 95 | clocks = <&si5332_5>, <&si5332_4>, <&si5332_0>; |
| 96 | clock-names = "ref0", "ref1", "ref2"; |
| 97 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 98 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 99 | &sata { |
| 100 | status = "okay"; |
| 101 | /* SATA OOB timing settings */ |
| 102 | ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; |
| 103 | ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; |
| 104 | ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; |
| 105 | ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; |
| 106 | ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; |
| 107 | ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; |
| 108 | ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; |
| 109 | ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; |
| 110 | phy-names = "sata-phy"; |
| 111 | phys = <&psgtr 3 PHY_TYPE_SATA 1 2>; |
| 112 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 113 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 114 | &zynqmp_dpsub { |
Michal Simek | 1c8d3fc | 2022-06-24 14:14:25 +0200 | [diff] [blame] | 115 | status = "okay"; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 116 | phy-names = "dp-phy0", "dp-phy1"; |
| 117 | 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] | 118 | assigned-clock-rates = <27000000>, <25000000>, <300000000>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 119 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 120 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 121 | &zynqmp_dpdma { |
| 122 | status = "okay"; |
Michal Simek | eb10f6a | 2022-02-23 16:17:38 +0100 | [diff] [blame] | 123 | assigned-clock-rates = <600000000>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 124 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 125 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 126 | &usb0 { |
| 127 | status = "okay"; |
| 128 | pinctrl-names = "default"; |
| 129 | pinctrl-0 = <&pinctrl_usb0_default>; |
Manish Narani | f3c6338 | 2021-07-14 06:17:19 -0600 | [diff] [blame] | 130 | phy-names = "usb3-phy"; |
| 131 | phys = <&psgtr 2 PHY_TYPE_USB3 0 1>; |
Michal Simek | 30d1dfc | 2023-11-06 16:55:48 +0100 | [diff] [blame] | 132 | #if 0 |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 133 | usbhub: usb5744 { /* u43 */ |
| 134 | compatible = "microchip,usb5744"; |
Michal Simek | b993fec | 2022-02-23 16:17:42 +0100 | [diff] [blame] | 135 | reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 136 | }; |
Michal Simek | 30d1dfc | 2023-11-06 16:55:48 +0100 | [diff] [blame] | 137 | #endif |
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 | |
Tejas Bhumkar | 9285d50 | 2023-10-20 10:36:22 +0530 | [diff] [blame] | 193 | pinctrl_gpio0_default: gpio0-default { |
| 194 | conf { |
| 195 | groups = "gpio0_38_grp"; |
| 196 | bias-pull-up; |
| 197 | power-source = <IO_STANDARD_LVCMOS18>; |
| 198 | }; |
| 199 | |
| 200 | mux { |
| 201 | groups = "gpio0_38_grp"; |
| 202 | function = "gpio0"; |
| 203 | }; |
| 204 | |
| 205 | conf-tx { |
| 206 | pins = "MIO38"; |
| 207 | bias-disable; |
| 208 | output-enable; |
| 209 | }; |
| 210 | }; |
| 211 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 212 | pinctrl_uart1_default: uart1-default { |
| 213 | conf { |
| 214 | groups = "uart1_9_grp"; |
| 215 | slew-rate = <SLEW_RATE_SLOW>; |
| 216 | power-source = <IO_STANDARD_LVCMOS18>; |
| 217 | drive-strength = <12>; |
| 218 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 219 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 220 | conf-rx { |
| 221 | pins = "MIO37"; |
| 222 | bias-high-impedance; |
| 223 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 224 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 225 | conf-tx { |
| 226 | pins = "MIO36"; |
| 227 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 228 | output-enable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 229 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 230 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 231 | mux { |
| 232 | groups = "uart1_9_grp"; |
| 233 | function = "uart1"; |
| 234 | }; |
| 235 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 236 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 237 | pinctrl_i2c1_default: i2c1-default { |
| 238 | conf { |
| 239 | groups = "i2c1_6_grp"; |
| 240 | bias-pull-up; |
| 241 | slew-rate = <SLEW_RATE_SLOW>; |
| 242 | power-source = <IO_STANDARD_LVCMOS18>; |
| 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 | mux { |
| 246 | groups = "i2c1_6_grp"; |
| 247 | function = "i2c1"; |
| 248 | }; |
| 249 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 250 | |
Michal Simek | cf3cd80 | 2023-12-19 17:16:50 +0100 | [diff] [blame] | 251 | pinctrl_i2c1_gpio: i2c1-gpio-grp { |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 252 | conf { |
| 253 | groups = "gpio0_24_grp", "gpio0_25_grp"; |
| 254 | slew-rate = <SLEW_RATE_SLOW>; |
| 255 | power-source = <IO_STANDARD_LVCMOS18>; |
| 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 | mux { |
| 259 | groups = "gpio0_24_grp", "gpio0_25_grp"; |
| 260 | function = "gpio0"; |
| 261 | }; |
| 262 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 263 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 264 | pinctrl_gem3_default: gem3-default { |
| 265 | conf { |
| 266 | groups = "ethernet3_0_grp"; |
| 267 | slew-rate = <SLEW_RATE_SLOW>; |
| 268 | power-source = <IO_STANDARD_LVCMOS18>; |
| 269 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 270 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 271 | conf-rx { |
| 272 | pins = "MIO70", "MIO72", "MIO74"; |
| 273 | bias-high-impedance; |
| 274 | low-power-disable; |
| 275 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 276 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 277 | conf-bootstrap { |
| 278 | pins = "MIO71", "MIO73", "MIO75"; |
| 279 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 280 | output-enable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 281 | low-power-disable; |
| 282 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 283 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 284 | conf-tx { |
| 285 | pins = "MIO64", "MIO65", "MIO66", |
| 286 | "MIO67", "MIO68", "MIO69"; |
| 287 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 288 | output-enable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 289 | low-power-enable; |
| 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 | conf-mdio { |
| 293 | groups = "mdio3_0_grp"; |
| 294 | slew-rate = <SLEW_RATE_SLOW>; |
| 295 | power-source = <IO_STANDARD_LVCMOS18>; |
| 296 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 297 | output-enable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 298 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 299 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 300 | mux-mdio { |
| 301 | function = "mdio3"; |
| 302 | groups = "mdio3_0_grp"; |
| 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 | mux { |
| 306 | function = "ethernet3"; |
| 307 | groups = "ethernet3_0_grp"; |
| 308 | }; |
| 309 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 310 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 311 | pinctrl_usb0_default: usb0-default { |
| 312 | conf { |
| 313 | groups = "usb0_0_grp"; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 314 | power-source = <IO_STANDARD_LVCMOS18>; |
| 315 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 316 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 317 | conf-rx { |
| 318 | pins = "MIO52", "MIO53", "MIO55"; |
| 319 | bias-high-impedance; |
Ashok Reddy Soma | 4d0ecf6 | 2022-06-15 12:16:13 +0200 | [diff] [blame] | 320 | drive-strength = <12>; |
| 321 | slew-rate = <SLEW_RATE_FAST>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 322 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 323 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 324 | conf-tx { |
| 325 | pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", |
| 326 | "MIO60", "MIO61", "MIO62", "MIO63"; |
| 327 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 328 | output-enable; |
Ashok Reddy Soma | 4d0ecf6 | 2022-06-15 12:16:13 +0200 | [diff] [blame] | 329 | drive-strength = <4>; |
| 330 | slew-rate = <SLEW_RATE_SLOW>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 331 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 332 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 333 | mux { |
| 334 | groups = "usb0_0_grp"; |
| 335 | function = "usb0"; |
| 336 | }; |
| 337 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 338 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 339 | pinctrl_sdhci1_default: sdhci1-default { |
| 340 | conf { |
| 341 | groups = "sdio1_0_grp"; |
| 342 | slew-rate = <SLEW_RATE_SLOW>; |
| 343 | power-source = <IO_STANDARD_LVCMOS18>; |
| 344 | bias-disable; |
Tejas Bhumkar | 25f34b2 | 2024-03-21 14:22:20 +0530 | [diff] [blame^] | 345 | output-enable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 346 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 347 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 348 | conf-cd { |
| 349 | groups = "sdio1_cd_0_grp"; |
| 350 | bias-high-impedance; |
| 351 | bias-pull-up; |
| 352 | slew-rate = <SLEW_RATE_SLOW>; |
| 353 | power-source = <IO_STANDARD_LVCMOS18>; |
| 354 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 355 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 356 | mux-cd { |
| 357 | groups = "sdio1_cd_0_grp"; |
| 358 | function = "sdio1_cd"; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 359 | }; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 360 | |
| 361 | mux { |
| 362 | groups = "sdio1_0_grp"; |
| 363 | function = "sdio1"; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 364 | }; |
| 365 | }; |
| 366 | }; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 367 | |
Tejas Bhumkar | 9285d50 | 2023-10-20 10:36:22 +0530 | [diff] [blame] | 368 | &gpio { |
| 369 | status = "okay"; |
| 370 | pinctrl-names = "default"; |
| 371 | pinctrl-0 = <&pinctrl_gpio0_default>; |
| 372 | }; |
| 373 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 374 | &uart1 { |
| 375 | status = "okay"; |
| 376 | pinctrl-names = "default"; |
| 377 | pinctrl-0 = <&pinctrl_uart1_default>; |
| 378 | }; |