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