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>
10 #include <dt-bindings/mux/ti-serdes.h>
14 stdout-path = "serial2:115200n8";
15 bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
20 mcu_cpsw_pins_default: mcu-cpsw-pins-default {
21 pinctrl-single,pins = <
22 J721E_WKUP_IOPAD(0x0068, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */
23 J721E_WKUP_IOPAD(0x006c, PIN_INPUT, 0) /* MCU_RGMII1_RX_CTL */
24 J721E_WKUP_IOPAD(0x0070, PIN_OUTPUT, 0) /* MCU_RGMII1_TD3 */
25 J721E_WKUP_IOPAD(0x0074, PIN_OUTPUT, 0) /* MCU_RGMII1_TD2 */
26 J721E_WKUP_IOPAD(0x0078, PIN_OUTPUT, 0) /* MCU_RGMII1_TD1 */
27 J721E_WKUP_IOPAD(0x007c, PIN_OUTPUT, 0) /* MCU_RGMII1_TD0 */
28 J721E_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* MCU_RGMII1_RD3 */
29 J721E_WKUP_IOPAD(0x008c, PIN_INPUT, 0) /* MCU_RGMII1_RD2 */
30 J721E_WKUP_IOPAD(0x0090, PIN_INPUT, 0) /* MCU_RGMII1_RD1 */
31 J721E_WKUP_IOPAD(0x0094, PIN_INPUT, 0) /* MCU_RGMII1_RD0 */
32 J721E_WKUP_IOPAD(0x0080, PIN_INPUT, 0) /* MCU_RGMII1_TXC */
33 J721E_WKUP_IOPAD(0x0084, PIN_INPUT, 0) /* MCU_RGMII1_RXC */
37 mcu_mdio_pins_default: mcu-mdio1-pins-default {
38 pinctrl-single,pins = <
39 J721E_WKUP_IOPAD(0x009c, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */
40 J721E_WKUP_IOPAD(0x0098, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */
46 main_i2c1_pins_default: main-i2c1-pins-default {
47 pinctrl-single,pins = <
48 J721E_IOPAD(0xdc, PIN_INPUT_PULLUP, 3) /* (U3) ECAP0_IN_APWM_OUT.I2C1_SCL */
49 J721E_IOPAD(0xe0, PIN_INPUT_PULLUP, 3) /* (T3) EXT_REFCLK1.I2C1_SDA */
53 main_mmc1_pins_default: main-mmc1-pins-default {
54 pinctrl-single,pins = <
55 J721E_IOPAD(0x104, PIN_INPUT, 0) /* (M20) MMC1_CMD */
56 J721E_IOPAD(0x100, PIN_INPUT, 0) /* (P21) MMC1_CLK */
57 J721E_IOPAD(0xfc, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */
58 J721E_IOPAD(0xf8, PIN_INPUT, 0) /* (M19) MMC1_DAT0 */
59 J721E_IOPAD(0xf4, PIN_INPUT, 0) /* (N21) MMC1_DAT1 */
60 J721E_IOPAD(0xf0, PIN_INPUT, 0) /* (N20) MMC1_DAT2 */
61 J721E_IOPAD(0xec, PIN_INPUT, 0) /* (N19) MMC1_DAT3 */
62 J721E_IOPAD(0xe4, PIN_INPUT, 8) /* (V1) TIMER_IO0.MMC1_SDCD */
66 main_usbss0_pins_default: main-usbss0-pins-default {
67 pinctrl-single,pins = <
68 J721E_IOPAD(0x120, PIN_OUTPUT, 0) /* (T4) USB0_DRVVBUS */
74 /* Wakeup UART is used by System firmware */
79 /* Shared with ATF on this platform */
80 power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
84 /* MAIN UART 2 is used by R5F firmware */
89 /* UART not brought out */
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 pinctrl-names = "default";
125 pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;
129 phy0: ethernet-phy@0 {
131 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
132 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
137 phy-mode = "rgmii-rxid";
138 phy-handle = <&phy0>;
143 compatible = "ti,tca6416";
150 compatible = "ti,tca6424";
158 * The j7200 CPB board is identical to the CPB used for J721E, the SOMs can be
159 * swapped on the CPB.
161 * main_i2c1 of J7200 is connected to the CPB i2c bus labeled as i2c3.
162 * The i2c1 of the CPB (as it is labeled) is not connected to j7200.
165 pinctrl-names = "default";
166 pinctrl-0 = <&main_i2c1_pins_default>;
167 clock-frequency = <400000>;
170 compatible = "ti,tca6408";
174 gpio-line-names = "CODEC_RSTz", "CODEC_SPARE1", "UB926_RESETn",
175 "UB926_LOCK", "UB926_PWR_SW_CNTRL",
176 "UB926_TUNER_RESET", "UB926_GPIO_SPARE", "";
183 ti,driver-strength-ohm = <50>;
189 pinctrl-0 = <&main_mmc1_pins_default>;
190 pinctrl-names = "default";
191 ti,driver-strength-ohm = <50>;
196 idle-states = <J7200_SERDES0_LANE0_PCIE1_LANE0>, <J7200_SERDES0_LANE1_PCIE1_LANE1>,
197 <J7200_SERDES0_LANE2_QSGMII_LANE1>, <J7200_SERDES0_LANE3_IP4_UNUSED>;
201 idle-states = <1>; /* USB0 to SERDES lane 3 */
205 pinctrl-names = "default";
206 pinctrl-0 = <&main_usbss0_pins_default>;
213 maximum-speed = "high-speed";
218 ti,adc-channels = <0 1 2 3 4 5 6 7>;