blob: 15ac3cb6b384a1e0f528b5c4b8c165c2ef662778 [file] [log] [blame]
Lokesh Vutlac8339702020-08-05 22:44:28 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
6/dts-v1/;
7
8#include "k3-j7200-som-p0.dtsi"
9
10/ {
11 chosen {
12 stdout-path = "serial2:115200n8";
13 bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
14 };
15};
16
17&wkup_pmx0 {
18 wkup_i2c0_pins_default: wkup-i2c0-pins-default {
19 pinctrl-single,pins = <
20 J721E_WKUP_IOPAD(0x100, PIN_INPUT_PULLUP, 0) /* (F20) WKUP_I2C0_SCL */
21 J721E_WKUP_IOPAD(0x104, PIN_INPUT_PULLUP, 0) /* (H21) WKUP_I2C0_SDA */
22 >;
23 };
Vignesh Raghavendra2fae7222020-08-07 00:26:58 +053024
25 wkup_gpio_pins_default: wkup-gpio-pins-default {
26 pinctrl-single,pins = <
27 J721E_WKUP_IOPAD(0xd8, PIN_INPUT, 7) /* (C14) WKUP_GPIO0_6 */
28 >;
29 };
Lokesh Vutlac8339702020-08-05 22:44:28 +053030};
31
32&main_pmx0 {
33 main_i2c0_pins_default: main-i2c0-pins-default {
34 pinctrl-single,pins = <
35 J721E_IOPAD(0xd4, PIN_INPUT_PULLUP, 0) /* (V3) I2C0_SCL */
36 J721E_IOPAD(0xd8, PIN_INPUT_PULLUP, 0) /* (W2) I2C0_SDA */
37 >;
38 };
Vignesh Raghavendra9bbc49f2020-08-07 00:26:56 +053039
40 main_usbss0_pins_default: main_usbss0_pins_default {
41 pinctrl-single,pins = <
42 J721E_IOPAD(0x120, PIN_OUTPUT, 0) /* (T4) USB0_DRVVBUS */
43 >;
44 };
Lokesh Vutlac8339702020-08-05 22:44:28 +053045};
46
47&wkup_uart0 {
48 /* Wakeup UART is used by System firmware */
49 status = "disabled";
50};
51
52&main_uart0 {
53 power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
54};
55
56&main_uart2 {
57 /* MAIN UART 2 is used by R5F firmware */
58 status = "disabled";
59};
60
61&main_uart3 {
62 /* UART not brought out */
63 status = "disabled";
64};
65
66&main_uart4 {
67 /* UART not brought out */
68 status = "disabled";
69};
70
71&main_uart5 {
72 /* UART not brought out */
73 status = "disabled";
74};
75
76&main_uart6 {
77 /* UART not brought out */
78 status = "disabled";
79};
80
81&main_uart7 {
82 /* UART not brought out */
83 status = "disabled";
84};
85
86&main_uart8 {
87 /* UART not brought out */
88 status = "disabled";
89};
90
91&main_uart9 {
92 /* UART not brought out */
93 status = "disabled";
94};
95
96&wkup_i2c0 {
97 pinctrl-names = "default";
98 pinctrl-0 = <&wkup_i2c0_pins_default>;
99 clock-frequency = <400000>;
100};
101
102&main_sdhci0 {
103 /* eMMC */
104 non-removable;
105 ti,driver-strength-ohm = <50>;
106 disable-wp;
107};
108
109&main_sdhci1 {
110 /* SD card */
111 ti,driver-strength-ohm = <50>;
112 disable-wp;
113 no-1-8-v;
114 sdhci-caps-mask = <0x8000000F 0x0>;
115};
116
117&main_i2c0 {
118 pinctrl-names = "default";
119 pinctrl-0 = <&main_i2c0_pins_default>;
120 clock-frequency = <400000>;
121
122 exp1: gpio@20 {
123 compatible = "ti,tca6416";
124 reg = <0x20>;
125 gpio-controller;
126 #gpio-cells = <2>;
127 };
128
129 exp2: gpio@22 {
130 compatible = "ti,tca6424";
131 reg = <0x22>;
132 gpio-controller;
133 #gpio-cells = <2>;
134 };
135};
Vignesh Raghavendra9bbc49f2020-08-07 00:26:56 +0530136
137&usbss0 {
138 pinctrl-names = "default";
139 pinctrl-0 = <&main_usbss0_pins_default>;
140 ti,vbus-divider;
141 ti,usb2-only;
142};
143
144&usb0 {
145 dr_mode = "otg";
146 maximum-speed = "high-speed";
147};
Vignesh Raghavendra2fae7222020-08-07 00:26:58 +0530148
149&wkup_gpio0 {
150 pinctrl-names = "default";
151 pinctrl-0 = <&wkup_gpio_pins_default>;
152};