riscv:dts:starfive-visionfive2: Add ethernet-phy node to set delay_chain
authorJianlong Huang <jianlong.huang@starfivetech.com>
Tue, 12 Jul 2022 05:57:38 +0000 (13:57 +0800)
committerJianlong Huang <jianlong.huang@starfivetech.com>
Thu, 3 Nov 2022 09:23:26 +0000 (17:23 +0800)
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dts

index e6b132d..7df4e97 100644 (file)
 
 &gmac0 {
        status = "okay";
+       #address-cells = <1>;
+       #size-cells = <0>;
+       phy0: ethernet-phy@0 {
+               rxc_dly_en = <1>;
+               tx_delay_sel_fe = <5>;
+               tx_delay_sel = <9>;
+       };
 };
 
 &gmac1 {
        #address-cells = <1>;
        #size-cells = <0>;
        status = "okay";
-       phy0: ethernet-phy@0 {
-               rxc-skew-ps = <1060>;
-               txc-skew-ps = <1800>;
-               reg = <0>;
+       phy1: ethernet-phy@1 {
+               tx_delay_sel_fe = <5>;
+               tx_delay_sel = <9>;
+               rxc_dly_en = <0>;
        };
 };