ARM: dts: imx6_colibri: introduce fec node
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Mon, 4 Nov 2019 10:11:59 +0000 (11:11 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 7 Jan 2020 09:26:56 +0000 (10:26 +0100)
Sync DTS with the mainline Linux and introduce fec node.

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
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