Micrel KSZ8091 drivers for i.MX6 platform. Any leads appreciated.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Micrel KSZ8091 drivers for i.MX6 platform. Any leads appreciated.

Jump to solution
8,913 Views
seshpadm
Contributor I

We are on the look out for Micrel KSZ8091 drivers for i.MX6 platform. Any leads appreciated.

Thanks

Labels (6)
0 Kudos
1 Solution
3,170 Views
weidong_sun
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
6 Replies
3,170 Views
pritammunot
Contributor I

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

0 Kudos
3,170 Views
florian_germain
Contributor II

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 = <&ethphy2>;

        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?

0 Kudos
3,170 Views
PaulDeMetrotion
Senior Contributor I

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

0 Kudos
3,170 Views
florian_germain
Contributor II

Yes, i solved my problem, in fec driver 3.14.28, mdio node nedded to be in fec1. That was the only mistake.

0 Kudos
3,170 Views
YixingKong
Senior Contributor IV

Sesh, please click Correct Answer/Helpful Answer, if your question has been answered,

Thanks,

Yixing

3,171 Views
weidong_sun
NXP TechSupport
NXP TechSupport

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

0 Kudos