blob: d216b707fd2cbc144c8002f4450a47d19dbb1910 [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 };
Vignesh Raghavendra1c5aa322020-01-27 23:22:14 +0530110
111 main_i2c0_pins_default: main-i2c0-pins-default {
112 pinctrl-single,pins = <
113 J721E_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (AC5) I2C0_SCL */
114 J721E_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (AA5) I2C0_SDA */
115 >;
116 };
Vignesh Raghavendra04ed4932019-11-18 19:16:35 +0530117};
118
Andreas Dannenberg0fe40e92020-01-07 13:15:56 +0530119&wkup_pmx0 {
120 wkup_i2c0_pins_default: wkup-i2c0-pins-default {
121 pinctrl-single,pins = <
122 J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */
123 J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */
124 >;
125 };
126};
127
Vignesh Raghavendra04ed4932019-11-18 19:16:35 +0530128&usbss0 {
129 pinctrl-names = "default";
130 pinctrl-0 = <&main_usbss0_pins_default>;
131 ti,vbus-divider;
132};
133
134&usb0 {
135 dr_mode = "otg";
136 maximum-speed = "super-speed";
137};
138
139&usbss1 {
140 pinctrl-names = "default";
141 pinctrl-0 = <&main_usbss1_pins_default>;
142 ti,usb2-only;
143};
144
145&usb1 {
146 dr_mode = "host";
147 maximum-speed = "high-speed";
148};
Andreas Dannenberg0fe40e92020-01-07 13:15:56 +0530149
150&wkup_i2c0 {
151 pinctrl-names = "default";
152 pinctrl-0 = <&wkup_i2c0_pins_default>;
153 clock-frequency = <400000>;
Vignesh Raghavendra1c5aa322020-01-27 23:22:14 +0530154};
155
156&main_i2c0 {
157 pinctrl-names = "default";
158 pinctrl-0 = <&main_i2c0_pins_default>;
159 clock-frequency = <400000>;
160
161 exp1: gpio@20 {
162 compatible = "ti,tca6416";
163 reg = <0x20>;
164 gpio-controller;
165 #gpio-cells = <2>;
166 };
167
168 exp2: gpio@22 {
169 compatible = "ti,tca6424";
170 reg = <0x22>;
171 gpio-controller;
172 #gpio-cells = <2>;
173 };
Andreas Dannenberg0fe40e92020-01-07 13:15:56 +0530174};