1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
8 #include "k3-j7200-som-p0.dtsi"
9 #include <dt-bindings/net/ti-dp83867.h>
13 stdout-path = "serial2:115200n8";
14 bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
19 mcu_cpsw_pins_default: mcu-cpsw-pins-default {
20 pinctrl-single,pins = <
21 J721E_WKUP_IOPAD(0x0068, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */
22 J721E_WKUP_IOPAD(0x006c, PIN_INPUT, 0) /* MCU_RGMII1_RX_CTL */
23 J721E_WKUP_IOPAD(0x0070, PIN_OUTPUT, 0) /* MCU_RGMII1_TD3 */
24 J721E_WKUP_IOPAD(0x0074, PIN_OUTPUT, 0) /* MCU_RGMII1_TD2 */
25 J721E_WKUP_IOPAD(0x0078, PIN_OUTPUT, 0) /* MCU_RGMII1_TD1 */
26 J721E_WKUP_IOPAD(0x007c, PIN_OUTPUT, 0) /* MCU_RGMII1_TD0 */
27 J721E_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* MCU_RGMII1_RD3 */
28 J721E_WKUP_IOPAD(0x008c, PIN_INPUT, 0) /* MCU_RGMII1_RD2 */
29 J721E_WKUP_IOPAD(0x0090, PIN_INPUT, 0) /* MCU_RGMII1_RD1 */
30 J721E_WKUP_IOPAD(0x0094, PIN_INPUT, 0) /* MCU_RGMII1_RD0 */
31 J721E_WKUP_IOPAD(0x0080, PIN_INPUT, 0) /* MCU_RGMII1_TXC */
32 J721E_WKUP_IOPAD(0x0084, PIN_INPUT, 0) /* MCU_RGMII1_RXC */
36 mcu_mdio_pins_default: mcu-mdio1-pins-default {
37 pinctrl-single,pins = <
38 J721E_WKUP_IOPAD(0x009c, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */
39 J721E_WKUP_IOPAD(0x0098, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */
45 /* Wakeup UART is used by System firmware */
50 /* Shared with ATF on this platform */
51 power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
55 /* MAIN UART 2 is used by R5F firmware */
60 /* UART not brought out */
65 /* UART not brought out */
70 /* UART not brought out */
75 /* UART not brought out */
80 /* UART not brought out */
85 /* UART not brought out */
90 /* UART not brought out */
95 pinctrl-names = "default";
96 pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;
100 phy0: ethernet-phy@0 {
102 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
103 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
108 phy-mode = "rgmii-rxid";
109 phy-handle = <&phy0>;