1 // SPDX-License-Identifier: GPL-2.0
3 * dts file for KV260 revA Carrier Card
5 * (C) Copyright 2020 - 2021, Xilinx, Inc.
8 * "A" – A01 board un-modified (NXP)
9 * "Y" – A01 board modified with legacy interposer (Nexperia)
10 * "Z" – A01 board modified with Diode interposer
12 * Michal Simek <michal.simek@xilinx.com>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/net/ti-dp83867.h>
17 #include <dt-bindings/phy/phy.h>
18 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
23 &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
26 pinctrl-names = "default", "gpio";
27 pinctrl-0 = <&pinctrl_i2c1_default>;
28 pinctrl-1 = <&pinctrl_i2c1_gpio>;
29 scl-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
30 sda-gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
32 /* u14 - 0x40 - ina260 */
33 /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */
37 si5332_0: si5332_0 { /* u17 */
38 compatible = "fixed-clock";
40 clock-frequency = <125000000>;
43 si5332_1: si5332_1 { /* u17 */
44 compatible = "fixed-clock";
46 clock-frequency = <25000000>;
49 si5332_2: si5332_2 { /* u17 */
50 compatible = "fixed-clock";
52 clock-frequency = <48000000>;
55 si5332_3: si5332_3 { /* u17 */
56 compatible = "fixed-clock";
58 clock-frequency = <24000000>;
61 si5332_4: si5332_4 { /* u17 */
62 compatible = "fixed-clock";
64 clock-frequency = <26000000>;
67 si5332_5: si5332_5 { /* u17 */
68 compatible = "fixed-clock";
70 clock-frequency = <27000000>;
74 /* DP/USB 3.0 and SATA */
77 /* pcie, usb3, sata */
78 clocks = <&si5332_5>, <&si5332_4>, <&si5332_0>;
79 clock-names = "ref0", "ref1", "ref2";
84 /* SATA OOB timing settings */
85 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
86 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
87 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
88 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
89 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
90 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
91 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
92 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
93 phy-names = "sata-phy";
94 phys = <&psgtr 3 PHY_TYPE_SATA 1 2>;
99 phy-names = "dp-phy0", "dp-phy1";
100 phys = <&psgtr 1 PHY_TYPE_DP 0 0>, <&psgtr 0 PHY_TYPE_DP 1 0>;
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 /* missing usb5744 - u43 */
119 snps,usb3_lpm_capable;
120 maximum-speed = "super-speed";
123 &sdhci1 { /* on CC with tuned parameters */
125 pinctrl-names = "default";
126 pinctrl-0 = <&pinctrl_sdhci1_default>;
128 * SD 3.0 requires level shifter and this property
129 * should be removed if the board has level shifter and
130 * need to work in UHS mode
137 &gem3 { /* required by spec */
139 pinctrl-names = "default";
140 pinctrl-0 = <&pinctrl_gem3_default>;
141 phy-handle = <&phy0>;
142 phy-mode = "rgmii-id";
145 #address-cells = <1>;
147 reset-gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
148 reset-delay-us = <2>;
150 phy0: ethernet-phy@1 {
153 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
154 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
155 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
156 ti,dp83867-rxctrl-strap-quirk;
161 &pinctrl0 { /* required by spec */
164 pinctrl_uart1_default: uart1-default {
166 groups = "uart1_9_grp";
167 slew-rate = <SLEW_RATE_SLOW>;
168 power-source = <IO_STANDARD_LVCMOS18>;
169 drive-strength = <12>;
183 groups = "uart1_9_grp";
188 pinctrl_i2c1_default: i2c1-default {
190 groups = "i2c1_6_grp";
192 slew-rate = <SLEW_RATE_SLOW>;
193 power-source = <IO_STANDARD_LVCMOS18>;
197 groups = "i2c1_6_grp";
202 pinctrl_i2c1_gpio: i2c1-gpio {
204 groups = "gpio0_24_grp", "gpio0_25_grp";
205 slew-rate = <SLEW_RATE_SLOW>;
206 power-source = <IO_STANDARD_LVCMOS18>;
210 groups = "gpio0_24_grp", "gpio0_25_grp";
215 pinctrl_gem3_default: gem3-default {
217 groups = "ethernet3_0_grp";
218 slew-rate = <SLEW_RATE_SLOW>;
219 power-source = <IO_STANDARD_LVCMOS18>;
223 pins = "MIO70", "MIO72", "MIO74";
229 pins = "MIO71", "MIO73", "MIO75";
235 pins = "MIO64", "MIO65", "MIO66",
236 "MIO67", "MIO68", "MIO69";
242 groups = "mdio3_0_grp";
243 slew-rate = <SLEW_RATE_SLOW>;
244 power-source = <IO_STANDARD_LVCMOS18>;
250 groups = "mdio3_0_grp";
254 function = "ethernet3";
255 groups = "ethernet3_0_grp";
259 pinctrl_usb0_default: usb0-default {
261 groups = "usb0_0_grp";
262 slew-rate = <SLEW_RATE_SLOW>;
263 power-source = <IO_STANDARD_LVCMOS18>;
267 pins = "MIO52", "MIO53", "MIO55";
272 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
273 "MIO60", "MIO61", "MIO62", "MIO63";
278 groups = "usb0_0_grp";
283 pinctrl_sdhci1_default: sdhci1-default {
285 groups = "sdio1_0_grp";
286 slew-rate = <SLEW_RATE_SLOW>;
287 power-source = <IO_STANDARD_LVCMOS18>;
292 groups = "sdio1_cd_0_grp";
295 slew-rate = <SLEW_RATE_SLOW>;
296 power-source = <IO_STANDARD_LVCMOS18>;
300 groups = "sdio1_cd_0_grp";
301 function = "sdio1_cd";
305 groups = "sdio1_0_grp";
313 pinctrl-names = "default";
314 pinctrl-0 = <&pinctrl_uart1_default>;