Wednesday, 29 August 2012
ZedBoard ethernet device-tree configuration
ZedBoard uses different ethernet phy chip from ZC702 board. Below is an example of ethernet device tree node for ZedBoard:
eth@e000b000 {
compatible = "xlnx,ps7-ethernet-1.00.a";
reg = <0xe000b000 0x1000>;
interrupts = <0 22 0>;
interrupt-parent = <&gic>;
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>;
mdio {
#address-cells = <0x1>;
#size-cells = <0x0>;
phy0: phy@0 {
compatible = "marvell,88e1510";
device_type = "ethernet-phy";
reg = <0x0>;
marvell,reg-init = <0x3 0x10 0xff00 0x1e 0x3 0x11 0xfff0 0xa>;
};
};
};
Sunday, 26 August 2012
Subscribe to:
Posts (Atom)