2020-07-08 01:26:21

by Chris Healy

[permalink] [raw]
Subject: [PATCH v3] arm64: dts: zii-ultra: update MDIO speed and preamble

Update MDIO configuration with zii-ultra device to fully utilize
MDIO endpoint capabilities. Device supports 12.5MHz clock and
doesn't require MDIO preamble.

Signed-off-by: Chris Healy <[email protected]>
---
v3:
- make "status = okay" the last property
v2:
- Fix subject line to reference zii-ultra:
- Get rid of "=<1>;" from suppress-preamble lines

arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi
index 6a55165bd76a..0d1088dcaa02 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi
@@ -131,6 +131,8 @@
mdio {
#address-cells = <1>;
#size-cells = <0>;
+ clock-frequency = <12500000>;
+ suppress-preamble;
status = "okay";

switch: switch@0 {
--
2.21.3


2020-07-13 08:21:50

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH v3] arm64: dts: zii-ultra: update MDIO speed and preamble

On Tue, Jul 07, 2020 at 06:00:05PM -0700, Chris Healy wrote:
> Update MDIO configuration with zii-ultra device to fully utilize
> MDIO endpoint capabilities. Device supports 12.5MHz clock and
> doesn't require MDIO preamble.
>
> Signed-off-by: Chris Healy <[email protected]>

Applied, thanks.