Hi Igor,
Thanks for reply.
I have did the modification in dtsi and not eth0 is detecting but its not getting ip even not detecting LAN cable.
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope: Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0
dummy0 Link encap:Ethernet HWaddr f6:b5:9a:85:da:ec
inet6 addr: fe80::f4b5:9aff:fe85:daec/64 Scope: Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:630
I have assigned static IP but its not detecting LAN cable.
eth0 Link encap:Ethernet HWaddr 6e:80:17:c2:98:a7 Driver fec
inet addr:192.6.94.200 Bcast:192.6.94.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0
Below is my device tree configuration.
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fec1>;
phy-mode = "rmii";
phy-handle = <ðphy0>;
fsl,magic-packet;
phy-reset-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
phy-reset-duration = <5>;
phy-reset-active-low;
//phy-supply = <®_3v3_p>;
status = "okay";
mdio {
#address-cells = <1>;
#size-cells = <0>;
ethphy0: ethernet-phy@0{
compatible = "ethernet-phy-ieee802.3-c45";
reg = <0>;
//smsc,disable-energy-detect;
//reset-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
//reset-assert-us = <12000>;
//reset-deassert-us = <13000>;
max-speed = <100>;
};