0050-riscv-dts-starfive-visionfive-2-v1.3B-Set-the-driver.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. From c156cb9ec64669600c96dbb01bf38dd2370b1850 Mon Sep 17 00:00:00 2001
  2. From: Samin Guo <[email protected]>
  3. Date: Wed, 26 Apr 2023 14:41:12 +0800
  4. Subject: [PATCH 050/122] riscv: dts: starfive: visionfive-2-v1.3B: Set the
  5. driver strength of RXC/RXD
  6. VisionFive 2 v1.3B needs to increase the driver strength of rxd/rxc
  7. to increase the stability of gmac's transmission.
  8. Signed-off-by: Samin Guo <[email protected]>
  9. ---
  10. .../boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts | 4 ++++
  11. 1 file changed, 4 insertions(+)
  12. --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts
  13. +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts
  14. @@ -28,6 +28,8 @@
  15. motorcomm,tx-clk-adj-enabled;
  16. motorcomm,tx-clk-100-inverted;
  17. motorcomm,tx-clk-1000-inverted;
  18. + rx-clk-driver-strength = <0x6>;
  19. + rx-data-driver-strength = <0x3>;
  20. rx-internal-delay-ps = <1500>;
  21. tx-internal-delay-ps = <1500>;
  22. };
  23. @@ -35,6 +37,8 @@
  24. &phy1 {
  25. motorcomm,tx-clk-adj-enabled;
  26. motorcomm,tx-clk-100-inverted;
  27. + rx-clk-driver-strength = <0x6>;
  28. + rx-data-driver-strength = <0x3>;
  29. rx-internal-delay-ps = <300>;
  30. tx-internal-delay-ps = <0>;
  31. };