Marvell 88E1512移植


1:make menuconfig

Device Drivers->

     [*]Network device support ->

          [*]Ethernet driver support ->

               [*] Marvell devices

          [*] PHY Device support and infastructure -->

               [*] Drivers for Marvell PHYs

 2:修改设备树

&avb {
pinctrl-0 = <&avb_pins>;
pinctrl-names = "default";
phy-handle = <&phy0>;
phy-mode = "rgmii-id";
status = "okay";

phy0: phy@0 {

                     compatible = "marvell,88E1510";

                    device_type = "ethernet-phy";

                     /* Set LED0 control: */

                     /* On - Link, Blink - Activity, Off - No Link */

                     marvell,reg-init = <3 0x10 0 0x1011>;

                     max-speed = <100>;

                     reg = <0>;

              };


};


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM