arm64: dts: imx8dxl-evk: Fix eqos phy reset gpio
authorAndrew Halaney <ahalaney@redhat.com>
Tue, 14 Feb 2023 17:15:05 +0000 (11:15 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2023 10:49:01 +0000 (12:49 +0200)
commit08589e3ca8b1d849e4bdf5c8f03f7f3a2d26d488
treed4996aa0593e6b8eb53c7951b6b5d914f467f41f
parentbcbc0df73111ae25cfdef6447db53e8a69e2b0f6
arm64: dts: imx8dxl-evk: Fix eqos phy reset gpio

[ Upstream commit feafeb53140af3cde3fba46b292b15b3a0c0635c ]

The deprecated property is named snps,reset-gpio, but this devicetree
used snps,reset-gpios instead which results in the reset not being used
and the following make dtbs_check error:

    ./arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb: ethernet@5b050000: 'snps,reset-gpio' is a dependency of 'snps,reset-delays-us'
        From schema: ./Documentation/devicetree/bindings/net/snps,dwmac.yaml

Use the preferred method of defining the reset gpio in the phy node
itself. Note that this drops the 10 us pre-delay, but prior this wasn't
used at all and a pre-delay doesn't make much sense in this context so
it should be fine.

Fixes: 8dd495d12374 ("arm64: dts: freescale: add support for i.MX8DXL EVK board")
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/imx8dxl-evk.dts