~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/ti/k3-j784s4-evm-usxgmii-exp1-exp2.dtso

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/ti/k3-j784s4-evm-usxgmii-exp1-exp2.dtso (Architecture i386) and /scripts/dtc/include-prefixes/arm64/ti/k3-j784s4-evm-usxgmii-exp1-exp2.dtso (Architecture alpha)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php