Debian Codegraph @

scripts/dtc/include-prefixes/arm64/ti/k3-j721e-sk.dts

raw
1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
2 /*
3 * Copyright (C) 2021-2024 Texas Instruments Incorporated - https://www.ti.com/
4 *
5 * J721E SK URL: https://www.ti.com/tool/SK-TDA4VM
6 */
7
8 /dts-v1/;
9
10 #include "k3-j721e.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/net/ti-dp83867.h>
14
15 / {
16 compatible = "ti,j721e-sk", "ti,j721e";
17 model = "Texas Instruments J721E SK";
18
19 aliases {
20 serial0 = &wkup_uart0;
21 serial1 = &mcu_uart0;
22 serial2 = &main_uart0;
23 serial3 = &main_uart1;
24 ethernet0 = &cpsw_port1;
25 mmc1 = &main_sdhci1;
26 };
27
28 chosen {
29 stdout-path = "serial2:115200n8";
30 };
31
32 memory@80000000 {
33 device_type = "memory";
34 bootph-all;
35 /* 4G RAM */
36 reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
37 <0x00000008 0x80000000 0x00000000 0x80000000>;
38 };
39
40 reserved_memory: reserved-memory {
41 #address-cells = <2>;
42 #size-cells = <2>;
43 ranges;
44
45 secure_ddr: optee@9e800000 {
46 reg = <0x00 0x9e800000 0x00 0x01800000>;
47 alignment = <0x1000>;
48 no-map;
49 };
50
51 mcu_r5fss0_core0_dma_memory_region: memory@a0000000 {
52 compatible = "shared-dma-pool";
53 reg = <0x00 0xa0000000 0x00 0x100000>;
54 no-map;
55 };
56
57 mcu_r5fss0_core0_memory_region: memory@a0100000 {
58 compatible = "shared-dma-pool";
59 reg = <0x00 0xa0100000 0x00 0xf00000>;
60 no-map;
61 };
62 };
63
64 vusb_main: fixedregulator-vusb-main5v0 {
65 /* USB MAIN INPUT 5V DC */
66 compatible = "regulator-fixed";
67 regulator-name = "vusb-main5v0";
68 regulator-min-microvolt = <5000000>;
69 regulator-max-microvolt = <5000000>;
70 regulator-always-on;
71 regulator-boot-on;
72 };
73
74 vsys_3v3: fixedregulator-vsys3v3 {
75 /* Output of LM5141 */
76 compatible = "regulator-fixed";
77 regulator-name = "vsys_3v3";
78 regulator-min-microvolt = <3300000>;
79 regulator-max-microvolt = <3300000>;
80 vin-supply = <&vusb_main>;
81 regulator-always-on;
82 regulator-boot-on;
83 };
84
85 vsys_5v0: fixedregulator-vsys5v0 {
86 /* Output of LM61460 */
87 compatible = "regulator-fixed";
88 regulator-name = "vsys_5v0";
89 regulator-min-microvolt = <5000000>;
90 regulator-max-microvolt = <5000000>;
91 vin-supply = <&vusb_main>;
92 regulator-always-on;
93 regulator-boot-on;
94 };
95
96 vdd_mmc1: fixedregulator-sd {
97 compatible = "regulator-fixed";
98 pinctrl-names = "default";
99 pinctrl-0 = <&vdd_mmc1_en_pins_default>;
100 regulator-name = "vdd_mmc1";
101 regulator-min-microvolt = <3300000>;
102 regulator-max-microvolt = <3300000>;
103 regulator-boot-on;
104 enable-active-high;
105 vin-supply = <&vsys_3v3>;
106 gpio = <&wkup_gpio0 8 GPIO_ACTIVE_HIGH>;
107 };
108
109 vdd_sd_dv_alt: gpio-regulator-tps659411 {
110 compatible = "regulator-gpio";
111 pinctrl-names = "default";
112 pinctrl-0 = <&vdd_sd_dv_alt_pins_default>;
113 regulator-name = "tps659411";
114 regulator-min-microvolt = <1800000>;
115 regulator-max-microvolt = <3300000>;
116 regulator-boot-on;
117 vin-supply = <&vsys_3v3>;
118 gpios = <&wkup_gpio0 9 GPIO_ACTIVE_HIGH>;
119 states = <1800000 0x0>,
120 <3300000 0x1>;
121 };
122
123 vdd_sd_dv: gpio-regulator-TLV71033 {
124 compatible = "regulator-gpio";
125 pinctrl-names = "default";
126 pinctrl-0 = <&vdd_sd_dv_pins_default>;
127 regulator-name = "tlv71033";
128 regulator-min-microvolt = <1800000>;
129 regulator-max-microvolt = <3300000>;
130 regulator-boot-on;
131 vin-supply = <&vsys_5v0>;
132 gpios = <&main_gpio0 118 GPIO_ACTIVE_HIGH>;
133 states = <1800000 0x0>,
134 <3300000 0x1>;
135 };
136
137 transceiver1: can-phy1 {
138 compatible = "ti,tcan1042";
139 #phy-cells = <0>;
140 max-bitrate = <5000000>;
141 pinctrl-names = "default";
142 pinctrl-0 = <&mcu_mcan0_gpio_pins_default>;
143 standby-gpios = <&wkup_gpio0 3 GPIO_ACTIVE_HIGH>;
144 };
145
146 transceiver2: can-phy2 {
147 compatible = "ti,tcan1042";
148 #phy-cells = <0>;
149 max-bitrate = <5000000>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&main_mcan0_gpio_pins_default>;
152 standby-gpios = <&main_gpio0 65 GPIO_ACTIVE_HIGH>;
153 };
154
155 transceiver3: can-phy3 {
156 compatible = "ti,tcan1042";
157 #phy-cells = <0>;
158 max-bitrate = <5000000>;
159 pinctrl-names = "default";
160 pinctrl-0 = <&main_mcan5_gpio_pins_default>;
161 standby-gpios = <&main_gpio0 66 GPIO_ACTIVE_HIGH>;
162 };
163
164 transceiver4: can-phy4 {
165 compatible = "ti,tcan1042";
166 #phy-cells = <0>;
167 max-bitrate = <5000000>;
168 pinctrl-names = "default";
169 pinctrl-0 = <&main_mcan9_gpio_pins_default>;
170 standby-gpios = <&main_gpio0 67 GPIO_ACTIVE_HIGH>;
171 };
172
173 dp_pwr_3v3: fixedregulator-dp-prw {
174 compatible = "regulator-fixed";
175 regulator-name = "dp-pwr";
176 regulator-min-microvolt = <3300000>;
177 regulator-max-microvolt = <3300000>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&dp_pwr_en_pins_default>;
180 gpio = <&main_gpio0 111 0>; /* DP0_3V3 _EN */
181 enable-active-high;
182 };
183
184 dp0: connector {
185 compatible = "dp-connector";
186 label = "DP0";
187 type = "full-size";
188 dp-pwr-supply = <&dp_pwr_3v3>;
189
190 port {
191 dp_connector_in: endpoint {
192 remote-endpoint = <&dp0_out>;
193 };
194 };
195 };
196
197 hdmi-connector {
198 compatible = "hdmi-connector";
199 label = "hdmi";
200 type = "a";
201
202 pinctrl-names = "default";
203 pinctrl-0 = <&hdmi_hpd_pins_default>;
204
205 ddc-i2c-bus = <&main_i2c1>;
206
207 /* HDMI_HPD */
208 hpd-gpios = <&main_gpio1 0 GPIO_ACTIVE_HIGH>;
209
210 port {
211 hdmi_connector_in: endpoint {
212 remote-endpoint = <&tfp410_out>;
213 };
214 };
215 };
216
217 dvi-bridge {
218 compatible = "ti,tfp410";
219
220 pinctrl-names = "default";
221 pinctrl-0 = <&hdmi_pdn_pins_default>;
222
223 powerdown-gpios = <&main_gpio0 127 GPIO_ACTIVE_LOW>;
224 ti,deskew = <0>;
225
226 ports {
227 #address-cells = <1>;
228 #size-cells = <0>;
229
230 port@0 {
231 reg = <0>;
232
233 tfp410_in: endpoint {
234 remote-endpoint = <&dpi1_out>;
235 pclk-sample = <1>;
236 };
237 };
238
239 port@1 {
240 reg = <1>;
241
242 tfp410_out: endpoint {
243 remote-endpoint =
244 <&hdmi_connector_in>;
245 };
246 };
247 };
248 };
249
250 csi_mux: mux-controller {
251 compatible = "gpio-mux";
252 #mux-state-cells = <1>;
253 mux-gpios = <&main_gpio0 88 GPIO_ACTIVE_HIGH>;
254 idle-state = <0>;
255 pinctrl-names = "default";
256 pinctrl-0 = <&main_csi_mux_sel_pins_default>;
257 };
258 };
259
260 &main_pmx0 {
261 main_mmc1_pins_default: main-mmc1-default-pins {
262 pinctrl-single,pins = <
263 J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */
264 J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */
265 J721E_IOPAD(0x2ac, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */
266 J721E_IOPAD(0x24c, PIN_INPUT, 0) /* (R24) MMC1_DAT0 */
267 J721E_IOPAD(0x248, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */
268 J721E_IOPAD(0x244, PIN_INPUT, 0) /* (R25) MMC1_DAT2 */
269 J721E_IOPAD(0x240, PIN_INPUT, 0) /* (R26) MMC1_DAT3 */
270 J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */
271 >;
272 bootph-all;
273 };
274
275 main_uart0_pins_default: main-uart0-default-pins {
276 pinctrl-single,pins = <
277 J721E_IOPAD(0x1f0, PIN_INPUT, 0) /* (AC2) UART0_CTSn */
278 J721E_IOPAD(0x1f4, PIN_OUTPUT, 0) /* (AB1) UART0_RTSn */
279 J721E_IOPAD(0x1e8, PIN_INPUT, 0) /* (AB2) UART0_RXD */
280 J721E_IOPAD(0x1ec, PIN_OUTPUT, 0) /* (AB3) UART0_TXD */
281 >;
282 bootph-all;
283 };
284
285 main_uart1_pins_default: main-uart1-default-pins {
286 pinctrl-single,pins = <
287 J721E_IOPAD(0x1f8, PIN_INPUT, 0) /* (AA4) UART1_RXD */
288 J721E_IOPAD(0x1fc, PIN_OUTPUT, 0) /* (AB4) UART1_TXD */
289 >;
290 };
291
292 main_i2c0_pins_default: main-i2c0-default-pins {
293 pinctrl-single,pins = <
294 J721E_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (AC5) I2C0_SCL */
295 J721E_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (AA5) I2C0_SDA */
296 >;
297 };
298
299 main_i2c1_pins_default: main-i2c1-default-pins {
300 pinctrl-single,pins = <
301 J721E_IOPAD(0x228, PIN_INPUT_PULLUP, 0) /* (Y6) I2C1_SCL */
302 J721E_IOPAD(0x22c, PIN_INPUT_PULLUP, 0) /* (AA6) I2C1_SDA */
303 >;
304 };
305
306 main_i2c3_pins_default: main-i2c3-default-pins {
307 pinctrl-single,pins = <
308 J721E_IOPAD(0x270, PIN_INPUT_PULLUP, 4) /* (T26) MMC2_CLK.I2C3_SCL */
309 J721E_IOPAD(0x274, PIN_INPUT_PULLUP, 4) /* (T25) MMC2_CMD.I2C3_SDA */
310 >;
311 };
312
313 main_usbss0_pins_default: main-usbss0-default-pins {
314 pinctrl-single,pins = <
315 J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */
316 J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */
317 >;
318 bootph-all;
319 };
320
321 main_usbss1_pins_default: main-usbss1-default-pins {
322 pinctrl-single,pins = <
323 J721E_IOPAD(0x214, PIN_OUTPUT, 4) /* (V4) MCAN1_TX.USB1_DRVVBUS */
324 >;
325 bootph-all;
326 };
327
328 main_csi_mux_sel_pins_default: main-csi-mux-sel-default-pins {
329 pinctrl-single,pins = <
330 J721E_IOPAD(0x164, PIN_OUTPUT, 7) /* (V29) RGMII5_TD2 */
331 >;
332 };
333
334 main_mcan0_pins_default: main-mcan0-default-pins {
335 pinctrl-single,pins = <
336 J721E_IOPAD(0x208, PIN_INPUT, 0) /* (W5) MCAN0_RX */
337 J721E_IOPAD(0x20c, PIN_OUTPUT, 0) /* (W6) MCAN0_TX */
338 >;
339 };
340
341 main_mcan0_gpio_pins_default: main-mcan0-gpio-default-pins {
342 pinctrl-single,pins = <
343 J721E_IOPAD(0x108, PIN_INPUT, 7) /* (AD27) PRG0_PRU1_GPO2.GPIO0_65 */
344 >;
345 };
346
347 main_mcan5_pins_default: main-mcan5-default-pins {
348 pinctrl-single,pins = <
349 J721E_IOPAD(0x050, PIN_INPUT, 6) /* (AE21) PRG1_PRU0_GPO18.MCAN5_RX */
350 J721E_IOPAD(0x04c, PIN_OUTPUT, 6) /* (AJ21) PRG1_PRU0_GPO17.MCAN5_TX */
351 >;
352 };
353
354 main_mcan5_gpio_pins_default: main-mcan5-gpio-default-pins {
355 pinctrl-single,pins = <
356 J721E_IOPAD(0x10c, PIN_INPUT, 7) /* (AC25) PRG0_PRU1_GPO3.GPIO0_66 */
357 >;
358 };
359
360 main_mcan9_pins_default: main-mcan9-default-pins {
361 pinctrl-single,pins = <
362 J721E_IOPAD(0x0d0, PIN_INPUT, 6) /* (AC27) PRG0_PRU0_GPO8.MCAN9_RX */
363 J721E_IOPAD(0x0cc, PIN_OUTPUT, 6) /* (AC28) PRG0_PRU0_GPO7.MCAN9_TX */
364 >;
365 };
366
367 main_mcan9_gpio_pins_default: main-mcan9-gpio-default-pins {
368 pinctrl-single,pins = <
369 J721E_IOPAD(0x110, PIN_INPUT, 7) /* (AD29) PRG0_PRU1_GPO4.GPIO0_67 */
370 >;
371 };
372
373 dp0_pins_default: dp0-default-pins {
374 pinctrl-single,pins = <
375 J721E_IOPAD(0x1c4, PIN_INPUT, 5) /* SPI0_CS1.DP0_HPD */
376 >;
377 };
378
379 dp_pwr_en_pins_default: dp-pwr-en-default-pins {
380 pinctrl-single,pins = <
381 J721E_IOPAD(0x1c0, PIN_INPUT, 7) /* (AA2) SPI0_CS0.GPIO0_111 */
382 >;
383 };
384
385 dss_vout0_pins_default: dss-vout0-default-pins {
386 pinctrl-single,pins = <
387 J721E_IOPAD(0x58, PIN_OUTPUT, 10) /* (AE22) PRG1_PRU1_GPO0.VOUT0_DATA0 */
388 J721E_IOPAD(0x5c, PIN_OUTPUT, 10) /* (AG23) PRG1_PRU1_GPO1.VOUT0_DATA1 */
389 J721E_IOPAD(0x60, PIN_OUTPUT, 10) /* (AF23) PRG1_PRU1_GPO2.VOUT0_DATA2 */
390 J721E_IOPAD(0x64, PIN_OUTPUT, 10) /* (AD23) PRG1_PRU1_GPO3.VOUT0_DATA3 */
391 J721E_IOPAD(0x68, PIN_OUTPUT, 10) /* (AH24) PRG1_PRU1_GPO4.VOUT0_DATA4 */
392 J721E_IOPAD(0x6c, PIN_OUTPUT, 10) /* (AG21) PRG1_PRU1_GPO5.VOUT0_DATA5 */
393 J721E_IOPAD(0x70, PIN_OUTPUT, 10) /* (AE23) PRG1_PRU1_GPO6.VOUT0_DATA6 */
394 J721E_IOPAD(0x74, PIN_OUTPUT, 10) /* (AC21) PRG1_PRU1_GPO7.VOUT0_DATA7 */
395 J721E_IOPAD(0x78, PIN_OUTPUT, 10) /* (Y23) PRG1_PRU1_GPO8.VOUT0_DATA8 */
396 J721E_IOPAD(0x7c, PIN_OUTPUT, 10) /* (AF21) PRG1_PRU1_GPO9.VOUT0_DATA9 */
397 J721E_IOPAD(0x80, PIN_OUTPUT, 10) /* (AB23) PRG1_PRU1_GPO10.VOUT0_DATA10 */
398 J721E_IOPAD(0x84, PIN_OUTPUT, 10) /* (AJ25) PRG1_PRU1_GPO11.VOUT0_DATA11 */
399 J721E_IOPAD(0x88, PIN_OUTPUT, 10) /* (AH25) PRG1_PRU1_GPO12.VOUT0_DATA12 */
400 J721E_IOPAD(0x8c, PIN_OUTPUT, 10) /* (AG25) PRG1_PRU1_GPO13.VOUT0_DATA13 */
401 J721E_IOPAD(0x90, PIN_OUTPUT, 10) /* (AH26) PRG1_PRU1_GPO14.VOUT0_DATA14 */
402 J721E_IOPAD(0x94, PIN_OUTPUT, 10) /* (AJ27) PRG1_PRU1_GPO15.VOUT0_DATA15 */
403 J721E_IOPAD(0x30, PIN_OUTPUT, 10) /* (AF24) PRG1_PRU0_GPO11.VOUT0_DATA16 */
404 J721E_IOPAD(0x34, PIN_OUTPUT, 10) /* (AJ24) PRG1_PRU0_GPO12.VOUT0_DATA17 */
405 J721E_IOPAD(0x38, PIN_OUTPUT, 10) /* (AG24) PRG1_PRU0_GPO13.VOUT0_DATA18 */
406 J721E_IOPAD(0x3c, PIN_OUTPUT, 10) /* (AD24) PRG1_PRU0_GPO14.VOUT0_DATA19 */
407 J721E_IOPAD(0x40, PIN_OUTPUT, 10) /* (AC24) PRG1_PRU0_GPO15.VOUT0_DATA20 */
408 J721E_IOPAD(0x44, PIN_OUTPUT, 10) /* (AE24) PRG1_PRU0_GPO16.VOUT0_DATA21 */
409 J721E_IOPAD(0x24, PIN_OUTPUT, 10) /* (AJ20) PRG1_PRU0_GPO8.VOUT0_DATA22 */
410 J721E_IOPAD(0x28, PIN_OUTPUT, 10) /* (AG20) PRG1_PRU0_GPO9.VOUT0_DATA23 */
411 J721E_IOPAD(0x9c, PIN_OUTPUT, 10) /* (AC22) PRG1_PRU1_GPO17.VOUT0_DE */
412 J721E_IOPAD(0x98, PIN_OUTPUT, 10) /* (AJ26) PRG1_PRU1_GPO16.VOUT0_HSYNC */
413 J721E_IOPAD(0xa4, PIN_OUTPUT, 10) /* (AH22) PRG1_PRU1_GPO19.VOUT0_PCLK */
414 J721E_IOPAD(0xa0, PIN_OUTPUT, 10) /* (AJ22) PRG1_PRU1_GPO18.VOUT0_VSYNC */
415 >;
416 };
417
418 hdmi_hpd_pins_default: hdmi-hpd-default-pins {
419 pinctrl-single,pins = <
420 J721E_IOPAD(0x204, PIN_INPUT, 7) /* (AD5) UART1_RTSn.GPIO1_0 */
421 >;
422 };
423
424 hdmi_pdn_pins_default: hdmi-pdn-default-pins {
425 pinctrl-single,pins = <
426 J721E_IOPAD(0x200, PIN_INPUT, 7) /* (AC4) UART1_CTSn.GPIO0_127 */
427 >;
428 };
429
430 /* Reset for M.2 E Key slot on PCIe0 */
431 ekey_reset_pins_default: ekey-reset-pns-default-pins {
432 pinctrl-single,pins = <
433 J721E_IOPAD(0x124, PIN_INPUT, 7) /* (Y24) PRG0_PRU1_GPO9.GPIO0_72 */
434 >;
435 };
436
437 main_i2c5_pins_default: main-i2c5-default-pins {
438 pinctrl-single,pins = <
439 J721E_IOPAD(0x150, PIN_INPUT_PULLUP, 2) /* (Y26) PRG0_MDIO0_MDIO.I2C5_SCL */
440 J721E_IOPAD(0x154, PIN_INPUT_PULLUP, 2) /* (AA27) PRG0_MDIO0_MDC.I2C5_SDA */
441 >;
442 };
443
444 rpi_header_gpio0_pins_default: rpi-header-gpio0-default-pins {
445 pinctrl-single,pins = <
446 J721E_IOPAD(0x01c, PIN_INPUT, 7) /* (AD22) PRG1_PRU0_GPO6.GPIO0_7 */
447 J721E_IOPAD(0x120, PIN_INPUT, 7) /* (AA28) PRG0_PRU1_GPO8.GPIO0_71 */
448 J721E_IOPAD(0x14c, PIN_INPUT, 7) /* (AA29) PRG0_PRU1_GPO19.GPIO0_82 */
449 J721E_IOPAD(0x02c, PIN_INPUT, 7) /* (AD21) PRG1_PRU0_GPO10.GPIO0_11 */
450 J721E_IOPAD(0x198, PIN_INPUT, 7) /* (V25) RGMII6_TD1.GPIO0_101 */
451 J721E_IOPAD(0x1b0, PIN_INPUT, 7) /* (W24) RGMII6_RD1.GPIO0_107 */
452 J721E_IOPAD(0x1a0, PIN_INPUT, 7) /* (W29) RGMII6_TXC.GPIO0_103 */
453 J721E_IOPAD(0x008, PIN_INPUT, 7) /* (AG22) PRG1_PRU0_GPO1.GPIO0_2 */
454 J721E_IOPAD(0x1d0, PIN_INPUT, 7) /* (AA3) SPI0_D1.GPIO0_115 */
455 J721E_IOPAD(0x11c, PIN_INPUT, 7) /* (AA24) PRG0_PRU1_GPO7.GPIO0_70 */
456 J721E_IOPAD(0x148, PIN_INPUT, 7) /* (AA26) PRG0_PRU1_GPO18.GPIO0_81 */
457 J721E_IOPAD(0x004, PIN_INPUT, 7) /* (AC23) PRG1_PRU0_GPO0.GPIO0_1 */
458 J721E_IOPAD(0x014, PIN_INPUT, 7) /* (AH23) PRG1_PRU0_GPO4.GPIO0_5 */
459 J721E_IOPAD(0x020, PIN_INPUT, 7) /* (AE20) PRG1_PRU0_GPO7.GPIO0_8 */
460 J721E_IOPAD(0x19c, PIN_INPUT, 7) /* (W27) RGMII6_TD0.GPIO0_102 */
461 J721E_IOPAD(0x1b4, PIN_INPUT, 7) /* (W25) RGMII6_RD0.GPIO0_108 */
462 J721E_IOPAD(0x188, PIN_INPUT, 7) /* (Y28) RGMII6_TX_CTL.GPIO0_97 */
463 J721E_IOPAD(0x00c, PIN_INPUT, 7) /* (AF22) PRG1_PRU0_GPO2.GPIO0_3 */
464 J721E_IOPAD(0x010, PIN_INPUT, 7) /* (AJ23) PRG1_PRU0_GPO3.GPIO0_4 */
465 J721E_IOPAD(0x178, PIN_INPUT, 7) /* (U27) RGMII5_RD3.GPIO0_93 */
466 J721E_IOPAD(0x17c, PIN_INPUT, 7) /* (U24) RGMII5_RD2.GPIO0_94 */
467 J721E_IOPAD(0x190, PIN_INPUT, 7) /* (W23) RGMII6_TD3.GPIO0_99 */
468 J721E_IOPAD(0x18c, PIN_INPUT, 7) /* (V23) RGMII6_RX_CTL.GPIO0_98 */
469 >;
470 };
471
472 rpi_header_gpio1_pins_default: rpi-header-gpio1-default-pins {
473 pinctrl-single,pins = <
474 J721E_IOPAD(0x234, PIN_INPUT, 7) /* (U3) EXT_REFCLK1.GPIO1_12 */
475 >;
476 };
477
478 vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
479 pinctrl-single,pins = <
480 J721E_IOPAD(0x1dc, PIN_OUTPUT, 7) /* (Y1) SPI1_CLK.GPIO0_118 */
481 >;
482 };
483 };
484
485 &wkup_pmx0 {
486 pmic_irq_pins_default: pmic-irq-default-pins {
487 pinctrl-single,pins = <
488 J721E_WKUP_IOPAD(0x0cc, PIN_INPUT, 7) /* (G28) WKUP_GPIO0_7 */
489 >;
490 };
491
492 mcu_cpsw_pins_default: mcu-cpsw-default-pins {
493 pinctrl-single,pins = <
494 J721E_WKUP_IOPAD(0x84, PIN_INPUT, 0) /* (B24) MCU_RGMII1_RD0 */
495 J721E_WKUP_IOPAD(0x80, PIN_INPUT, 0) /* (A24) MCU_RGMII1_RD1 */
496 J721E_WKUP_IOPAD(0x7c, PIN_INPUT, 0) /* (D24) MCU_RGMII1_RD2 */
497 J721E_WKUP_IOPAD(0x78, PIN_INPUT, 0) /* (A25) MCU_RGMII1_RD3 */
498 J721E_WKUP_IOPAD(0x74, PIN_INPUT, 0) /* (C24) MCU_RGMII1_RXC */
499 J721E_WKUP_IOPAD(0x5c, PIN_INPUT, 0) /* (C25) MCU_RGMII1_RX_CTL */
500 J721E_WKUP_IOPAD(0x6c, PIN_OUTPUT, 0) /* (B25) MCU_RGMII1_TD0 */
501 J721E_WKUP_IOPAD(0x68, PIN_OUTPUT, 0) /* (A26) MCU_RGMII1_TD1 */
502 J721E_WKUP_IOPAD(0x64, PIN_OUTPUT, 0) /* (A27) MCU_RGMII1_TD2 */
503 J721E_WKUP_IOPAD(0x60, PIN_OUTPUT, 0) /* (A28) MCU_RGMII1_TD3 */
504 J721E_WKUP_IOPAD(0x70, PIN_OUTPUT, 0) /* (B26) MCU_RGMII1_TXC */
505 J721E_WKUP_IOPAD(0x58, PIN_OUTPUT, 0) /* (B27) MCU_RGMII1_TX_CTL */
506 >;
507 };
508
509 mcu_mdio_pins_default: mcu-mdio1-default-pins {
510 pinctrl-single,pins = <
511 J721E_WKUP_IOPAD(0x8c, PIN_OUTPUT, 0) /* (F23) MCU_MDIO0_MDC */
512 J721E_WKUP_IOPAD(0x88, PIN_INPUT, 0) /* (E23) MCU_MDIO0_MDIO */
513 >;
514 };
515
516 mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins {
517 pinctrl-single,pins = <
518 J721E_WKUP_IOPAD(0x0, PIN_OUTPUT, 0) /* (E20) MCU_OSPI0_CLK */
519 J721E_WKUP_IOPAD(0x2c, PIN_OUTPUT, 0) /* (F19) MCU_OSPI0_CSn0 */
520 J721E_WKUP_IOPAD(0xc, PIN_INPUT, 0) /* (D20) MCU_OSPI0_D0 */
521 J721E_WKUP_IOPAD(0x10, PIN_INPUT, 0) /* (G19) MCU_OSPI0_D1 */
522 J721E_WKUP_IOPAD(0x14, PIN_INPUT, 0) /* (G20) MCU_OSPI0_D2 */
523 J721E_WKUP_IOPAD(0x18, PIN_INPUT, 0) /* (F20) MCU_OSPI0_D3 */
524 J721E_WKUP_IOPAD(0x1c, PIN_INPUT, 0) /* (F21) MCU_OSPI0_D4 */
525 J721E_WKUP_IOPAD(0x20, PIN_INPUT, 0) /* (E21) MCU_OSPI0_D5 */
526 J721E_WKUP_IOPAD(0x24, PIN_INPUT, 0) /* (B22) MCU_OSPI0_D6 */
527 J721E_WKUP_IOPAD(0x28, PIN_INPUT, 0) /* (G21) MCU_OSPI0_D7 */
528 J721E_WKUP_IOPAD(0x8, PIN_INPUT, 0) /* (D21) MCU_OSPI0_DQS */
529 >;
530 bootph-all;
531 };
532
533 vdd_mmc1_en_pins_default: vdd-mmc1-en-default-pins {
534 pinctrl-single,pins = <
535 J721E_WKUP_IOPAD(0xd0, PIN_OUTPUT, 7) /* (G27) WKUP_GPIO0_8 */
536 >;
537 };
538
539 vdd_sd_dv_alt_pins_default: vdd-sd-dv-alt-default-pins {
540 pinctrl-single,pins = <
541 J721E_WKUP_IOPAD(0xd4, PIN_OUTPUT, 7) /* (G26) WKUP_GPIO0_9 */
542 >;
543 };
544
545 wkup_uart0_pins_default: wkup-uart0-default-pins {
546 pinctrl-single,pins = <
547 J721E_WKUP_IOPAD(0xa0, PIN_INPUT, 0) /* (J29) WKUP_UART0_RXD */
548 J721E_WKUP_IOPAD(0xa4, PIN_OUTPUT, 0) /* (J28) WKUP_UART0_TXD */
549 >;
550 };
551
552 mcu_uart0_pins_default: mcu-uart0-default-pins {
553 pinctrl-single,pins = <
554 J721E_WKUP_IOPAD(0xf0, PIN_INPUT, 2) /* (D26) MCU_I3C0_SCL.MCU_UART0_CTSn */
555 J721E_WKUP_IOPAD(0xf4, PIN_OUTPUT, 2)/* (D25) MCU_I3C0_SDA.MCU_UART0_RTSn */
556 J721E_WKUP_IOPAD(0xe4, PIN_INPUT, 0) /* (H28) WKUP_GPIO0_13.MCU_UART0_RXD */
557 J721E_WKUP_IOPAD(0xe0, PIN_OUTPUT, 0)/* (G29) WKUP_GPIO0_12.MCU_UART0_TXD */
558 >;
559 bootph-all;
560 };
561
562 wkup_i2c0_pins_default: wkup-i2c0-default-pins {
563 pinctrl-single,pins = <
564 J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */
565 J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */
566 >;
567 bootph-all;
568 };
569
570 mcu_mcan0_pins_default: mcu-mcan0-default-pins {
571 pinctrl-single,pins = <
572 J721E_WKUP_IOPAD(0x0ac, PIN_INPUT, 0) /* (C29) MCU_MCAN0_RX */
573 J721E_WKUP_IOPAD(0x0a8, PIN_OUTPUT, 0) /* (D29) MCU_MCAN0_TX */
574 >;
575 };
576
577 mcu_mcan0_gpio_pins_default: mcu-mcan0-gpio-default-pins {
578 pinctrl-single,pins = <
579 J721E_WKUP_IOPAD(0x0bc, PIN_INPUT, 7) /* (F27) WKUP_GPIO0_3 */
580 >;
581 };
582
583 /* Reset for M.2 M Key slot on PCIe1 */
584 mkey_reset_pins_default: mkey-reset-pns-default-pins {
585 pinctrl-single,pins = <
586 J721E_WKUP_IOPAD(0xdc, PIN_INPUT, 7) /* (H27) WKUP_GPIO0_11 */
587 >;
588 };
589 };
590
591 &wkup_uart0 {
592 /* Wakeup UART is used by System firmware */
593 status = "reserved";
594 pinctrl-names = "default";
595 pinctrl-0 = <&wkup_uart0_pins_default>;
596 bootph-all;
597 };
598
599 &wkup_i2c0 {
600 status = "okay";
601 pinctrl-names = "default";
602 pinctrl-0 = <&wkup_i2c0_pins_default>;
603 clock-frequency = <400000>;
604
605 eeprom@51 {
606 /* AT24C512C-MAHM-T */
607 compatible = "atmel,24c512";
608 reg = <0x51>;
609 };
610
611 tps659413: pmic@48 {
612 compatible = "ti,tps6594-q1";
613 reg = <0x48>;
614 system-power-controller;
615 pinctrl-names = "default";
616 pinctrl-0 = <&pmic_irq_pins_default>;
617 interrupt-parent = <&wkup_gpio0>;
618 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
619 gpio-controller;
620 #gpio-cells = <2>;
621 ti,primary-pmic;
622 buck123-supply = <&vsys_3v3>;
623 buck4-supply = <&vsys_3v3>;
624 buck5-supply = <&vsys_3v3>;
625 ldo1-supply = <&vsys_3v3>;
626 ldo2-supply = <&vsys_3v3>;
627 ldo3-supply = <&vsys_3v3>;
628 ldo4-supply = <&vsys_3v3>;
629
630 regulators {
631 bucka123: buck123 {
632 regulator-name = "vdd_cpu_avs";
633 regulator-min-microvolt = <600000>;
634 regulator-max-microvolt = <900000>;
635 regulator-boot-on;
636 regulator-always-on;
637 bootph-pre-ram;
638 };
639
640 bucka4: buck4 {
641 regulator-name = "vdd_mcu_0v85";
642 regulator-min-microvolt = <850000>;
643 regulator-max-microvolt = <850000>;
644 regulator-boot-on;
645 regulator-always-on;
646 };
647
648 bucka5: buck5 {
649 regulator-name = "vdd_phyio_1v8";
650 regulator-min-microvolt = <1800000>;
651 regulator-max-microvolt = <1800000>;
652 regulator-boot-on;
653 regulator-always-on;
654 };
655
656 ldoa1: ldo1 {
657 regulator-name = "vdd1_lpddr4_1v8";
658 regulator-min-microvolt = <1800000>;
659 regulator-max-microvolt = <1800000>;
660 regulator-boot-on;
661 regulator-always-on;
662 };
663
664 ldoa2: ldo2 {
665 regulator-name = "vdd_mcuio_1v8";
666 regulator-min-microvolt = <1800000>;
667 regulator-max-microvolt = <1800000>;
668 regulator-boot-on;
669 regulator-always-on;
670 };
671
672 ldoa3: ldo3 {
673 regulator-name = "vdda_dll_0v8";
674 regulator-min-microvolt = <800000>;
675 regulator-max-microvolt = <800000>;
676 regulator-boot-on;
677 regulator-always-on;
678 };
679
680 ldoa4: ldo4 {
681 regulator-name = "vda_mcu_1v8";
682 regulator-min-microvolt = <1800000>;
683 regulator-max-microvolt = <1800000>;
684 regulator-boot-on;
685 regulator-always-on;
686 };
687 };
688 };
689
690 tps659411: pmic@4c {
691 compatible = "ti,tps6594-q1";
692 reg = <0x4c>;
693 system-power-controller;
694 interrupt-parent = <&wkup_gpio0>;
695 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
696 gpio-controller;
697 #gpio-cells = <2>;
698 buck1234-supply = <&vsys_3v3>;
699 buck5-supply = <&vsys_3v3>;
700 ldo1-supply = <&vsys_3v3>;
701 ldo2-supply = <&vsys_3v3>;
702 ldo3-supply = <&vsys_3v3>;
703 ldo4-supply = <&vsys_3v3>;
704
705 regulators {
706 buckb1234: buck1234 {
707 regulator-name = "vdd_core_0v8";
708 regulator-min-microvolt = <800000>;
709 regulator-max-microvolt = <800000>;
710 regulator-boot-on;
711 regulator-always-on;
712 };
713
714 buckb5: buck5 {
715 regulator-name = "vdd_ram_0v85";
716 regulator-min-microvolt = <850000>;
717 regulator-max-microvolt = <850000>;
718 regulator-boot-on;
719 regulator-always-on;
720 };
721
722 ldob1: ldo1 {
723 regulator-name = "vdd_sd_dv";
724 regulator-min-microvolt = <1800000>;
725 regulator-max-microvolt = <3300000>;
726 regulator-boot-on;
727 regulator-always-on;
728 };
729
730 ldob2: ldo2 {
731 regulator-name = "vdd_usb_3v3";
732 regulator-min-microvolt = <3300000>;
733 regulator-max-microvolt = <3300000>;
734 regulator-boot-on;
735 regulator-always-on;
736 };
737
738 ldob3: ldo3 {
739 regulator-name = "vdd_io_1v8";
740 regulator-min-microvolt = <1800000>;
741 regulator-max-microvolt = <1800000>;
742 regulator-boot-on;
743 regulator-always-on;
744 };
745
746 ldob4: ldo4 {
747 regulator-name = "vda_pll_1v8";
748 regulator-min-microvolt = <1800000>;
749 regulator-max-microvolt = <1800000>;
750 regulator-boot-on;
751 regulator-always-on;
752 };
753 };
754 };
755 };
756
757 &mcu_uart0 {
758 status = "okay";
759 pinctrl-names = "default";
760 pinctrl-0 = <&mcu_uart0_pins_default>;
761 bootph-all;
762 };
763
764 &main_uart0 {
765 status = "okay";
766 pinctrl-names = "default";
767 pinctrl-0 = <&main_uart0_pins_default>;
768 /* Shared with ATF on this platform */
769 power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
770 bootph-all;
771 };
772
773 &main_uart1 {
774 status = "okay";
775 pinctrl-names = "default";
776 pinctrl-0 = <&main_uart1_pins_default>;
777 };
778
779 &main_sdhci1 {
780 /* SD Card */
781 status = "okay";
782 vmmc-supply = <&vdd_mmc1>;
783 vqmmc-supply = <&vdd_sd_dv_alt>;
784 pinctrl-names = "default";
785 pinctrl-0 = <&main_mmc1_pins_default>;
786 bootph-all;
787 ti,driver-strength-ohm = <50>;
788 disable-wp;
789 };
790
791 &ospi0 {
792 status = "okay";
793 pinctrl-names = "default";
794 pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
795
796 flash@0 {
797 compatible = "jedec,spi-nor";
798 reg = <0x0>;
799 spi-tx-bus-width = <8>;
800 spi-rx-bus-width = <8>;
801 spi-max-frequency = <25000000>;
802 cdns,tshsl-ns = <60>;
803 cdns,tsd2d-ns = <60>;
804 cdns,tchsh-ns = <60>;
805 cdns,tslch-ns = <60>;
806 cdns,read-delay = <4>;
807
808 partitions {
809 compatible = "fixed-partitions";
810 #address-cells = <1>;
811 #size-cells = <1>;
812
813 partition@0 {
814 label = "ospi.tiboot3";
815 reg = <0x0 0x80000>;
816 };
817
818 partition@80000 {
819 label = "ospi.tispl";
820 reg = <0x80000 0x200000>;
821 };
822
823 partition@280000 {
824 label = "ospi.u-boot";
825 reg = <0x280000 0x400000>;
826 };
827
828 partition@680000 {
829 label = "ospi.env";
830 reg = <0x680000 0x40000>;
831 };
832
833 partition@6c0000 {
834 label = "ospi.sysfw";
835 reg = <0x6c0000 0x100000>;
836 };
837
838 partition@7c0000 {
839 label = "ospi.env.backup";
840 reg = <0x7c0000 0x40000>;
841 };
842
843 partition@800000 {
844 label = "ospi.rootfs";
845 reg = <0x800000 0x37c0000>;
846 };
847
848 partition@3fc0000 {
849 label = "ospi.phypattern";
850 reg = <0x3fc0000 0x40000>;
851 bootph-all;
852 };
853 };
854 };
855 };
856
857 &main_i2c0 {
858 status = "okay";
859 pinctrl-names = "default";
860 pinctrl-0 = <&main_i2c0_pins_default>;
861 clock-frequency = <400000>;
862
863 i2c-mux@71 {
864 compatible = "nxp,pca9543";
865 #address-cells = <1>;
866 #size-cells = <0>;
867 reg = <0x71>;
868
869 /* PCIe1 M.2 M Key I2C */
870 i2c@0 {
871 #address-cells = <1>;
872 #size-cells = <0>;
873 reg = <0>;
874 };
875
876 /* PCIe0 M.2 E Key I2C */
877 i2c@1 {
878 #address-cells = <1>;
879 #size-cells = <0>;
880 reg = <1>;
881 };
882 };
883 };
884
885 &main_i2c1 {
886 status = "okay";
887 pinctrl-names = "default";
888 pinctrl-0 = <&main_i2c1_pins_default>;
889 /* i2c1 is used for DVI DDC, so we need to use 100kHz */
890 clock-frequency = <100000>;
891 };
892
893 &main_i2c3 {
894 status = "okay";
895 pinctrl-names = "default";
896 pinctrl-0 = <&main_i2c3_pins_default>;
897 clock-frequency = <400000>;
898
899 i2c-mux@70 {
900 compatible = "nxp,pca9543";
901 #address-cells = <1>;
902 #size-cells = <0>;
903 reg = <0x70>;
904
905 /* CSI0 I2C */
906 cam0_i2c: i2c@0 {
907 #address-cells = <1>;
908 #size-cells = <0>;
909 reg = <0>;
910 };
911
912 /* CSI1 I2C */
913 cam1_i2c: i2c@1 {
914 #address-cells = <1>;
915 #size-cells = <0>;
916 reg = <1>;
917 };
918 };
919 };
920
921 &main_i2c5 {
922 /* Brought out on RPi Header */
923 status = "okay";
924 pinctrl-names = "default";
925 pinctrl-0 = <&main_i2c5_pins_default>;
926 clock-frequency = <400000>;
927 };
928
929 &main_gpio0 {
930 status = "okay";
931 pinctrl-names = "default";
932 pinctrl-0 = <&rpi_header_gpio0_pins_default>;
933 };
934
935 &main_gpio1 {
936 status = "okay";
937 pinctrl-names = "default";
938 pinctrl-0 = <&rpi_header_gpio1_pins_default>;
939 };
940
941 &wkup_gpio0 {
942 status = "okay";
943 };
944
945 &usb_serdes_mux {
946 idle-states = <1>, <1>; /* USB0 to SERDES3, USB1 to SERDES2 */
947 bootph-all;
948 };
949
950 &serdes_ln_ctrl {
951 idle-states = <J721E_SERDES0_LANE0_PCIE0_LANE0>, <J721E_SERDES0_LANE1_IP4_UNUSED>,
952 <J721E_SERDES1_LANE0_PCIE1_LANE0>, <J721E_SERDES1_LANE1_PCIE1_LANE1>,
953 <J721E_SERDES2_LANE0_IP1_UNUSED>, <J721E_SERDES2_LANE1_USB3_1>,
954 <J721E_SERDES3_LANE0_USB3_0_SWAP>, <J721E_SERDES3_LANE1_USB3_0>,
955 <J721E_SERDES4_LANE0_EDP_LANE0>, <J721E_SERDES4_LANE1_EDP_LANE1>,
956 <J721E_SERDES4_LANE2_EDP_LANE2>, <J721E_SERDES4_LANE3_EDP_LANE3>;
957 bootph-all;
958 };
959
960 &serdes_wiz3 {
961 typec-dir-gpios = <&main_gpio1 3 GPIO_ACTIVE_HIGH>;
962 typec-dir-debounce-ms = <700>; /* TUSB321, tCCB_DEFAULT 133 ms */
963 };
964
965 &serdes3 {
966 serdes3_usb_link: phy@0 {
967 reg = <0>;
968 cdns,num-lanes = <2>;
969 #phy-cells = <0>;
970 cdns,phy-type = <PHY_TYPE_USB3>;
971 resets = <&serdes_wiz3 1>, <&serdes_wiz3 2>;
972 bootph-all;
973 };
974 };
975
976 &serdes4 {
977 torrent_phy_dp: phy@0 {
978 reg = <0>;
979 resets = <&serdes_wiz4 1>;
980 cdns,phy-type = <PHY_TYPE_DP>;
981 cdns,num-lanes = <4>;
982 cdns,max-bit-rate = <5400>;
983 #phy-cells = <0>;
984 };
985 };
986
987 &mhdp {
988 phys = <&torrent_phy_dp>;
989 phy-names = "dpphy";
990 pinctrl-names = "default";
991 pinctrl-0 = <&dp0_pins_default>;
992 };
993
994 &usbss0 {
995 pinctrl-names = "default";
996 pinctrl-0 = <&main_usbss0_pins_default>;
997 bootph-all;
998 ti,vbus-divider;
999 };
1000
1001 &usb0 {
1002 dr_mode = "otg";
1003 maximum-speed = "super-speed";
1004 phys = <&serdes3_usb_link>;
1005 phy-names = "cdns3,usb3-phy";
1006 bootph-all;
1007 };
1008
1009 &serdes2 {
1010 serdes2_usb_link: phy@1 {
1011 reg = <1>;
1012 cdns,num-lanes = <1>;
1013 #phy-cells = <0>;
1014 cdns,phy-type = <PHY_TYPE_USB3>;
1015 resets = <&serdes_wiz2 2>;
1016 };
1017 };
1018
1019 &usbss1 {
1020 pinctrl-names = "default";
1021 pinctrl-0 = <&main_usbss1_pins_default>;
1022 bootph-all;
1023 ti,vbus-divider;
1024 };
1025
1026 &usb1 {
1027 dr_mode = "host";
1028 maximum-speed = "super-speed";
1029 phys = <&serdes2_usb_link>;
1030 phy-names = "cdns3,usb3-phy";
1031 bootph-all;
1032 };
1033
1034 &mcu_cpsw {
1035 pinctrl-names = "default";
1036 pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>;
1037 status = "okay";
1038 };
1039
1040 &davinci_mdio {
1041 phy0: ethernet-phy@0 {
1042 reg = <0>;
1043 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
1044 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
1045 };
1046 };
1047
1048 &cpsw_port1 {
1049 phy-mode = "rgmii-id";
1050 phy-handle = <&phy0>;
1051 };
1052
1053 &dss {
1054 pinctrl-names = "default";
1055 pinctrl-0 = <&dss_vout0_pins_default>;
1056
1057 assigned-clocks = <&k3_clks 152 1>, /* VP 1 pixel clock */
1058 <&k3_clks 152 4>, /* VP 2 pixel clock */
1059 <&k3_clks 152 9>, /* VP 3 pixel clock */
1060 <&k3_clks 152 13>; /* VP 4 pixel clock */
1061 assigned-clock-parents = <&k3_clks 152 2>, /* PLL16_HSDIV0 */
1062 <&k3_clks 152 6>, /* DPI0_EXT_CLKSEL_OUT0 */
1063 <&k3_clks 152 11>, /* PLL18_HSDIV0 */
1064 <&k3_clks 152 18>; /* DPI1_EXT_CLKSEL_OUT0 */
1065 };
1066
1067 &dss_ports {
1068 #address-cells = <1>;
1069 #size-cells = <0>;
1070
1071 port@0 {
1072 reg = <0>;
1073
1074 dpi0_out: endpoint {
1075 remote-endpoint = <&dp0_in>;
1076 };
1077 };
1078
1079 port@1 {
1080 reg = <1>;
1081
1082 dpi1_out: endpoint {
1083 remote-endpoint = <&tfp410_in>;
1084 };
1085 };
1086 };
1087
1088 &dp0_ports {
1089 #address-cells = <1>;
1090 #size-cells = <0>;
1091
1092 port@0 {
1093 reg = <0>;
1094 dp0_in: endpoint {
1095 remote-endpoint = <&dpi0_out>;
1096 };
1097 };
1098
1099 port@4 {
1100 reg = <4>;
1101 dp0_out: endpoint {
1102 remote-endpoint = <&dp_connector_in>;
1103 };
1104 };
1105 };
1106
1107 &serdes0 {
1108 serdes0_pcie_link: phy@0 {
1109 reg = <0>;
1110 cdns,num-lanes = <1>;
1111 #phy-cells = <0>;
1112 cdns,phy-type = <PHY_TYPE_PCIE>;
1113 resets = <&serdes_wiz0 1>;
1114 };
1115 };
1116
1117 &serdes1 {
1118 serdes1_pcie_link: phy@0 {
1119 reg = <0>;
1120 cdns,num-lanes = <2>;
1121 #phy-cells = <0>;
1122 cdns,phy-type = <PHY_TYPE_PCIE>;
1123 resets = <&serdes_wiz1 1>, <&serdes_wiz1 2>;
1124 };
1125 };
1126
1127 &pcie0_rc {
1128 status = "okay";
1129 pinctrl-names = "default";
1130 pinctrl-0 = <&ekey_reset_pins_default>;
1131 reset-gpios = <&main_gpio0 72 GPIO_ACTIVE_HIGH>;
1132
1133 phys = <&serdes0_pcie_link>;
1134 phy-names = "pcie-phy";
1135 num-lanes = <1>;
1136 };
1137
1138 &pcie1_rc {
1139 status = "okay";
1140 pinctrl-names = "default";
1141 pinctrl-0 = <&mkey_reset_pins_default>;
1142 reset-gpios = <&wkup_gpio0 11 GPIO_ACTIVE_HIGH>;
1143
1144 phys = <&serdes1_pcie_link>;
1145 phy-names = "pcie-phy";
1146 num-lanes = <2>;
1147 };
1148
1149 &mcu_mcan0 {
1150 pinctrl-names = "default";
1151 pinctrl-0 = <&mcu_mcan0_pins_default>;
1152 phys = <&transceiver1>;
1153 status = "okay";
1154 };
1155
1156 &main_mcan0 {
1157 pinctrl-names = "default";
1158 pinctrl-0 = <&main_mcan0_pins_default>;
1159 phys = <&transceiver2>;
1160 status = "okay";
1161 };
1162
1163 &main_mcan5 {
1164 pinctrl-names = "default";
1165 pinctrl-0 = <&main_mcan5_pins_default>;
1166 phys = <&transceiver3>;
1167 status = "okay";
1168 };
1169
1170 &main_mcan9 {
1171 pinctrl-names = "default";
1172 pinctrl-0 = <&main_mcan9_pins_default>;
1173 phys = <&transceiver4>;
1174 status = "okay";
1175 };
1176
1177 &ufs_wrapper {
1178 status = "disabled";
1179 };
1180
1181 #include "k3-j721e-ti-ipc-firmware.dtsi"