Sorry, you need to enable JavaScript to visit this website.

Marvell 88E1518 PHY driver

Zedboard forums is currently read-only while it under goes maintenance.

Unsolved
4 posts / 0 new
befi
Junior(0)
Marvell 88E1518 PHY driver

Hi

I'm in the middle of hacking together a custom linux kernel for the ZED board. It is based on the xilinx kernel sources. So far I succeeded to write a device tree for my own PL modules which seems to do fine. The problem I have now is to get ethernet running. Is there a driver available which supports the 88E1518
phy?

befi
Junior(0)
I'll reply to myself:

I'll reply to myself: Apparently the PHY works just fine by using the generic phy driver and a PHY address of 0x0. Here is the Ethernet section of the device tree:

eth@e000b000 {
compatible = "xlnx,ps7-ethernet-1.00.a";
reg = <0xe000b000 0x1000>;
interrupts = <0 0x16 0x0>;
phy-handle = <&phy0>;
xlnx,ptp-enet-clock = <111111111>;
xlnx,slcr-div0-1000Mbps = <8>;
xlnx,slcr-div0-100Mbps = <8>;
xlnx,slcr-div0-10Mbps = <8>;
xlnx,slcr-div1-1000Mbps = <1>;
xlnx,slcr-div1-100Mbps = <5>;
xlnx,slcr-div1-10Mbps = <50>;
#address-cells = <0x1>;
#size-cells = <0x0>;

phy0: phy@7 {
device_type = "ethernet-phy";
reg = <0x0>;
};
};

whether any initialization

whether any initialization needs to configure PHY registers (in non linux)?

alxxG
Junior(0)
Thanks

Thanks

Going to have a going building an image with angstrom oe
as there are some fairly decent package repos