From: yanhong.wang Date: Wed, 3 Aug 2022 01:58:37 +0000 (+0800) Subject: riscv:dts:jh7110: Add YT8521 phy delay_chain configuration X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=028c6ae96c4c12ec2598429857e3ea30e62ae9a8;p=platform%2Fkernel%2Flinux-starfive.git riscv:dts:jh7110: Add YT8521 phy delay_chain configuration Some gmac is not working with YT8521 PHY default delay configuration, so add phy node to set delay config.. Signed-off-by: yanhong.wang --- diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi index 8cbe905..251461f 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi @@ -382,13 +382,20 @@ &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>;