hello:
I have a encontered a problem recently on my board while has arranged 4 Ethernet ports,
two ps Ethernet :
ps7_ethernet_0: ps7-ethernet@e000b000 ,
ps7_ethernet_1: ps7-ethernet@e000c000 ,
two pl Ethernet :
axi_ethernetlite_0: network@40e20000 ,
axi_ethernetlite_1: network@40e00000 ,
I hope that these four eths will be initialized one by one in order,
like this:
ps7_ethernet_0->eth0 , ps7_ethernet_1->eth1,
axi_ethernetlite_0->eth2, axi_ethernetlite_1->eth3.
unfortunately annoyingly they did not work in order . unfortunately , in my linux
two pl Ethernets always correspond to eth0 and eth1(two Ethernets should be
axi_ethernetlite_0->eth2, axi_ethernetlite_1->eth3).
two ps Ethernets correspond to eth2 and eth3(should be ps7_ethernet_0->eth0,ps7_ethernet_1->eth1).
how do I express this in the device-tree?
Or do I have to make any changes in the linux drivers?
any help was appreciative .