1 /* SPDX-License-Identifier: GPL-2.0-only OR MI 2 /** 3 * DT Overlay for CPSW9G in dual port fixed-li 4 * and ENET-2 Expansion slots of J784S4 EVM. 5 * 6 * Copyright (C) 2024 Texas Instruments Incorp 7 */ 8 9 /dts-v1/; 10 /plugin/; 11 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/phy/phy-cadence.h> 14 #include <dt-bindings/phy/phy.h> 15 16 #include "k3-serdes.h" 17 18 &{/} { 19 aliases { 20 ethernet1 = "/bus@100000/ether 21 ethernet2 = "/bus@100000/ether 22 ethernet3 = "/bus@100000/ether 23 }; 24 }; 25 26 &main_cpsw0 { 27 pinctrl-names = "default"; 28 status = "okay"; 29 }; 30 31 &main_cpsw0_port1 { 32 phy-mode = "usxgmii"; 33 mac-address = [00 00 00 00 00 00]; 34 phys = <&cpsw0_phy_gmii_sel 1>, <&serd 35 phy-names = "mac", "serdes"; 36 status = "okay"; 37 fixed-link { 38 speed = <5000>; 39 full-duplex; 40 }; 41 }; 42 43 &main_cpsw0_port2 { 44 phy-mode = "usxgmii"; 45 mac-address = [00 00 00 00 00 00]; 46 phys = <&cpsw0_phy_gmii_sel 2>, <&serd 47 phy-names = "mac", "serdes"; 48 status = "okay"; 49 fixed-link { 50 speed = <5000>; 51 full-duplex; 52 }; 53 }; 54 55 &serdes_wiz2 { 56 assigned-clock-parents = <&k3_clks 406 57 status = "okay"; 58 }; 59 60 &serdes2 { 61 #address-cells = <1>; 62 #size-cells = <0>; 63 status = "okay"; 64 65 serdes2_usxgmii_link: phy@2 { 66 reg = <2>; 67 cdns,num-lanes = <2>; 68 #phy-cells = <0>; 69 cdns,phy-type = <PHY_TYPE_USXG 70 resets = <&serdes_wiz2 3>, <&s 71 }; 72 }; 73 74 &serdes_ln_ctrl { 75 idle-states = <J784S4_SERDES0_LANE0_PC 76 <J784S4_SERDES0_LANE2_IP 77 <J784S4_SERDES1_LANE0_PC 78 <J784S4_SERDES1_LANE2_PC 79 <J784S4_SERDES2_LANE0_IP 80 <J784S4_SERDES2_LANE2_QS 81 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.