2020-08-05 17:14:28 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "k3-j7200-som-p0.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial2:115200n8";
|
|
|
|
bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&wkup_pmx0 {
|
|
|
|
wkup_i2c0_pins_default: wkup-i2c0-pins-default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
J721E_WKUP_IOPAD(0x100, PIN_INPUT_PULLUP, 0) /* (F20) WKUP_I2C0_SCL */
|
|
|
|
J721E_WKUP_IOPAD(0x104, PIN_INPUT_PULLUP, 0) /* (H21) WKUP_I2C0_SDA */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_pmx0 {
|
|
|
|
main_i2c0_pins_default: main-i2c0-pins-default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
J721E_IOPAD(0xd4, PIN_INPUT_PULLUP, 0) /* (V3) I2C0_SCL */
|
|
|
|
J721E_IOPAD(0xd8, PIN_INPUT_PULLUP, 0) /* (W2) I2C0_SDA */
|
|
|
|
>;
|
|
|
|
};
|
2020-08-06 18:56:56 +00:00
|
|
|
|
|
|
|
main_usbss0_pins_default: main_usbss0_pins_default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
J721E_IOPAD(0x120, PIN_OUTPUT, 0) /* (T4) USB0_DRVVBUS */
|
|
|
|
>;
|
|
|
|
};
|
2020-08-05 17:14:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&wkup_uart0 {
|
|
|
|
/* Wakeup UART is used by System firmware */
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_uart0 {
|
|
|
|
power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_uart2 {
|
|
|
|
/* MAIN UART 2 is used by R5F firmware */
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_uart3 {
|
|
|
|
/* UART not brought out */
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_uart4 {
|
|
|
|
/* UART not brought out */
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_uart5 {
|
|
|
|
/* UART not brought out */
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_uart6 {
|
|
|
|
/* UART not brought out */
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_uart7 {
|
|
|
|
/* UART not brought out */
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_uart8 {
|
|
|
|
/* UART not brought out */
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_uart9 {
|
|
|
|
/* UART not brought out */
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&wkup_i2c0 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&wkup_i2c0_pins_default>;
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_sdhci0 {
|
|
|
|
/* eMMC */
|
|
|
|
non-removable;
|
|
|
|
ti,driver-strength-ohm = <50>;
|
|
|
|
disable-wp;
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_sdhci1 {
|
|
|
|
/* SD card */
|
|
|
|
ti,driver-strength-ohm = <50>;
|
|
|
|
disable-wp;
|
|
|
|
no-1-8-v;
|
|
|
|
sdhci-caps-mask = <0x8000000F 0x0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_i2c0 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&main_i2c0_pins_default>;
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
|
|
|
|
exp1: gpio@20 {
|
|
|
|
compatible = "ti,tca6416";
|
|
|
|
reg = <0x20>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
exp2: gpio@22 {
|
|
|
|
compatible = "ti,tca6424";
|
|
|
|
reg = <0x22>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
|
|
|
};
|
2020-08-06 18:56:56 +00:00
|
|
|
|
|
|
|
&usbss0 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&main_usbss0_pins_default>;
|
|
|
|
ti,vbus-divider;
|
|
|
|
ti,usb2-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb0 {
|
|
|
|
dr_mode = "otg";
|
|
|
|
maximum-speed = "high-speed";
|
|
|
|
};
|