1 // SPDX-License-Identifier: GPL-2.0
3 * dts file for KV260 revA Carrier Card
5 * (C) Copyright 2020 - 2022, Xilinx, Inc.
6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc.
8 * Michal Simek <michal.simek@amd.com>
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>
20 si5332_0: si5332-0 { /* u17 */
21 compatible = "fixed-clock";
23 clock-frequency = <125000000>;
26 si5332_1: si5332-1 { /* u17 */
27 compatible = "fixed-clock";
29 clock-frequency = <25000000>;
32 si5332_2: si5332-2 { /* u17 */
33 compatible = "fixed-clock";
35 clock-frequency = <48000000>;
38 si5332_3: si5332-3 { /* u17 */
39 compatible = "fixed-clock";
41 clock-frequency = <24000000>;
44 si5332_4: si5332-4 { /* u17 */
45 compatible = "fixed-clock";
47 clock-frequency = <26000000>;
50 si5332_5: si5332-5 { /* u17 */
51 compatible = "fixed-clock";
53 clock-frequency = <27000000>;
57 &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
60 pinctrl-names = "default", "gpio";
61 pinctrl-0 = <&pinctrl_i2c1_default>;
62 pinctrl-1 = <&pinctrl_i2c1_gpio>;
63 scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
64 sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
66 /* u14 - 0x40 - ina260 */
67 /* u43 - 0x2d - usb5744 */
68 /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */
74 /* pcie, usb3, sata */
75 clocks = <&si5332_5>, <&si5332_4>, <&si5332_0>;
76 clock-names = "ref0", "ref1", "ref2";
81 phy-names = "dp-phy0", "dp-phy1";
82 phys = <&psgtr 1 PHY_TYPE_DP 0 0>, <&psgtr 0 PHY_TYPE_DP 1 0>;
83 assigned-clock-rates = <27000000>, <25000000>, <300000000>;
88 assigned-clock-rates = <600000000>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_usb0_default>;
95 phy-names = "usb3-phy";
96 phys = <&psgtr 2 PHY_TYPE_USB3 0 1>;
97 assigned-clock-rates = <250000000>, <20000000>;
103 snps,usb3_lpm_capable;
104 maximum-speed = "super-speed";
107 &sdhci1 { /* on CC with tuned parameters */
109 pinctrl-names = "default";
110 pinctrl-0 = <&pinctrl_sdhci1_default>;
112 * SD 3.0 requires level shifter and this property
113 * should be removed if the board has level shifter and
114 * need to work in UHS mode
119 clk-phase-sd-hs = <126>, <60>;
120 clk-phase-uhs-sdr25 = <120>, <60>;
121 clk-phase-uhs-ddr50 = <126>, <48>;
122 assigned-clock-rates = <187498123>;
128 pinctrl-names = "default";
129 pinctrl-0 = <&pinctrl_gem3_default>;
130 phy-handle = <&phy0>;
131 phy-mode = "rgmii-id";
132 assigned-clock-rates = <250000000>;
135 #address-cells = <1>;
138 phy0: ethernet-phy@1 {
141 compatible = "ethernet-phy-id2000.a231";
142 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
143 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
144 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
145 ti,dp83867-rxctrl-strap-quirk;
146 reset-assert-us = <100>;
147 reset-deassert-us = <280>;
148 reset-gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
156 pinctrl_gpio0_default: gpio0-default {
158 groups = "gpio0_38_grp";
160 power-source = <IO_STANDARD_LVCMOS18>;
164 groups = "gpio0_38_grp";
175 pinctrl_uart1_default: uart1-default {
177 groups = "uart1_9_grp";
178 slew-rate = <SLEW_RATE_SLOW>;
179 power-source = <IO_STANDARD_LVCMOS18>;
180 drive-strength = <12>;
195 groups = "uart1_9_grp";
200 pinctrl_i2c1_default: i2c1-default {
202 groups = "i2c1_6_grp";
204 slew-rate = <SLEW_RATE_SLOW>;
205 power-source = <IO_STANDARD_LVCMOS18>;
209 groups = "i2c1_6_grp";
214 pinctrl_i2c1_gpio: i2c1-gpio-grp {
216 groups = "gpio0_24_grp", "gpio0_25_grp";
217 slew-rate = <SLEW_RATE_SLOW>;
218 power-source = <IO_STANDARD_LVCMOS18>;
222 groups = "gpio0_24_grp", "gpio0_25_grp";
227 pinctrl_gem3_default: gem3-default {
229 groups = "ethernet3_0_grp";
230 slew-rate = <SLEW_RATE_SLOW>;
231 power-source = <IO_STANDARD_LVCMOS18>;
235 pins = "MIO70", "MIO72", "MIO74";
241 pins = "MIO71", "MIO73", "MIO75";
248 pins = "MIO64", "MIO65", "MIO66",
249 "MIO67", "MIO68", "MIO69";
256 groups = "mdio3_0_grp";
257 slew-rate = <SLEW_RATE_SLOW>;
258 power-source = <IO_STANDARD_LVCMOS18>;
265 groups = "mdio3_0_grp";
269 function = "ethernet3";
270 groups = "ethernet3_0_grp";
274 pinctrl_usb0_default: usb0-default {
276 groups = "usb0_0_grp";
277 power-source = <IO_STANDARD_LVCMOS18>;
281 pins = "MIO52", "MIO53", "MIO55";
283 drive-strength = <12>;
284 slew-rate = <SLEW_RATE_FAST>;
288 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
289 "MIO60", "MIO61", "MIO62", "MIO63";
292 drive-strength = <4>;
293 slew-rate = <SLEW_RATE_SLOW>;
297 groups = "usb0_0_grp";
302 pinctrl_sdhci1_default: sdhci1-default {
304 groups = "sdio1_0_grp";
305 slew-rate = <SLEW_RATE_SLOW>;
306 power-source = <IO_STANDARD_LVCMOS18>;
311 groups = "sdio1_cd_0_grp";
314 slew-rate = <SLEW_RATE_SLOW>;
315 power-source = <IO_STANDARD_LVCMOS18>;
319 groups = "sdio1_cd_0_grp";
320 function = "sdio1_cd";
324 groups = "sdio1_0_grp";
332 pinctrl-names = "default";
333 pinctrl-0 = <&pinctrl_gpio0_default>;
338 pinctrl-names = "default";
339 pinctrl-0 = <&pinctrl_uart1_default>;