ARM: dts: imx6qdl-colibri: add phy to fec
authorPhilippe Schenker <philippe.schenker@toradex.com>
Mon, 12 Aug 2019 14:21:28 +0000 (14:21 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 19 Aug 2019 11:22:07 +0000 (13:22 +0200)
Add the phy-node and mdio bus to the fec-node, represented as is on
hardware.
This commit includes micrel,led-mode that is set to the default
value, prepared for someone who wants to change this.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-colibri.dtsi

index 1beac22266edc1fb56c0c1ae92c88dbd486e0049..019dda6b88ad73312590fbc782fb1adab1625865 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet>;
        phy-mode = "rmii";
+       phy-handle = <&ethphy>;
        status = "okay";
+
+       mdio {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               ethphy: ethernet-phy@0 {
+                       reg = <0>;
+                       micrel,led-mode = <0>;
+               };
+       };
 };
 
 &hdmi {