1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
8 #include <dt-bindings/net/ti-dp83867.h>
9 #include "k3-j7200-som-p0.dtsi"
13 stdout-path = "serial2:115200n8";
14 bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
18 remoteproc0 = &mcu_r5fss0_core0;
19 remoteproc1 = &mcu_r5fss0_core1;
20 remoteproc2 = &main_r5fss0_core0;
21 remoteproc3 = &main_r5fss0_core1;
26 wkup_i2c0_pins_default: wkup-i2c0-pins-default {
27 pinctrl-single,pins = <
28 J721E_WKUP_IOPAD(0x100, PIN_INPUT_PULLUP, 0) /* (F20) WKUP_I2C0_SCL */
29 J721E_WKUP_IOPAD(0x104, PIN_INPUT_PULLUP, 0) /* (H21) WKUP_I2C0_SDA */
33 wkup_gpio_pins_default: wkup-gpio-pins-default {
34 pinctrl-single,pins = <
35 J721E_WKUP_IOPAD(0xd8, PIN_INPUT, 7) /* (C14) WKUP_GPIO0_6 */
39 mcu_cpsw_pins_default: mcu_cpsw_pins_default {
40 pinctrl-single,pins = <
41 J721E_WKUP_IOPAD(0x0068, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */
42 J721E_WKUP_IOPAD(0x006c, PIN_INPUT, 0) /* MCU_RGMII1_RX_CTL */
43 J721E_WKUP_IOPAD(0x0070, PIN_OUTPUT, 0) /* MCU_RGMII1_TD3 */
44 J721E_WKUP_IOPAD(0x0074, PIN_OUTPUT, 0) /* MCU_RGMII1_TD2 */
45 J721E_WKUP_IOPAD(0x0078, PIN_OUTPUT, 0) /* MCU_RGMII1_TD1 */
46 J721E_WKUP_IOPAD(0x007c, PIN_OUTPUT, 0) /* MCU_RGMII1_TD0 */
47 J721E_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* MCU_RGMII1_RD3 */
48 J721E_WKUP_IOPAD(0x008c, PIN_INPUT, 0) /* MCU_RGMII1_RD2 */
49 J721E_WKUP_IOPAD(0x0090, PIN_INPUT, 0) /* MCU_RGMII1_RD1 */
50 J721E_WKUP_IOPAD(0x0094, PIN_INPUT, 0) /* MCU_RGMII1_RD0 */
51 J721E_WKUP_IOPAD(0x0080, PIN_INPUT, 0) /* MCU_RGMII1_TXC */
52 J721E_WKUP_IOPAD(0x0084, PIN_INPUT, 0) /* MCU_RGMII1_RXC */
56 mcu_mdio_pins_default: mcu_mdio1_pins_default {
57 pinctrl-single,pins = <
58 J721E_WKUP_IOPAD(0x009c, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */
59 J721E_WKUP_IOPAD(0x0098, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */
65 main_i2c0_pins_default: main-i2c0-pins-default {
66 pinctrl-single,pins = <
67 J721E_IOPAD(0xd4, PIN_INPUT_PULLUP, 0) /* (V3) I2C0_SCL */
68 J721E_IOPAD(0xd8, PIN_INPUT_PULLUP, 0) /* (W2) I2C0_SDA */
72 main_usbss0_pins_default: main_usbss0_pins_default {
73 pinctrl-single,pins = <
74 J721E_IOPAD(0x120, PIN_OUTPUT, 0) /* (T4) USB0_DRVVBUS */
80 /* Wakeup UART is used by System firmware */
85 power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
89 /* MAIN UART 2 is used by R5F firmware */
94 /* UART not brought out */
99 /* UART not brought out */
104 /* UART not brought out */
109 /* UART not brought out */
114 /* UART not brought out */
119 /* UART not brought out */
124 /* UART not brought out */
129 pinctrl-names = "default";
130 pinctrl-0 = <&wkup_i2c0_pins_default>;
131 clock-frequency = <400000>;
137 ti,driver-strength-ohm = <50>;
143 ti,driver-strength-ohm = <50>;
146 sdhci-caps-mask = <0x8000000F 0x0>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&main_i2c0_pins_default>;
152 clock-frequency = <400000>;
155 compatible = "ti,tca6416";
162 compatible = "ti,tca6424";
170 pinctrl-names = "default";
171 pinctrl-0 = <&main_usbss0_pins_default>;
178 maximum-speed = "high-speed";
182 pinctrl-names = "default";
183 pinctrl-0 = <&wkup_gpio_pins_default>;
187 pinctrl-names = "default";
188 pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;
192 phy0: ethernet-phy@0 {
194 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
195 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
200 phy-mode = "rgmii-rxid";
201 phy-handle = <&phy0>;