blob: f33a6d5bcff566cea0005ba57abc10caa09c7d3d [file] [log] [blame]
Lokesh Vutlab2c99a22019-06-13 10:29:54 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
4 */
5
6/dts-v1/;
7
8#include "k3-j721e-som-p0.dtsi"
9
10/ {
11 chosen {
12 stdout-path = "serial2:115200n8";
13 bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
14 };
Lokesh Vutla1a128042019-09-04 16:01:37 +053015
16 aliases {
17 remoteproc0 = &mcu_r5fss0_core0;
18 remoteproc1 = &mcu_r5fss0_core1;
Lokesh Vutla28b97652019-09-04 16:01:38 +053019 remoteproc2 = &main_r5fss0_core0;
20 remoteproc3 = &main_r5fss0_core1;
21 remoteproc4 = &main_r5fss1_core0;
22 remoteproc5 = &main_r5fss1_core1;
Lokesh Vutla4dbd7ed2019-09-04 16:01:39 +053023 remoteproc6 = &c66_0;
24 remoteproc7 = &c66_1;
Lokesh Vutlac9d636d2019-09-04 16:01:40 +053025 remoteproc8 = &c71_0;
Lokesh Vutla1a128042019-09-04 16:01:37 +053026 };
Lokesh Vutlab2c99a22019-06-13 10:29:54 +053027};
28
29&wkup_uart0 {
30 /* Wakeup UART is used by System firmware */
31 status = "disabled";
32};
33
Lokesh Vutla190ff642019-09-29 17:37:58 +053034&main_uart0 {
35 power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
36};
37
Lokesh Vutlab2c99a22019-06-13 10:29:54 +053038&main_uart3 {
39 /* UART not brought out */
40 status = "disabled";
41};
42
43&main_uart5 {
44 /* UART not brought out */
45 status = "disabled";
46};
47
48&main_uart6 {
49 /* UART not brought out */
50 status = "disabled";
51};
52
53&main_uart7 {
54 /* UART not brought out */
55 status = "disabled";
56};
57
58&main_uart8 {
59 /* UART not brought out */
60 status = "disabled";
61};
62
63&main_uart9 {
64 /* UART not brought out */
65 status = "disabled";
66};
67
Faiz Abbasc67d3892020-01-16 19:42:21 +053068&main_pmx0 {
69 main_mmc1_pins_default: main_mmc1_pins_default {
70 pinctrl-single,pins = <
71 J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */
72 J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */
73 J721E_IOPAD(0x2ac, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */
74 J721E_IOPAD(0x24c, PIN_INPUT, 0) /* (R24) MMC1_DAT0 */
75 J721E_IOPAD(0x248, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */
76 J721E_IOPAD(0x244, PIN_INPUT, 0) /* (R25) MMC1_DAT2 */
77 J721E_IOPAD(0x240, PIN_INPUT, 0) /* (R26) MMC1_DAT3 */
78 J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */
79 J721E_IOPAD(0x25c, PIN_INPUT, 0) /* (R28) MMC1_SDWP */
80 >;
81 };
82};
83
Lokesh Vutlab2c99a22019-06-13 10:29:54 +053084&main_sdhci0 {
85 /* eMMC */
Lokesh Vutlab2c99a22019-06-13 10:29:54 +053086 non-removable;
87 ti,driver-strength-ohm = <50>;
88};
89
90&main_sdhci1 {
Faiz Abbasc67d3892020-01-16 19:42:21 +053091 /* SD card */
92 pinctrl-names = "default";
93 pinctrl-0 = <&main_mmc1_pins_default>;
Lokesh Vutlab2c99a22019-06-13 10:29:54 +053094 ti,driver-strength-ohm = <50>;
95};
Vignesh Raghavendra04ed4932019-11-18 19:16:35 +053096
97&main_pmx0 {
98 main_usbss0_pins_default: main_usbss0_pins_default {
99 pinctrl-single,pins = <
100 J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */
101 J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */
102 >;
103 };
104
105 main_usbss1_pins_default: main_usbss1_pins_default {
106 pinctrl-single,pins = <
107 J721E_IOPAD(0x214, PIN_OUTPUT, 4) /* (V4) MCAN1_TX.USB1_DRVVBUS */
108 >;
109 };
110};
111
Andreas Dannenberg0fe40e92020-01-07 13:15:56 +0530112&wkup_pmx0 {
113 wkup_i2c0_pins_default: wkup-i2c0-pins-default {
114 pinctrl-single,pins = <
115 J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */
116 J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */
117 >;
118 };
119};
120
Vignesh Raghavendra04ed4932019-11-18 19:16:35 +0530121&usbss0 {
122 pinctrl-names = "default";
123 pinctrl-0 = <&main_usbss0_pins_default>;
124 ti,vbus-divider;
125};
126
127&usb0 {
128 dr_mode = "otg";
129 maximum-speed = "super-speed";
130};
131
132&usbss1 {
133 pinctrl-names = "default";
134 pinctrl-0 = <&main_usbss1_pins_default>;
135 ti,usb2-only;
136};
137
138&usb1 {
139 dr_mode = "host";
140 maximum-speed = "high-speed";
141};
Andreas Dannenberg0fe40e92020-01-07 13:15:56 +0530142
143&wkup_i2c0 {
144 pinctrl-names = "default";
145 pinctrl-0 = <&wkup_i2c0_pins_default>;
146 clock-frequency = <400000>;
147};