Hi All,
I have a i.MX8DXL Custom board which has only 1 ethernet fec1(DP83848KSQ) while EVK has 2 ethernet controllers (eqos and fec1).
I have modified the kernel dts file wrt DP83848KSQ settings and defconfig to enable the phy but i dont get ethernet working.
Clock is 25MHz and it is in MII mode.
By default, Uboot is configured as eth1 with eqos controller.I configured in kernel as fec1.
Kernel log:
fec 5b040000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 1.033623] fec 5b040000.ethernet: Using random MAC address: 46:a1:d2:49:7e:2a
[ 1.041755] libphy: fec_enet_mii_bus: probed
[ 1.047547] fec 5b040000.ethernet eth0: registered PHC device 0
[ OK ] Started Update UTMP about System Runlevel Changes[ 10.299572] fec 5b040000.ethernet eth0: Unable to connect to phy
.
[ OK ] Started Hostname Service.
[ 11.351524] fec 5b040000.ethernet eth0: Unable to connect to phy
Kernel dts:
&fec1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fec1>;
/*phy-mode = "rgmii-txid"; */
phy-mode = "rmii";
phy-handle = <ðphy1>;
fsl,magic-packet;
status = "okay";
mdio {
#address-cells = <1>;
#size-cells = <0>;
ethphy1: ethernet-phy@4 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <4>;
at803x,eee-disabled;
at803x,vddio-1p8v;
};
};
};
Is anything wrong,Please suggest how can i proceed to make it work.