Marvell 88E1111(1000M PHY) linux 配置

2021/6/9 7:23:10

本文主要是介绍Marvell 88E1111(1000M PHY) linux 配置,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

 

1. driver

  • drivers/net/phy/marvell.c

  • drivers/net/phy/phy_device.c

  • include/uapi/linux/mii.h (register)

 

 

2. kernel config

Device Drivers  --->
    [*] Network device support  --->
        -*-   PHY Device support and infrastructure  --->
            <*>   Marvell PHYs

 

 

3. dts config

    mdio {
        #address-cells = <1>;
        #size-cells = <0>;
        compatible = "snps,dwmac-mdio";
        phy0: phy@0 {
            device_tpye = "ethernet-phy";
            compatible = "ethernet-phy-id0141.0cc0", "ethernet-phy-ieee802.3-c22";
            reg = <0>;
        };
    };

    phy-mode = "gmii";

 

 



这篇关于Marvell 88E1111(1000M PHY) linux 配置的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程