Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / arch / arm / dts / imx6-colibri.dts
index 5c9f1f0d2be215c77b0cdc07e00b38b619617303..387d6d5ca7e1cfc2b44c12a04ed3692283cb3b6c 100644 (file)
@@ -21,6 +21,7 @@
                mmc0 = &usdhc3;
                mmc1 = &usdhc1;
                usb0 = &usbotg; /* required for ums */
+               ethernet0 = &fec;
        };
 
        chosen {
        };
 };
 
+&fec {
+       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>;
+                       status = "okay";
+               };
+       };
+};
+
 /*
  * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
  * touch screen controller