Hello,Padm,
Please see attachment, It should support KSZ8091, hope it can help you !
/ * Support : Micrel Phys:
* Giga phys: ksz9021, ksz9031
* 100/10 Phys : ksz8001, ksz8721, ksz8737, ksz8041
* ksz8021, ksz8031, ksz8051,
* ksz8081, ksz8091,
* ksz8061,
* Switch : ksz8873, ksz886x
*/
Regards,
Weidong
Hi Guys, How did you add the support for this switch in the kernel. I am using similar switch KSZ8873, and i have selected this in kernel config also. But when the kernel is booting I get a error message "„no PHY, assuming direct connection to switch". Looks like while scanning for phy the kernel is not finding anything. In my device tree its using generic phy. I am new to this can some one please share some information on this.
Thanks
I faced the same problem, i had the message "no PHY, assuming direct connection to switch".
I modified my dts to add mdio node and now i get only:
IP-Config: Failed to open eth1
IP-Config: Device `eth1' not found
&fec2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet2>;
phy-mode = "rmii";
phy-handle = <ðphy2>;
phy-reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>; /* GPIO2_7 */
status = "okay";
mdio {
#address-cells = <1>;
#size-cells = <0>;
ethphy2: ethernet-phy@0 {
compatible = "micrel,ksz8081";
device_type = "ethernet-phy";
reg = <0>;
};
};
};
I try to boot on NFS. The kernel is well load throught TFTP but impossible to load rootfs.
Did you solved your problem?
Did you ever fix this issue? I am trying to connect to a KSZ9031 PHY device but getting the same type of error message.
IP-Config: Failed to open eth0
IP-Config: No network devices available
Yes, i solved my problem, in fec driver 3.14.28, mdio node nedded to be in fec1. That was the only mistake.
Sesh, please click Correct Answer/Helpful Answer, if your question has been answered,
Thanks,
Yixing
Hello,Padm,
Please see attachment, It should support KSZ8091, hope it can help you !
/ * Support : Micrel Phys:
* Giga phys: ksz9021, ksz9031
* 100/10 Phys : ksz8001, ksz8721, ksz8737, ksz8041
* ksz8021, ksz8031, ksz8051,
* ksz8081, ksz8091,
* ksz8061,
* Switch : ksz8873, ksz886x
*/
Regards,
Weidong