ARM: imx: imx8mn-*-evk: use reset-gpios in phy node
Subsystems (2)
PATCH 1/2 ARM: imx: imx8mn-*-evk: use reset-gpios in phy node
To be in sync with the linux devicetree change the 'phy-reset-gpios' in the fec node to 'reset-gpios' in the phy node. The PHY reset will be done by the eth-phy-uclass driver while probing the PHY. This is ok since it is done before probing the fec.
--- arch/arm/dts/imx8mn-evk.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/dts/imx8mn-evk.dtsi +2 -1
@@ -53,7 +53,6 @@ pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; phy-handle = <ðphy0>; - phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; fsl,magic-packet; status = "okay";
@@ -64,6 +63,8 @@ ethphy0: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; + reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; vddio-supply = <&vddio>; vddio: vddio-regulator {
Signature · 1 line
2.30.2
PATCH 2/2 ARM: imx: imx8mn-*-evk: add qca, disable-smarteee phy node
To be in sync with the linux devicetree add the disable-smarteee property.
--- arch/arm/dts/imx8mn-evk.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/dts/imx8mn-evk.dtsi +1 -0
@@ -65,6 +65,7 @@ reg = <0>; reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; reset-assert-us = <10000>; + qca,disable-smarteee; vddio-supply = <&vddio>; vddio: vddio-regulator {
Signature · 1 line
2.30.2
Re: [PATCH 2/2] ARM: imx: imx8mn-*-evk: add qca, disable-smarteee phy node
Quoted 2 lines · Heiko Thiery
To be in sync with the linux devicetree add the disable-smarteee property.
Quoted 6 lines · Heiko Thiery
To be in sync with the linux devicetree change the 'phy-reset-gpios' in the fec node to 'reset-gpios' in the phy node. The PHY reset will be done by the eth-phy-uclass driver while probing the PHY. This is ok since it is done before probing the fec.
Signed-off-by Heiko Thiery <[email protected]>
Quoted 7 lines · Heiko Thiery
To be in sync with the linux devicetree change the 'phy-reset-gpios' in the fec node to 'reset-gpios' in the phy node. The PHY reset will be done by the eth-phy-uclass driver while probing the PHY. This is ok since it is done before probing the fec.
Signed-off-by Heiko Thiery <[email protected]>