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.