From: Pragnesh Patel Date: Fri, 29 May 2020 06:03:32 +0000 (+0530) Subject: riscv: sifive: dts: fu540: set ethernet clock rate X-Git-Tag: v2020.07-rc4~7^2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=329e023868f28fd2cda31dc788017ef7c48fb1a8;p=oweals%2Fu-boot.git riscv: sifive: dts: fu540: set ethernet clock rate Set ethernet clock rate to 125 Mhz so that it will work with 1000Mbps, Earlier this is done by FSBL. With this change We can remove the ethernet clock rate code from FSBL. Signed-off-by: Pragnesh Patel Tested-by: Bin Meng --- diff --git a/arch/riscv/dts/fu540-c000-u-boot.dtsi b/arch/riscv/dts/fu540-c000-u-boot.dtsi index fc91a7c987..9bba554f9d 100644 --- a/arch/riscv/dts/fu540-c000-u-boot.dtsi +++ b/arch/riscv/dts/fu540-c000-u-boot.dtsi @@ -82,3 +82,8 @@ &qspi2 { u-boot,dm-spl; }; + +ð0 { + assigned-clocks = <&prci PRCI_CLK_GEMGXLPLL>; + assigned-clock-rates = <125000000>; +};