summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx28-cfa10057.dts
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-06-04 19:31:15 +0200
committerShawn Guo <shawnguo@kernel.org>2017-06-05 17:24:13 +0200
commit12de44f55dcd99f740c19fa514c181be5c686625 (patch)
tree75581447f6d0909bbe9dbfa7a4ced721fac9c9f7 /arch/arm/boot/dts/imx28-cfa10057.dts
parentARM: dts: imx7: Fix typo in watchdog pin name (diff)
downloadlinux-12de44f55dcd99f740c19fa514c181be5c686625.tar.xz
linux-12de44f55dcd99f740c19fa514c181be5c686625.zip
ARM: dts: imx: Fix Ethernet PHY reset polarity
The FEC driver ignores the GPIO polarity from 'phy-reset-gpios' and considers that the Ethernet PHY is active low, unless the property 'phy-reset-active-high' is present. Fix the device tree description by explicitly passing the 'GPIO_ACTIVE_LOW' flag to the 'phy-reset-gpios' property. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx28-cfa10057.dts')
-rw-r--r--arch/arm/boot/dts/imx28-cfa10057.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx28-cfa10057.dts b/arch/arm/boot/dts/imx28-cfa10057.dts
index 7a80bd686c40..c6067915b238 100644
--- a/arch/arm/boot/dts/imx28-cfa10057.dts
+++ b/arch/arm/boot/dts/imx28-cfa10057.dts
@@ -162,7 +162,7 @@
phy-mode = "rmii";
pinctrl-names = "default";
pinctrl-0 = <&mac0_pins_a>;
- phy-reset-gpios = <&gpio2 21 0>;
+ phy-reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
phy-reset-duration = <100>;
status = "okay";
};