summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPragnesh Patel <pragnesh.patel@sifive.com>2020-05-29 11:33:32 +0530
committerAndes <uboot@andestech.com>2020-06-04 09:44:09 +0800
commit329e023868f28fd2cda31dc788017ef7c48fb1a8 (patch)
tree82ee7dbb4ca86483275286099b026e7b7bf71d73 /arch
parent1ba43d29eb626ee813650baf12a72a31ed2bffca (diff)
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 <pragnesh.patel@sifive.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/dts/fu540-c000-u-boot.dtsi5
1 files changed, 5 insertions, 0 deletions
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;
};
+
+&eth0 {
+ assigned-clocks = <&prci PRCI_CLK_GEMGXLPLL>;
+ assigned-clock-rates = <125000000>;
+};