Forum Discussion
Altera_Forum
Honored Contributor
14 years agoAre you using the device tree method as specified at http://www.alterawiki.com/wiki/devicetree? For now you will need to manually add two properties to the TSE MAC entry in the dts file, so the driver is able to find the PHY. The final entry should look something like this (values may vary depending on your SOPC design):
tse_mac: ethernet@0x8002400 {
compatible = "ALTR,tse-9.1","ALTR,tse-1.0";
reg = < 0x8002400 0x400 0x8100000 0x40 0x8200000 0x40 0x4840000 0x2000>;
interrupt-parent = < &cpu_0 >;
interrupts = < 4 5 >;
ALTR,rx-fifo-depth = <1024>; //embeddedsw.CMacro.RECEIVE_FIFO_DEPTH type NUMBER
ALTR,tx-fifo-depth = <1024>; //embeddedsw.CMacro.TRANSMIT_FIFO_DEPTH type NUMBER
address-bits = <48>;
max-frame-size = <1518>;
local-mac-address = ;
ALTR,mii-id = <0>; // manually added
ALTR,phy-addr = <2>; // manually added
}; //end ethernet (tse_mac)