diff options
author | Ley Foon Tan <leyfoon.tan@linux.starfivetech.com> | 2022-09-25 16:55:50 +0300 |
---|---|---|
committer | Ley Foon Tan <leyfoon.tan@starfivetech.com> | 2023-12-04 06:00:13 +0300 |
commit | cb557f9fc3479bd5b0bffc141b20fd44ac013f8b (patch) | |
tree | 57404b3e9d0cd1ff100b82e6c1bf6e48a5de4559 | |
parent | bc6f67fe5309e8032f0c03ad7c494de6da2f5334 (diff) | |
download | linux-cb557f9fc3479bd5b0bffc141b20fd44ac013f8b.tar.xz |
riscv: dts: dubhe: Fix ethernet max-speed to 10Mb/s
Fix ethernet max-speed to 10Mb/s for FPGA.
Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
-rw-r--r-- | arch/riscv/boot/dts/starfive/dubhe_fpga.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/starfive/dubhe_fpga.dts b/arch/riscv/boot/dts/starfive/dubhe_fpga.dts index 5ff774ffe816..46f724cdcb5f 100644 --- a/arch/riscv/boot/dts/starfive/dubhe_fpga.dts +++ b/arch/riscv/boot/dts/starfive/dubhe_fpga.dts @@ -44,12 +44,23 @@ &gmac0 { status = "okay"; phy-mode = "rgmii-id"; + phy-handle = <ðernet_phy0>; clocks = <&fpga_2p5mhz_clk>, <&fpga_2p5mhz_clk>, <&fpga_2p5mhz_clk>, <&fpga_50mhz_clk>, <&fpga_50mhz_clk>, <&fpga_2p5mhz_clk>; + + mdio0 { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + ethernet_phy0: ethernet-phy@0 { + reg = <0>; + max-speed = <10>; + }; + }; }; &spi0 { |