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 | * |
Michal Simek | a8c9436 | 2023-07-10 14:35:49 +0200 | [diff] [blame] | 8 | * Michal Simek <michal.simek@amd.com> |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 9 | */ |
| 10 | |
Michal Simek | d9824aa | 2021-08-06 11:12:29 +0200 | [diff] [blame] | 11 | #include <dt-bindings/gpio/gpio.h> |
| 12 | #include <dt-bindings/net/ti-dp83867.h> |
| 13 | #include <dt-bindings/phy/phy.h> |
| 14 | #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 15 | |
| 16 | /dts-v1/; |
| 17 | /plugin/; |
| 18 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 19 | &{/} { |
Michal Simek | 045d031 | 2023-07-10 14:37:34 +0200 | [diff] [blame] | 20 | compatible = "xlnx,zynqmp-sk-kv260-rev2", |
| 21 | "xlnx,zynqmp-sk-kv260-rev1", |
Michal Simek | 20fddd7 | 2021-06-10 18:52:14 +0200 | [diff] [blame] | 22 | "xlnx,zynqmp-sk-kv260-revB", |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 23 | "xlnx,zynqmp-sk-kv260", "xlnx,zynqmp"; |
Michal Simek | f2d270d | 2023-01-18 13:04:14 +0100 | [diff] [blame] | 24 | model = "ZynqMP KV260 revB"; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 25 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 26 | ina260-u14 { |
| 27 | compatible = "iio-hwmon"; |
| 28 | io-channels = <&u14 0>, <&u14 1>, <&u14 2>; |
| 29 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 30 | |
Michal Simek | 7256cec | 2023-12-19 17:16:48 +0100 | [diff] [blame] | 31 | si5332_0: si5332-0 { /* u17 */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 32 | compatible = "fixed-clock"; |
| 33 | #clock-cells = <0>; |
| 34 | clock-frequency = <125000000>; |
| 35 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 36 | |
Michal Simek | 7256cec | 2023-12-19 17:16:48 +0100 | [diff] [blame] | 37 | si5332_1: si5332-1 { /* u17 */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 38 | compatible = "fixed-clock"; |
| 39 | #clock-cells = <0>; |
| 40 | clock-frequency = <25000000>; |
| 41 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 42 | |
Michal Simek | 7256cec | 2023-12-19 17:16:48 +0100 | [diff] [blame] | 43 | si5332_2: si5332-2 { /* u17 */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 44 | compatible = "fixed-clock"; |
| 45 | #clock-cells = <0>; |
| 46 | clock-frequency = <48000000>; |
| 47 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 48 | |
Michal Simek | 7256cec | 2023-12-19 17:16:48 +0100 | [diff] [blame] | 49 | si5332_3: si5332-3 { /* u17 */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 50 | compatible = "fixed-clock"; |
| 51 | #clock-cells = <0>; |
| 52 | clock-frequency = <24000000>; |
| 53 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 54 | |
Michal Simek | 7256cec | 2023-12-19 17:16:48 +0100 | [diff] [blame] | 55 | si5332_4: si5332-4 { /* u17 */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 56 | compatible = "fixed-clock"; |
| 57 | #clock-cells = <0>; |
| 58 | clock-frequency = <26000000>; |
| 59 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 60 | |
Michal Simek | 7256cec | 2023-12-19 17:16:48 +0100 | [diff] [blame] | 61 | si5332_5: si5332-5 { /* u17 */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 62 | compatible = "fixed-clock"; |
| 63 | #clock-cells = <0>; |
| 64 | clock-frequency = <27000000>; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 65 | }; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 66 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 67 | |
Michal Simek | 6946aaf | 2023-12-19 17:16:47 +0100 | [diff] [blame] | 68 | &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */ |
| 69 | #address-cells = <1>; |
| 70 | #size-cells = <0>; |
| 71 | pinctrl-names = "default", "gpio"; |
| 72 | pinctrl-0 = <&pinctrl_i2c1_default>; |
| 73 | pinctrl-1 = <&pinctrl_i2c1_gpio>; |
| 74 | scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 75 | sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 76 | |
| 77 | u14: ina260@40 { /* u14 */ |
| 78 | compatible = "ti,ina260"; |
| 79 | #io-channel-cells = <1>; |
| 80 | label = "ina260-u14"; |
| 81 | reg = <0x40>; |
| 82 | }; |
| 83 | /* u43 - 0x2d - USB hub */ |
| 84 | /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */ |
| 85 | }; |
| 86 | |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 87 | /* DP/USB 3.0 */ |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 88 | &psgtr { |
| 89 | status = "okay"; |
| 90 | /* pcie, usb3, sata */ |
| 91 | clocks = <&si5332_5>, <&si5332_4>, <&si5332_0>; |
| 92 | clock-names = "ref0", "ref1", "ref2"; |
| 93 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 94 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 95 | &zynqmp_dpsub { |
Michal Simek | f499a81 | 2022-02-23 16:17:41 +0100 | [diff] [blame] | 96 | status = "okay"; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 97 | phy-names = "dp-phy0", "dp-phy1"; |
| 98 | 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] | 99 | assigned-clock-rates = <27000000>, <25000000>, <300000000>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 100 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 101 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 102 | &zynqmp_dpdma { |
| 103 | status = "okay"; |
Michal Simek | eb10f6a | 2022-02-23 16:17:38 +0100 | [diff] [blame] | 104 | assigned-clock-rates = <600000000>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 105 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 106 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 107 | &usb0 { |
| 108 | status = "okay"; |
| 109 | pinctrl-names = "default"; |
| 110 | pinctrl-0 = <&pinctrl_usb0_default>; |
Manish Narani | f3c6338 | 2021-07-14 06:17:19 -0600 | [diff] [blame] | 111 | phy-names = "usb3-phy"; |
| 112 | phys = <&psgtr 2 PHY_TYPE_USB3 0 1>; |
Michal Simek | bd8ca91 | 2022-02-23 16:17:39 +0100 | [diff] [blame] | 113 | assigned-clock-rates = <250000000>, <20000000>; |
Michal Simek | 30d1dfc | 2023-11-06 16:55:48 +0100 | [diff] [blame] | 114 | #if 0 |
Michal Simek | 1a9fe83 | 2022-02-23 16:17:37 +0100 | [diff] [blame] | 115 | usb5744: usb-hub { /* u43 */ |
| 116 | status = "okay"; |
| 117 | compatible = "microchip,usb5744"; |
| 118 | i2c-bus = <&i2c1>; |
Michal Simek | b993fec | 2022-02-23 16:17:42 +0100 | [diff] [blame] | 119 | reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>; |
Michal Simek | 1a9fe83 | 2022-02-23 16:17:37 +0100 | [diff] [blame] | 120 | }; |
Michal Simek | 30d1dfc | 2023-11-06 16:55:48 +0100 | [diff] [blame] | 121 | #endif |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 122 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 123 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 124 | &dwc3_0 { |
| 125 | status = "okay"; |
| 126 | dr_mode = "host"; |
| 127 | snps,usb3_lpm_capable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 128 | maximum-speed = "super-speed"; |
| 129 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 130 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 131 | &sdhci1 { /* on CC with tuned parameters */ |
| 132 | status = "okay"; |
| 133 | pinctrl-names = "default"; |
| 134 | pinctrl-0 = <&pinctrl_sdhci1_default>; |
| 135 | /* |
| 136 | * SD 3.0 requires level shifter and this property |
| 137 | * should be removed if the board has level shifter and |
| 138 | * need to work in UHS mode |
| 139 | */ |
| 140 | no-1-8-v; |
| 141 | disable-wp; |
| 142 | xlnx,mio-bank = <1>; |
| 143 | clk-phase-sd-hs = <126>, <60>; |
| 144 | clk-phase-uhs-sdr25 = <120>, <60>; |
| 145 | clk-phase-uhs-ddr50 = <126>, <48>; |
Michal Simek | bd8ca91 | 2022-02-23 16:17:39 +0100 | [diff] [blame] | 146 | assigned-clock-rates = <187498123>; |
Michal Simek | 409af4a | 2023-09-22 12:35:34 +0200 | [diff] [blame] | 147 | bus-width = <4>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 148 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 149 | |
Michal Simek | 9398734 | 2023-02-20 09:09:04 +0100 | [diff] [blame] | 150 | &gem3 { |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 151 | status = "okay"; |
| 152 | pinctrl-names = "default"; |
| 153 | pinctrl-0 = <&pinctrl_gem3_default>; |
| 154 | phy-handle = <&phy0>; |
| 155 | phy-mode = "rgmii-id"; |
Harini Katakam | 451f57f | 2023-07-10 14:37:33 +0200 | [diff] [blame] | 156 | assigned-clock-rates = <250000000>; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 157 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 158 | mdio: mdio { |
| 159 | #address-cells = <1>; |
| 160 | #size-cells = <0>; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 161 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 162 | phy0: ethernet-phy@1 { |
| 163 | #phy-cells = <1>; |
| 164 | reg = <1>; |
Michal Simek | 01b0112 | 2022-02-23 16:17:40 +0100 | [diff] [blame] | 165 | compatible = "ethernet-phy-id2000.a231"; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 166 | ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; |
| 167 | ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>; |
| 168 | ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; |
| 169 | ti,dp83867-rxctrl-strap-quirk; |
Michal Simek | 01b0112 | 2022-02-23 16:17:40 +0100 | [diff] [blame] | 170 | reset-assert-us = <100>; |
| 171 | reset-deassert-us = <280>; |
| 172 | reset-gpios = <&gpio 38 GPIO_ACTIVE_LOW>; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 173 | }; |
| 174 | }; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 175 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 176 | |
Michal Simek | 9398734 | 2023-02-20 09:09:04 +0100 | [diff] [blame] | 177 | &pinctrl0 { |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 178 | status = "okay"; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 179 | |
Tejas Bhumkar | 9285d50 | 2023-10-20 10:36:22 +0530 | [diff] [blame] | 180 | pinctrl_gpio0_default: gpio0-default { |
| 181 | conf { |
| 182 | groups = "gpio0_38_grp"; |
| 183 | bias-pull-up; |
| 184 | power-source = <IO_STANDARD_LVCMOS18>; |
| 185 | }; |
| 186 | |
| 187 | mux { |
| 188 | groups = "gpio0_38_grp"; |
| 189 | function = "gpio0"; |
| 190 | }; |
| 191 | |
| 192 | conf-tx { |
| 193 | pins = "MIO38"; |
| 194 | bias-disable; |
| 195 | output-enable; |
| 196 | }; |
| 197 | }; |
| 198 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 199 | pinctrl_uart1_default: uart1-default { |
| 200 | conf { |
| 201 | groups = "uart1_9_grp"; |
| 202 | slew-rate = <SLEW_RATE_SLOW>; |
| 203 | power-source = <IO_STANDARD_LVCMOS18>; |
| 204 | drive-strength = <12>; |
| 205 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 206 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 207 | conf-rx { |
| 208 | pins = "MIO37"; |
| 209 | bias-high-impedance; |
| 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 | conf-tx { |
| 213 | pins = "MIO36"; |
| 214 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 215 | output-enable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 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 | mux { |
| 219 | groups = "uart1_9_grp"; |
| 220 | function = "uart1"; |
| 221 | }; |
| 222 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 223 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 224 | pinctrl_i2c1_default: i2c1-default { |
| 225 | conf { |
| 226 | groups = "i2c1_6_grp"; |
| 227 | bias-pull-up; |
| 228 | slew-rate = <SLEW_RATE_SLOW>; |
| 229 | power-source = <IO_STANDARD_LVCMOS18>; |
| 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 | mux { |
| 233 | groups = "i2c1_6_grp"; |
| 234 | function = "i2c1"; |
| 235 | }; |
| 236 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 237 | |
Michal Simek | cf3cd80 | 2023-12-19 17:16:50 +0100 | [diff] [blame] | 238 | pinctrl_i2c1_gpio: i2c1-gpio-grp { |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 239 | conf { |
| 240 | groups = "gpio0_24_grp", "gpio0_25_grp"; |
| 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 = "gpio0_24_grp", "gpio0_25_grp"; |
| 247 | function = "gpio0"; |
| 248 | }; |
| 249 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 250 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 251 | pinctrl_gem3_default: gem3-default { |
| 252 | conf { |
| 253 | groups = "ethernet3_0_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 | conf-rx { |
| 259 | pins = "MIO70", "MIO72", "MIO74"; |
| 260 | bias-high-impedance; |
| 261 | low-power-disable; |
| 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 | conf-bootstrap { |
| 265 | pins = "MIO71", "MIO73", "MIO75"; |
| 266 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 267 | output-enable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 268 | low-power-disable; |
| 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-tx { |
| 272 | pins = "MIO64", "MIO65", "MIO66", |
| 273 | "MIO67", "MIO68", "MIO69"; |
| 274 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 275 | output-enable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 276 | low-power-enable; |
| 277 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 278 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 279 | conf-mdio { |
| 280 | groups = "mdio3_0_grp"; |
| 281 | slew-rate = <SLEW_RATE_SLOW>; |
| 282 | power-source = <IO_STANDARD_LVCMOS18>; |
| 283 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 284 | output-enable; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 285 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 286 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 287 | mux-mdio { |
| 288 | function = "mdio3"; |
| 289 | groups = "mdio3_0_grp"; |
| 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 | mux { |
| 293 | function = "ethernet3"; |
| 294 | groups = "ethernet3_0_grp"; |
| 295 | }; |
| 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 | pinctrl_usb0_default: usb0-default { |
| 299 | conf { |
| 300 | groups = "usb0_0_grp"; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 301 | power-source = <IO_STANDARD_LVCMOS18>; |
| 302 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 303 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 304 | conf-rx { |
| 305 | pins = "MIO52", "MIO53", "MIO55"; |
| 306 | bias-high-impedance; |
Ashok Reddy Soma | 4d0ecf6 | 2022-06-15 12:16:13 +0200 | [diff] [blame] | 307 | drive-strength = <12>; |
| 308 | slew-rate = <SLEW_RATE_FAST>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 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 | conf-tx { |
| 312 | pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", |
| 313 | "MIO60", "MIO61", "MIO62", "MIO63"; |
| 314 | bias-disable; |
Neal Frager | a299b66 | 2023-08-31 16:27:53 +0200 | [diff] [blame] | 315 | output-enable; |
Ashok Reddy Soma | 4d0ecf6 | 2022-06-15 12:16:13 +0200 | [diff] [blame] | 316 | drive-strength = <4>; |
| 317 | slew-rate = <SLEW_RATE_SLOW>; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 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 | mux { |
| 321 | groups = "usb0_0_grp"; |
| 322 | function = "usb0"; |
| 323 | }; |
| 324 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 325 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 326 | pinctrl_sdhci1_default: sdhci1-default { |
| 327 | conf { |
| 328 | groups = "sdio1_0_grp"; |
| 329 | slew-rate = <SLEW_RATE_SLOW>; |
| 330 | power-source = <IO_STANDARD_LVCMOS18>; |
| 331 | bias-disable; |
| 332 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 333 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 334 | conf-cd { |
| 335 | groups = "sdio1_cd_0_grp"; |
| 336 | bias-high-impedance; |
| 337 | bias-pull-up; |
| 338 | slew-rate = <SLEW_RATE_SLOW>; |
| 339 | power-source = <IO_STANDARD_LVCMOS18>; |
| 340 | }; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 341 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 342 | mux-cd { |
| 343 | groups = "sdio1_cd_0_grp"; |
| 344 | function = "sdio1_cd"; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 345 | }; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 346 | |
| 347 | mux { |
| 348 | groups = "sdio1_0_grp"; |
| 349 | function = "sdio1"; |
Michal Simek | 4bc7734 | 2021-05-10 16:02:15 +0200 | [diff] [blame] | 350 | }; |
| 351 | }; |
| 352 | }; |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 353 | |
Tejas Bhumkar | 9285d50 | 2023-10-20 10:36:22 +0530 | [diff] [blame] | 354 | &gpio { |
| 355 | status = "okay"; |
| 356 | pinctrl-names = "default"; |
| 357 | pinctrl-0 = <&pinctrl_gpio0_default>; |
| 358 | }; |
| 359 | |
Michal Simek | abedc0b | 2021-06-10 17:59:46 +0200 | [diff] [blame] | 360 | &uart1 { |
| 361 | status = "okay"; |
| 362 | pinctrl-names = "default"; |
| 363 | pinctrl-0 = <&pinctrl_uart1_default>; |
| 364 | }; |