[PATCH] ARM: dts: imx53-cx9020: Fix the Ethernet PHY reset GPIO polarity
Patrick Brünn
P.Bruenn at beckhoff.com
Sun Nov 26 20:55:09 PST 2017
>From: Fabio Estevam [mailto:festevam at gmail.com]
>Sent: Samstag, 25. November 2017 23:51
>From: Fabio Estevam <fabio.estevam at nxp.com>
>
>As explained in Documentation/devicetree/bindings/net/fsl-fec.txt the
>phy-reset-gpios is active high only if the 'phy-reset-active-high' is
>present.
>
>As 'phy-reset-active-high' is not used here, fix the device tree
>description by passing GPIO_ACTIVE_LOW flag.
>
>Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
>---
> arch/arm/boot/dts/imx53-cx9020.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/arch/arm/boot/dts/imx53-cx9020.dts b/arch/arm/boot/dts/imx53-
>cx9020.dts
>index 4f54fd4..5e67e43 100644
>--- a/arch/arm/boot/dts/imx53-cx9020.dts
>+++ b/arch/arm/boot/dts/imx53-cx9020.dts
>@@ -152,7 +152,7 @@
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_fec>;
> phy-mode = "rmii";
>- phy-reset-gpios = <&gpio7 6 GPIO_ACTIVE_HIGH>;
>+ phy-reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
> status = "okay";
> };
>
>--
>2.7.4
Tested-by: Patrick Bruenn <p.bruenn at beckhoff.com>
Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Beckhoff
Registered office: Verl, Germany | Register court: Guetersloh HRA 7075
More information about the linux-arm-kernel
mailing list