//for cpsw9x1 qsgmmi start &main_cpsw0 { status = "okay"; }; &main_cpsw0_mdio { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&cpsw9x1_mdio_pins_default>,<&yt8614_reset_pins_default>; //bus_freq = <100000>; reset-gpios = <&main_gpio0 17 GPIO_ACTIVE_LOW>; reset-post-delay-us = <1000000>; reset-delay-us = <2000000>; //reset-assert-us = <200000>; //reset-deassert-us = <1000000>; #address-cells = <1>; #size-cells = <0>; //managed = "in-band-status"; yt8614_0: ethernet-phy@0 { reg = <0>; }; yt8614_1: ethernet-phy@1 { reg = <1>; }; yt8614_2: ethernet-phy@2 { reg = <2>; }; yt8614_3: ethernet-phy@3 { reg = <3>; }; }; &cpsw0_phy_gmii_sel { ti,qsgmii-main-ports=<1>,<8>; status = "okay"; }; /* Aquila ETH_2 SGMII PHY */ &main_cpsw0_port5 { phy-mode = "qsgmii"; mac-address = [00 00 00 00 00 00]; phys = <&cpsw0_phy_gmii_sel 5>, <&serdes2_qsgmii_link>; phy-names = "mac", "serdes"; phy-handle = <&yt8614_1>; status = "okay"; //fixed-link { //speed = <100>; //full-duplex; //}; }; &main_cpsw0_port6 { phy-mode = "qsgmii"; mac-address = [00 00 00 00 00 00]; phys = <&cpsw0_phy_gmii_sel 6>, <&serdes2_qsgmii_link>; phy-names = "mac", "serdes"; phy-handle = <&yt8614_2>; status = "okay"; //fixed-link { //speed = <100>; //full-duplex; //}; }; &main_cpsw0_port7 { phy-mode = "qsgmii"; mac-address = [00 00 00 00 00 00]; phys = <&cpsw0_phy_gmii_sel 7>, <&serdes2_qsgmii_link>; phy-names = "mac", "serdes"; phy-handle = <&yt8614_3>; status = "okay"; //fixed-link { //speed = <100>; //full-duplex; //}; }; &main_cpsw0_port8 { phy-mode = "qsgmii"; mac-address = [00 00 00 00 00 00]; phys = <&cpsw0_phy_gmii_sel 8>, <&serdes2_qsgmii_link>; phy-names = "mac", "serdes"; phy-handle = <&yt8614_0>; status = "okay"; }; &serdes_wiz2 { status = "okay"; }; &serdes2 { #address-cells = <1>; #size-cells = <0>; status = "okay"; serdes2_qsgmii_link: phy@0 { reg = <3>; cdns,num-lanes = <1>; #phy-cells = <0>; cdns,phy-type = ; resets = <&serdes_wiz2 3>/*,<&serdes_wiz2 4>*/; }; }; &serdes_ln_ctrl { idle-states = , , , , , , , , , , , , , , , ; }; //for cpsw9x1 qsgmmi end