Message ID | 20190128095212.14681-2-ccaione@baylibre.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Commit | 55b0b15a0220bb933a30a20e848837de3f5e180e |
Headers | show |
Series | Add MDIO and PHY notes | expand |
On Mon, Jan 28, 2019 at 7:52 AM Carlo Caione <ccaione@baylibre.com> wrote: > > Populate the fec1 node with the missing MDIO and PHY entries. > > Signed-off-by: Carlo Caione <ccaione@baylibre.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
On Mon, Jan 28, 2019 at 09:52:11AM +0000, Carlo Caione wrote: > Populate the fec1 node with the missing MDIO and PHY entries. > > Signed-off-by: Carlo Caione <ccaione@baylibre.com> > --- > arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts > index 64acccc4bfcb..2641f777d0bb 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts > @@ -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"; Hi Carlo This compatible string is optional. But having it does not harm anything. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 64acccc4bfcb..2641f777d0bb 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -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 {
Populate the fec1 node with the missing MDIO and PHY entries. Signed-off-by: Carlo Caione <ccaione@baylibre.com> --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 11 +++++++++++ 1 file changed, 11 insertions(+)