Hi NXP team,
I am working with IMX8MM. Currently I am working to bring up LAN8830 with IMX8mm.
Link update working fine
[ 11.771211] fec 30be0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 11.778836] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Ethtool :
ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 100baseT/Half 100baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
master-slave cfg: preferred slave
master-slave status: slave
Port: Twisted Pair
PHYAD: 3
Transceiver: external
MDI-X: Unknown
Supports Wake-on: g
Wake-on: d
Link detected: yes
run udhcpc to getting IP but did't get IP.
After I applied speed change command
ethtool -s eth0 speed 100
Getting ip and ping running file.
what is problem for 1000Mb/s speed ?
Please help me to solve.
device tree configuration :
&fec1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fec1>;
phy-mode = "rgmii-id";
phy-reset-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
phy-reset-post-delay = <10>;
phy-handle = <ðphy3>;
fsl,magic-packet;status = "okay";
mdio {
#address-cells = <1>;
#size-cells = <0>;ethphy3: ethernet-phy@3 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <3>;
//clocks = <&clk IMX8MM_CLK_ENET_REF>;
//clock-names = "rmii-ref";
//qca,disable-smarteee;
vddio-supply = <&vddio>;
//reset-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
//max-speed = <100>;
rxc-skew-ps = <1800>;
//rxdv-skew-ps = <900>;
txc-skew-ps = <1800>;
//txen-skew-ps = <420>;
//at803x,eee-disabled;
//reset-assert-us = <10000>;vddio: vddio-regulator {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
};
};
};
Thanks,
Saurav