Other Parts Discussed in Thread: TCI6638K2K
I have designed a custom board based loosely off of the K2HK EVM but had to change to a different phy. On the K2HK EVM, the phy that is used is the Marvel 88E1101 phy. We changed the Phy to the Marvel 88E1112 and are having trouble integrating it with the Kernel. /net/phy/marvell.c shows that this phy is supported in the phy_driver array. I have mad the changes listed in the MCSDK UG to "Enable MDIO" since there seemed to be an issue with the MDIO on the EVM, and changed the "compatible" field in the device tree to 'compatible = "marvell,88e1112"'. When the kernel boots, keystone-netcp tells me "phy not found on slave 0". Are there an only modification I need to make in the device tree/kernel to successfully migrate to the new phy?
Also, what was the issue on the K2HK EVM that forced it to use the use a software GPIO instantiation of MDIO?
I have attached the relevant fields from the device tree.
Here is the boot output from the netcp initialization:
[ 1.419946] davinci_mdio 2090300.mdio: davinci mdio revision 1.5
[ 1.425926] libphy: 2090300.mdio: probed
[ 1.430295] davinci_mdio 2090300.mdio: phy[0]: device 2090300.mdio:00, driver unknown
[ 1.438093] davinci_mdio 2090300.mdio: phy[1]: device 2090300.mdio:01, driver unknown
...
Configuring network interfaces...
[ 5.998792] keystone-netcp 2090000.netcp: initializing cpsw version 1.3 (1) SGMII identification value 0x4ed1
[ 6.008806] keystone-netcp 2090000.netcp: Created a cpsw ale engine
[ 6.015131] keystone-netcp 2090000.netcp: initialized cpsw ale revision 1.3
[ 6.024889] keystone-netcp 2090000.netcp: phy not found on slave 0
[ 6.130143] pps pps0: new PPS source ptp0
[ 6.134157] cpts rftclk rate(599040000 HZ),mult(5000),shift(10),div(3)
[ 6.175835] keystone-netcp 2090000.netcp: Using Packet Accelerator Firmware version 0x01030008
[ 6.184423] keystone-netcp 2090000.netcp: pa_clk_rate(163840000 HZ),mult(25000),shift(12)
[ 6.441505] net eth0: netcp device eth0 opened
[ 6.447590] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 6.453410] 8021q: adding VLAN 0 to HW filter on device eth0
[ 6.459047] net eth0: adding rx vlan id: 0
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
[ 15.956244] keystone-netcp 2090000.netcp: initializing cpsw version 1.3 (1) SGMII identification value 0x4ed1
[ 15.968480] keystone-netcp 2090000.netcp: phy not found on slave 1
[ 16.322613] net eth1: netcp device eth1 opened
[ 16.327654] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 16.333488] 8021q: adding VLAN 0 to HW filter on device eth1
[ 16.339124] net eth1: adding rx vlan id: 0