riscv:dts:jh7110: Add YT8521 phy delay_chain configuration
authoryanhong.wang <yanhong.wang@starfivetech.com>
Wed, 3 Aug 2022 01:58:37 +0000 (09:58 +0800)
committeryanhong.wang <yanhong.wang@starfivetech.com>
Wed, 3 Aug 2022 02:54:24 +0000 (10:54 +0800)
Some gmac is not working with YT8521 PHY default delay configuration, so
add phy node to set delay config..

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
arch/riscv/boot/dts/starfive/jh7110-common.dtsi

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