FEC3 of MPC8309 can't work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FEC3 of MPC8309 can't work

Jump to solution
1,267 Views
zheyin
Contributor II

The configuration and the circuit of FEC3 and FEC2 exactly the same, FEC2 is working properly, but FEC3 cannot trigger the interrupt service routine(ucc_geth_irq_handler).

Attached is the source file of device tree and network device driver.

Linux version 2.6.33.7.2(gcc version 4.1.2)

Need help!Thanks a lot!God bless you!

Labels (1)
Tags (2)
0 Kudos
1 Solution
868 Views
zheyin
Contributor II

OK.I got it just on Thanksforgivingday!

rx-clock-name = "clk11";
tx-clock-name = "clk12";

That's all right.Thanks God!

View solution in original post

0 Kudos
4 Replies
869 Views
zheyin
Contributor II

OK.I got it just on Thanksforgivingday!

rx-clock-name = "clk11";
tx-clock-name = "clk12";

That's all right.Thanks God!

0 Kudos
868 Views
zheyin
Contributor II
enet2: ethernet@2200 {
device_type = "network";
compatible = "ucc_geth";
cell-index = <3>;
reg = <0x2200 0x200>;
interrupts = <34>;
interrupt-parent = <&qeic>;
local-mac-address = [ 00 00 00 00 00 00 ];
rx-clock-name = "none";
tx-clock-name = "none";
phy-handle = <&phy2>;
phy-connection-type = "mii";
};

?interrupts = <34>;

Interrupt ID Number is reserved!

But mpc8309twr-indctrl.dts used interrupt 34.Why?

Shoud I have another one?Which one?

0 Kudos
868 Views
zheyin
Contributor II

ucc_geth_probe information:

ucc_geth: QE UCC Gigabit Ethernet Controller

ucc_geth_probe num: 0...............................

ucc_geth: UCC1 at 0xe0102000 (irq = 17)

SICRL: 295540.......................

SICRH: 80000.......................

ucc_geth_probe num: 1...............................

ucc_geth: UCC2 at 0xe0103000 (irq = 18)

SICRL: 295540.......................

SICRH: 80000.......................

ucc_geth_probe num: 2...............................

ucc_geth: UCC3 at 0xe0102200 (irq = 34)

SICRL: 295540.......................

SICRH: 80000.......................

0 Kudos
868 Views
zheyin
Contributor II

Sorry.I forgot the attachment.

0 Kudos