1 // SPDX-License-Identifier: GPL-2.0
3 * dts file for KV260 revA Carrier Card
5 * (C) Copyright 2020 - 2021, Xilinx, Inc.
7 * Michal Simek <michal.simek@amd.com>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/net/ti-dp83867.h>
12 #include <dt-bindings/phy/phy.h>
13 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
19 compatible = "xlnx,zynqmp-sk-kv260-rev1",
20 "xlnx,zynqmp-sk-kv260-revB",
21 "xlnx,zynqmp-sk-kv260", "xlnx,zynqmp";
22 model = "ZynqMP KV260 revB";
25 &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
28 pinctrl-names = "default", "gpio";
29 pinctrl-0 = <&pinctrl_i2c1_default>;
30 pinctrl-1 = <&pinctrl_i2c1_gpio>;
31 scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
32 sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
34 u14: ina260@40 { /* u14 */
35 compatible = "ti,ina260";
36 #io-channel-cells = <1>;
40 /* u43 - 0x2d - USB hub */
41 /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */
46 compatible = "iio-hwmon";
47 io-channels = <&u14 0>, <&u14 1>, <&u14 2>;
50 si5332_0: si5332_0 { /* u17 */
51 compatible = "fixed-clock";
53 clock-frequency = <125000000>;
56 si5332_1: si5332_1 { /* u17 */
57 compatible = "fixed-clock";
59 clock-frequency = <25000000>;
62 si5332_2: si5332_2 { /* u17 */
63 compatible = "fixed-clock";
65 clock-frequency = <48000000>;
68 si5332_3: si5332_3 { /* u17 */
69 compatible = "fixed-clock";
71 clock-frequency = <24000000>;
74 si5332_4: si5332_4 { /* u17 */
75 compatible = "fixed-clock";
77 clock-frequency = <26000000>;
80 si5332_5: si5332_5 { /* u17 */
81 compatible = "fixed-clock";
83 clock-frequency = <27000000>;
90 /* pcie, usb3, sata */
91 clocks = <&si5332_5>, <&si5332_4>, <&si5332_0>;
92 clock-names = "ref0", "ref1", "ref2";
97 phy-names = "dp-phy0", "dp-phy1";
98 phys = <&psgtr 1 PHY_TYPE_DP 0 0>, <&psgtr 0 PHY_TYPE_DP 1 0>;
99 assigned-clock-rates = <27000000>, <25000000>, <300000000>;
104 assigned-clock-rates = <600000000>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&pinctrl_usb0_default>;
111 phy-names = "usb3-phy";
112 phys = <&psgtr 2 PHY_TYPE_USB3 0 1>;
113 assigned-clock-rates = <250000000>, <20000000>;
115 usb5744: usb-hub { /* u43 */
117 compatible = "microchip,usb5744";
119 reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
126 snps,usb3_lpm_capable;
127 maximum-speed = "super-speed";
130 &sdhci1 { /* on CC with tuned parameters */
132 pinctrl-names = "default";
133 pinctrl-0 = <&pinctrl_sdhci1_default>;
135 * SD 3.0 requires level shifter and this property
136 * should be removed if the board has level shifter and
137 * need to work in UHS mode
142 clk-phase-sd-hs = <126>, <60>;
143 clk-phase-uhs-sdr25 = <120>, <60>;
144 clk-phase-uhs-ddr50 = <126>, <48>;
145 assigned-clock-rates = <187498123>;
151 pinctrl-names = "default";
152 pinctrl-0 = <&pinctrl_gem3_default>;
153 phy-handle = <&phy0>;
154 phy-mode = "rgmii-id";
155 assigned-clock-rates = <250000000>;
158 #address-cells = <1>;
161 phy0: ethernet-phy@1 {
164 compatible = "ethernet-phy-id2000.a231";
165 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
166 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
167 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
168 ti,dp83867-rxctrl-strap-quirk;
169 reset-assert-us = <100>;
170 reset-deassert-us = <280>;
171 reset-gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
179 pinctrl_uart1_default: uart1-default {
181 groups = "uart1_9_grp";
182 slew-rate = <SLEW_RATE_SLOW>;
183 power-source = <IO_STANDARD_LVCMOS18>;
184 drive-strength = <12>;
198 groups = "uart1_9_grp";
203 pinctrl_i2c1_default: i2c1-default {
205 groups = "i2c1_6_grp";
207 slew-rate = <SLEW_RATE_SLOW>;
208 power-source = <IO_STANDARD_LVCMOS18>;
212 groups = "i2c1_6_grp";
217 pinctrl_i2c1_gpio: i2c1-gpio {
219 groups = "gpio0_24_grp", "gpio0_25_grp";
220 slew-rate = <SLEW_RATE_SLOW>;
221 power-source = <IO_STANDARD_LVCMOS18>;
225 groups = "gpio0_24_grp", "gpio0_25_grp";
230 pinctrl_gem3_default: gem3-default {
232 groups = "ethernet3_0_grp";
233 slew-rate = <SLEW_RATE_SLOW>;
234 power-source = <IO_STANDARD_LVCMOS18>;
238 pins = "MIO70", "MIO72", "MIO74";
244 pins = "MIO71", "MIO73", "MIO75";
250 pins = "MIO64", "MIO65", "MIO66",
251 "MIO67", "MIO68", "MIO69";
257 groups = "mdio3_0_grp";
258 slew-rate = <SLEW_RATE_SLOW>;
259 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";
291 drive-strength = <4>;
292 slew-rate = <SLEW_RATE_SLOW>;
296 groups = "usb0_0_grp";
301 pinctrl_sdhci1_default: sdhci1-default {
303 groups = "sdio1_0_grp";
304 slew-rate = <SLEW_RATE_SLOW>;
305 power-source = <IO_STANDARD_LVCMOS18>;
310 groups = "sdio1_cd_0_grp";
313 slew-rate = <SLEW_RATE_SLOW>;
314 power-source = <IO_STANDARD_LVCMOS18>;
318 groups = "sdio1_cd_0_grp";
319 function = "sdio1_cd";
323 groups = "sdio1_0_grp";
331 pinctrl-names = "default";
332 pinctrl-0 = <&pinctrl_uart1_default>;