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>
This commit is contained in:
@@ -307,7 +307,7 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_enet1 &pinctrl_enet1_mdio &pinctrl_etnphy0_rst>;
|
||||
phy-mode = "rmii";
|
||||
phy-reset-gpios = <&gpio5 6 GPIO_ACTIVE_HIGH>;
|
||||
phy-reset-gpios = <&gpio5 6 GPIO_ACTIVE_LOW>;
|
||||
phy-supply = <®_3v3_etn>;
|
||||
phy-handle = <&etnphy0>;
|
||||
status = "okay";
|
||||
@@ -342,7 +342,7 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_enet2 &pinctrl_etnphy1_rst>;
|
||||
phy-mode = "rmii";
|
||||
phy-reset-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
|
||||
phy-reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
|
||||
phy-supply = <®_3v3_etn>;
|
||||
phy-handle = <&etnphy1>;
|
||||
status = "disabled";
|
||||
|
Reference in New Issue
Block a user