From: Fabio Estevam Date: Sat, 25 Nov 2017 22:51:07 +0000 (-0200) Subject: ARM: dts: imx53-cx9020: Fix the Ethernet PHY reset GPIO polarity X-Git-Tag: v4.16-rc1~100^2~20^2~108 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=c709ddfac84003b41dfef8dd81fe9c16c44edfc7;p=linux.git ARM: dts: imx53-cx9020: Fix the Ethernet PHY reset GPIO polarity 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 Tested-by: Patrick Bruenn Reviewed-by: Andrew Lunn Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx53-cx9020.dts b/arch/arm/boot/dts/imx53-cx9020.dts index 4f54fd4418a3..5e67e43004e7 100644 --- a/arch/arm/boot/dts/imx53-cx9020.dts +++ b/arch/arm/boot/dts/imx53-cx9020.dts @@ -152,7 +152,7 @@ &fec { 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"; };