[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230725073039.14382-2-samin.guo@starfivetech.com>
Date: Tue, 25 Jul 2023 15:30:39 +0800
From: Samin Guo <samin.guo@...rfivetech.com>
To: <linux-kernel@...r.kernel.org>, <linux-riscv@...ts.infradead.org>,
<devicetree@...r.kernel.org>
CC: Albert Ou <aou@...s.berkeley.edu>,
Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Conor Dooley <conor@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Emil Renner Berthing <kernel@...il.dk>,
"Emil Renner Berthing" <emil.renner.berthing@...onical.com>,
Samin Guo <samin.guo@...rfivetech.com>,
Hal Feng <hal.feng@...rfivetech.com>
Subject: [-next v1 1/1] riscv: dts: starfive: visionfive 2: Add v1.3B gmac phy configuration
Add visionfive 2 v1.3B gmac phy configuration, including drive strength
and inverting configuration.
Reviewed-by: Hal Feng <hal.feng@...rfivetech.com>
Signed-off-by: Samin Guo <samin.guo@...rfivetech.com>
---
.../dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts
index 7bca5d9e8f9b..d4ea4a2c0b9b 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts
+++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts
@@ -25,11 +25,20 @@
};
&phy0 {
+ motorcomm,tx-clk-adj-enabled;
+ motorcomm,tx-clk-100-inverted;
+ motorcomm,tx-clk-1000-inverted;
+ motorcomm,rx-clk-drv-microamp = <3970>;
+ motorcomm,rx-data-drv-microamp = <2910>;
rx-internal-delay-ps = <1500>;
tx-internal-delay-ps = <1500>;
};
&phy1 {
+ motorcomm,tx-clk-adj-enabled;
+ motorcomm,tx-clk-100-inverted;
+ motorcomm,rx-clk-drv-microamp = <3970>;
+ motorcomm,rx-data-drv-microamp = <2910>;
rx-internal-delay-ps = <300>;
tx-internal-delay-ps = <0>;
};
--
2.17.1
Powered by blists - more mailing lists