diff options
author | Michal Simek <michal.simek@amd.com> | 2023-05-02 15:35:45 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2023-05-16 14:50:15 +0200 |
commit | fc57b6c9298f49073fdb6de0532b76b0f98337e4 (patch) | |
tree | c25a01c5f3532f3886d9fad919187ead5108c6a3 /arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | |
parent | arm64: zynqmp: Disable USB3.0 for zc1751-xm016-dc2 (diff) | |
download | linux-fc57b6c9298f49073fdb6de0532b76b0f98337e4.tar.xz linux-fc57b6c9298f49073fdb6de0532b76b0f98337e4.zip |
arm64: zynqmp: Switch to ethernet-phy-id in kv260
Use ethernet-phy-id compatible string to properly describe phy reset on
kv260 boards. Previous description wasn't correct because reset was done
for mdio bus to operate and it was in this case used for different purpose
which was eth phy reset. With ethernet-phy-id phy reset happens only for
the phy via phy framework.
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/4b139e942c2a808eecbb30226b6ea5303348390a.1683034376.git.michal.simek@amd.com
Diffstat (limited to '')
-rw-r--r-- | arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso index ca3429f9961a..bf8f2a94be25 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso @@ -128,16 +128,18 @@ mdio: mdio { #address-cells = <1>; #size-cells = <0>; - reset-gpios = <&gpio 38 GPIO_ACTIVE_LOW>; - reset-delay-us = <2>; phy0: ethernet-phy@1 { #phy-cells = <1>; reg = <1>; + compatible = "ethernet-phy-id2000.a231"; ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>; ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; ti,dp83867-rxctrl-strap-quirk; + reset-assert-us = <100>; + reset-deassert-us = <280>; + reset-gpios = <&gpio 38 GPIO_ACTIVE_LOW>; }; }; }; |