]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx6qdl-wandboard: add ethernet PHY description
authorAnatolij Gustschin <agust@denx.de>
Sat, 21 Sep 2019 12:07:36 +0000 (14:07 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 7 Oct 2019 12:38:10 +0000 (20:38 +0800)
Wandboard devicetrees lack the ethernet PHY description, add it.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-wandboard.dtsi

index 2cfb4112a4678c5d9123d3a8d8a1e515e8ae2cfb..c070893c509ee2dbbab43adbcdb417028c3776b0 100644 (file)
@@ -279,8 +279,18 @@ &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet>;
        phy-mode = "rgmii-id";
+       phy-handle = <&ethphy>;
        phy-reset-gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
        status = "okay";
+
+       mdio {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               ethphy: ethernet-phy@1 {
+                       reg = <1>;
+               };
+       };
 };
 
 &mipi_csi {