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