diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-06-04 20:31:15 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-06-05 18:24:13 +0300 |
commit | 12de44f55dcd99f740c19fa514c181be5c686625 (patch) | |
tree | 75581447f6d0909bbe9dbfa7a4ced721fac9c9f7 /arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi | |
parent | 37de44f238d37c96ab1fec8c88b6d207f5b85635 (diff) | |
download | linux-12de44f55dcd99f740c19fa514c181be5c686625.tar.xz |
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/imx6qdl-microsom-ar8035.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi b/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi index a9b207751a02..900e8c781f91 100644 --- a/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi +++ b/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi @@ -46,7 +46,7 @@ pinctrl-0 = <&pinctrl_microsom_enet_ar8035>; phy-mode = "rgmii"; phy-reset-duration = <2>; - phy-reset-gpios = <&gpio4 15 0>; + phy-reset-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; status = "okay"; }; |