This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5718: pruss2_eth single-emac problem

Part Number: AM5718
Other Parts Discussed in Thread: TLK105L

Hi
We are using a board with AM5718, we want to use one DP83822 chip (analogue of TLK105L),
but ran into a problem: does not want to work in single-emac mode on pruss2 port MII0,
but only works in dual-emac.

- DP83822 is detected correctly => davinci_mdio 4b2b2400.mdio phy [1]: device 4b2b2400.mdio: 00, driver TI DP83822 10/100 Mbps PHY
- We used the recommendation from /Documentation/devicetree/bindings/net/ti-prueth.txt

Here is my device tree:
aliases {
...

ethernet0 = & pruss2_emac0;
...
};

...

pruss2_eth: pruss2_eth {
compatible = "ti, am57-prueth";
prus = <& pru2_0>, <& pru2_1>;
firmware-name = "ti-pruss / am57xx-pru0-prueth-fw.elf",
"";
sram = <& ocmcram1>;
interrupt-parent = <& pruss2_intc>;
mii-rt = <& pruss2_mii_rt>;
iep = <& pruss2_iep>;

pruss2_emac0: ethernet-mii0 {
phy-handle = <& pruss2_eth0_phy>;
phy-mode = "mii";
interrupts = <20>, <22>, <23>, <26>;
interrupt-names = "rx", "tx", "hsrprp_ptp_tx",
"emac_ptp_tx";
// Filled in by bootloader
local-mac-address = [00 00 00 00 00 00];
};
};

...

& pruss_soc_bus2 {
status = "okay";

pruss2: pruss @ 4b280000 {
status = "okay";
};
};

...

& pruss2_mdio {
status = "okay";
pruss2_eth0_phy: ethernet-phy @ 1 {
reg = <1>; // PHY address DP83822 == 0x01
};
};

To the ifconfig -a command:
writes that eth0 is defined:

Issue of the command: ifup eth0 produces the following:

What am I doing wrong? Please, help!

  • Hi Russell,

    Sorry for the delay. Reopening this thread.

    1. Are you still facing this issue ?

    2. Can you tell us which SDK version are you using ?

    3. Can you compare with the default DT in the SDK and paste the difference as a patch ?

    Regards

    Vineet