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