]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: imx8mq-evk: add missing MDIO / PHY nodes
authorCarlo Caione <ccaione@baylibre.com>
Mon, 28 Jan 2019 09:52:11 +0000 (09:52 +0000)
committerShawn Guo <shawnguo@kernel.org>
Fri, 1 Feb 2019 11:02:40 +0000 (19:02 +0800)
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>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-evk.dts

index 35955be5320978bbd099a0272d71c505be6fca1e..d4b5335de071f6f7f5a3a312c766c53e18979a38 100644 (file)
@@ -37,7 +37,18 @@ &fec1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_fec1>;
        phy-mode = "rgmii-id";
+       phy-handle = <&ethphy0>;
        status = "okay";
+
+       mdio {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               ethphy0: ethernet-phy@0 {
+                       compatible = "ethernet-phy-ieee802.3-c22";
+                       reg = <0>;
+               };
+       };
 };
 
 &i2c1 {