Add MDIO and PHY notes
Subsystems (2)
v2 cover Add MDIO and PHY notes
And missing fsl,magic-packet property.
Carlo Caione (2):
arm64: dts: imx8mq-evk: add missing MDIO / PHY nodes
arm64: dts: imx8mq-evk: Add fsl,magic-packet property
arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)
Signature · 1 line
2.19.1
PATCH v2 1/2 arm64: dts: imx8mq-evk: add missing MDIO / PHY nodes
Populate the fec1 node with the missing MDIO and PHY entries.
--- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/freescale/imx8mq-evk.dts +11 -0
@@ -37,7 +37,18 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; + phy-handle = <ðphy0>; status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; + }; }; &i2c1 {
Signature · 1 line
2.19.1
Re: [PATCH v2 1/2] arm64: dts: imx8mq-evk: add missing MDIO / PHY nodes
Quoted 4 lines · Carlo Caione
Populate the fec1 node with the missing MDIO and PHY entries.
Signed-off-by Carlo Caione <[email protected]>
Re: [PATCH v2 1/2] arm64: dts: imx8mq-evk: add missing MDIO / PHY nodes
In reply to Carlo CaioneQuoted 14 lines · Carlo Caione
Populate the fec1 node with the missing MDIO and PHY entries.
Signed-off-by Carlo Caione <[email protected]>--- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 11 +++++++++++ 1 file changed, 11 insertions(+)arch/arm64/boot/dts/freescale/imx8mq-evk.dts +0
-0@@ -37,7 +37,18 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>;
arch/arm64/boot/dts/freescale/imx8mq-evk.dts line 48
Quoted 10 lines
arch/arm64/boot/dts/freescale/imx8mq-evk.dts +8
-0phy-mode = "rgmii-id"; + phy-handle = <ðphy0>; status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22";
Hi Carlo
This compatible string is optional. But having it does not harm anything.
Andrew
PATCH v2 2/2 arm64: dts: imx8mq-evk: Add fsl,magic-packet property
In reply to Carlo CaioneAdd the fsl,magic-packet property in the fec nome.
--- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx8mq-evk.dts +1 -0
@@ -38,6 +38,7 @@ pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; phy-handle = <ðphy0>; + fsl,magic-packet; status = "okay"; mdio {
Signature · 1 line
2.19.1
Re: [PATCH v2 2/2] arm64: dts: imx8mq-evk: Add fsl, magic-packet property
Quoted 2 lines · Carlo Caione
Add the fsl,magic-packet property in the fec nome.
s/nome/node/
Re: [PATCH v2 2/2] arm64: dts: imx8mq-evk: Add fsl,magic-packet property
Quoted 5 lines · Fabio Estevam
Quoted 2 lines · Carlo Caione
Add the fsl,magic-packet property in the fec nome.
s/nome/node/
Fixed it up and applied both patches.
Shawn