blob: 537ef2a79dad3ae242e08db7372ec22ae5a2eb04 [file] [log] [blame]
Lokesh Vutlaa7551cf2020-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 };
24};
25
26&main_pmx0 {
27 main_i2c0_pins_default: main-i2c0-pins-default {
28 pinctrl-single,pins = <
29 J721E_IOPAD(0xd4, PIN_INPUT_PULLUP, 0) /* (V3) I2C0_SCL */
30 J721E_IOPAD(0xd8, PIN_INPUT_PULLUP, 0) /* (W2) I2C0_SDA */
31 >;
32 };
33};
34
35&wkup_uart0 {
36 /* Wakeup UART is used by System firmware */
37 status = "disabled";
38};
39
40&main_uart0 {
41 power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
42};
43
44&main_uart2 {
45 /* MAIN UART 2 is used by R5F firmware */
46 status = "disabled";
47};
48
49&main_uart3 {
50 /* UART not brought out */
51 status = "disabled";
52};
53
54&main_uart4 {
55 /* UART not brought out */
56 status = "disabled";
57};
58
59&main_uart5 {
60 /* UART not brought out */
61 status = "disabled";
62};
63
64&main_uart6 {
65 /* UART not brought out */
66 status = "disabled";
67};
68
69&main_uart7 {
70 /* UART not brought out */
71 status = "disabled";
72};
73
74&main_uart8 {
75 /* UART not brought out */
76 status = "disabled";
77};
78
79&main_uart9 {
80 /* UART not brought out */
81 status = "disabled";
82};
83
84&wkup_i2c0 {
85 pinctrl-names = "default";
86 pinctrl-0 = <&wkup_i2c0_pins_default>;
87 clock-frequency = <400000>;
88};
89
90&main_sdhci0 {
91 /* eMMC */
92 non-removable;
93 ti,driver-strength-ohm = <50>;
94 disable-wp;
95};
96
97&main_sdhci1 {
98 /* SD card */
99 ti,driver-strength-ohm = <50>;
100 disable-wp;
101 no-1-8-v;
102 sdhci-caps-mask = <0x8000000F 0x0>;
103};
104
105&main_i2c0 {
106 pinctrl-names = "default";
107 pinctrl-0 = <&main_i2c0_pins_default>;
108 clock-frequency = <400000>;
109
110 exp1: gpio@20 {
111 compatible = "ti,tca6416";
112 reg = <0x20>;
113 gpio-controller;
114 #gpio-cells = <2>;
115 };
116
117 exp2: gpio@22 {
118 compatible = "ti,tca6424";
119 reg = <0x22>;
120 gpio-controller;
121 #gpio-cells = <2>;
122 };
123};