cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lynn.zhang
Observer
Observer
909 Views
Registered: ‎01-27-2016

Zynq connect Marvell PHY 88E1512 with RGMII to SGMII mode

Hi,
We have zynq based customized board which have Marvell PHY 88E1512, the mode is RGMII to SGMII,
I would like to know what I need configure the device tree for this device, currently we can see the PHY, but
link is not ready(OperState is Down, and Carrier is 0), the following is system-user.dtsi:
&gem0 {
status = "okay";
phy-handle = <&phy0>;
phy-mode = "rgmii-id";
phy-reset-gpio = <&gpio0 28 0>;
phy-reset-active-low;
ps7_ethernet_0_mdio: mdio {
    status = "okay";
    #address-cells = <1>;
    #size-cells = <0>;
    phy0: phy@0 {
    status = "okay";
    compatible = "marvell,88e1510";
    device_type = "ethernet-phy";
    reg = <0>;
    marvell,reg-init = <1 0 0x0 0x140>,
            <3 0x10 0xff00 0x1e>,
            <3 0x11 0xfff0 0xa>,
            <18 20 0xfff8 0x4>,
            <18 20 0x7fff 0x8000>;
    };
};
};

 

Thank you for your help.

0 Kudos
0 Replies