2019-06-13 04:59:54 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "k3-j721e-som-p0.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial2:115200n8";
|
|
|
|
bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
|
|
|
|
};
|
2019-09-04 10:31:37 +00:00
|
|
|
|
|
|
|
aliases {
|
|
|
|
remoteproc0 = &mcu_r5fss0_core0;
|
|
|
|
remoteproc1 = &mcu_r5fss0_core1;
|
2019-09-04 10:31:38 +00:00
|
|
|
remoteproc2 = &main_r5fss0_core0;
|
|
|
|
remoteproc3 = &main_r5fss0_core1;
|
|
|
|
remoteproc4 = &main_r5fss1_core0;
|
|
|
|
remoteproc5 = &main_r5fss1_core1;
|
2019-09-04 10:31:39 +00:00
|
|
|
remoteproc6 = &c66_0;
|
|
|
|
remoteproc7 = &c66_1;
|
2019-09-04 10:31:40 +00:00
|
|
|
remoteproc8 = &c71_0;
|
2019-09-04 10:31:37 +00:00
|
|
|
};
|
2019-06-13 04:59:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&wkup_uart0 {
|
|
|
|
/* Wakeup UART is used by System firmware */
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2019-09-29 12:07:58 +00:00
|
|
|
&main_uart0 {
|
|
|
|
power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
|
|
|
|
};
|
|
|
|
|
2019-06-13 04:59:54 +00:00
|
|
|
&main_uart3 {
|
|
|
|
/* 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";
|
|
|
|
};
|
|
|
|
|
2020-01-16 14:12:21 +00:00
|
|
|
&main_pmx0 {
|
|
|
|
main_mmc1_pins_default: main_mmc1_pins_default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */
|
|
|
|
J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */
|
|
|
|
J721E_IOPAD(0x2ac, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */
|
|
|
|
J721E_IOPAD(0x24c, PIN_INPUT, 0) /* (R24) MMC1_DAT0 */
|
|
|
|
J721E_IOPAD(0x248, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */
|
|
|
|
J721E_IOPAD(0x244, PIN_INPUT, 0) /* (R25) MMC1_DAT2 */
|
|
|
|
J721E_IOPAD(0x240, PIN_INPUT, 0) /* (R26) MMC1_DAT3 */
|
|
|
|
J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */
|
|
|
|
J721E_IOPAD(0x25c, PIN_INPUT, 0) /* (R28) MMC1_SDWP */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-06-13 04:59:54 +00:00
|
|
|
&main_sdhci0 {
|
|
|
|
/* eMMC */
|
|
|
|
non-removable;
|
|
|
|
ti,driver-strength-ohm = <50>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_sdhci1 {
|
2020-01-16 14:12:21 +00:00
|
|
|
/* SD card */
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&main_mmc1_pins_default>;
|
2019-06-13 04:59:54 +00:00
|
|
|
ti,driver-strength-ohm = <50>;
|
|
|
|
};
|
2019-11-18 13:46:35 +00:00
|
|
|
|
|
|
|
&main_pmx0 {
|
|
|
|
main_usbss0_pins_default: main_usbss0_pins_default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */
|
|
|
|
J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
main_usbss1_pins_default: main_usbss1_pins_default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
J721E_IOPAD(0x214, PIN_OUTPUT, 4) /* (V4) MCAN1_TX.USB1_DRVVBUS */
|
|
|
|
>;
|
|
|
|
};
|
2020-01-27 17:52:14 +00:00
|
|
|
|
|
|
|
main_i2c0_pins_default: main-i2c0-pins-default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
J721E_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (AC5) I2C0_SCL */
|
|
|
|
J721E_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (AA5) I2C0_SDA */
|
|
|
|
>;
|
|
|
|
};
|
2019-11-18 13:46:35 +00:00
|
|
|
};
|
|
|
|
|
2020-01-07 07:45:56 +00:00
|
|
|
&wkup_pmx0 {
|
|
|
|
wkup_i2c0_pins_default: wkup-i2c0-pins-default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */
|
|
|
|
J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */
|
|
|
|
>;
|
|
|
|
};
|
2020-02-04 05:39:52 +00:00
|
|
|
|
|
|
|
mcu_fss0_ospi1_pins_default: mcu-fss0-ospi1-pins-default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
J721E_WKUP_IOPAD(0x34, PIN_OUTPUT, 0) /* (F22) MCU_OSPI1_CLK */
|
|
|
|
J721E_WKUP_IOPAD(0x50, PIN_OUTPUT, 0) /* (C22) MCU_OSPI1_CSn0 */
|
|
|
|
J721E_WKUP_IOPAD(0x40, PIN_INPUT, 0) /* (D22) MCU_OSPI1_D0 */
|
|
|
|
J721E_WKUP_IOPAD(0x44, PIN_INPUT, 0) /* (G22) MCU_OSPI1_D1 */
|
|
|
|
J721E_WKUP_IOPAD(0x48, PIN_INPUT, 0) /* (D23) MCU_OSPI1_D2 */
|
|
|
|
J721E_WKUP_IOPAD(0x4c, PIN_INPUT, 0) /* (C23) MCU_OSPI1_D3 */
|
|
|
|
J721E_WKUP_IOPAD(0x3c, PIN_INPUT, 0) /* (B23) MCU_OSPI1_DQS */
|
|
|
|
J721E_WKUP_IOPAD(0x38, PIN_INPUT, 0) /* (A23) MCU_OSPI1_LBCLKO */
|
|
|
|
>;
|
|
|
|
};
|
2020-01-07 07:45:56 +00:00
|
|
|
};
|
|
|
|
|
2019-11-18 13:46:35 +00:00
|
|
|
&usbss0 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&main_usbss0_pins_default>;
|
|
|
|
ti,vbus-divider;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb0 {
|
|
|
|
dr_mode = "otg";
|
|
|
|
maximum-speed = "super-speed";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usbss1 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&main_usbss1_pins_default>;
|
|
|
|
ti,usb2-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb1 {
|
|
|
|
dr_mode = "host";
|
|
|
|
maximum-speed = "high-speed";
|
|
|
|
};
|
2020-01-07 07:45:56 +00:00
|
|
|
|
|
|
|
&wkup_i2c0 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&wkup_i2c0_pins_default>;
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
};
|
2020-01-27 17:52:14 +00:00
|
|
|
|
|
|
|
&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-02-04 05:39:52 +00:00
|
|
|
|
|
|
|
&ospi1 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&mcu_fss0_ospi1_pins_default>;
|
|
|
|
|
|
|
|
flash@0{
|
|
|
|
compatible = "jedec,spi-nor";
|
|
|
|
reg = <0x0>;
|
|
|
|
spi-tx-bus-width = <1>;
|
|
|
|
spi-rx-bus-width = <4>;
|
|
|
|
spi-max-frequency = <40000000>;
|
|
|
|
cdns,tshsl-ns = <60>;
|
|
|
|
cdns,tsd2d-ns = <60>;
|
|
|
|
cdns,tchsh-ns = <60>;
|
|
|
|
cdns,tslch-ns = <60>;
|
|
|
|
cdns,read-delay = <2>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
};
|
|
|
|
};
|