ARM: dts: at91: ksz9477_evb: Add tx-internal-delay-ps property for port5
authorLukasz Majewski <lukma@denx.de>
Thu, 27 Jul 2023 08:06:56 +0000 (10:06 +0200)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Mon, 31 Jul 2023 05:17:46 +0000 (08:17 +0300)
Without this change the KSZ9477 Evaluation board's Linux (v6.5-rc1) shows
following device warning:

'ksz-switch spi1.0: Port 5 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"'

This is not critical, as KSZ driver by itself assigns default value of
tx delay to 2000 ps (as 'rgmii-txid' is set as PHY mode).

However, to avoid extra warnings in logs - the missing 'tx-internal-delay-ps'
has been specified with the default value of 2000 ps.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Link: https://lore.kernel.org/r/20230727080656.3828397-1-lukma@denx.de
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts

index 99cd6d1..b665700 100644 (file)
                                label = "cpu";
                                ethernet = <&macb0>;
                                phy-mode = "rgmii-txid";
+                               tx-internal-delay-ps = <2000>;
 
                                fixed-link {
                                        speed = <1000>;