I am trying to make the PHY 88E1512 RGMII work. After studying posts like this and this and the official JP6.1 documentation, I do not see any issues in the configuration.
I can confirm that the correct pinmux configured correctly is in effect as I wrote it in the flashing conf file, the nodes in the device tree are configured correctly, the phy_reset GP5 is High, all the mgbe are disabled.
The PHY and link works only in “serdes” mode with fixed-link node present (so I would exclude any hardware issue), but this is preventing the MDIO configuration of the PHY.
The only strange things by studying the official documentation yielded in some remarks and questions from my side:
There is a sintax error ($ instead of &)
The documentation specifies tegra_main_gpio, but upon compilation , this is reported as error (reference to non existing node). I used &gpio instead. Question1: Is this OK? Could this be the cause of unfunctionality? I have not seen this change in anywhere in the documentation. Please point me in the right direction.
I based my files (device tree, pinmux etc) on the development kit. Question2: Is there a place where there is some overwriting happening, that is not immediately obvious or not specified in the documentation?
If these suggestions don’t help and you want to report an issue to us, please attach the model, command/step, and the customized app (if any) with us to reproduce locally.
Such thing won’t cause functional issue. It will only cause compile error.
Is there a place where there is some overwriting happening, that is not immediately obvious or not specified in the documentation?
You should check if a overwrite is really happened first by reading /proc/deivce-tree node first. It is basically just the whole device tree running on your board now.
Yes I know, this is why I though it was a weird thing to ask me since we were talking about the running device-tree.
The flash log suggests that the correct pinmux file is loaded. Here is it attached, maybe I am not understanding it correctly or I misconfigured something.
What I mean is the 88e1512 has been validated multiple times by other users before. So basically the software has been validated for like many times.
Sometimes other users would use Xaiver AGX board directly on Orin AGX so I am talking about if any other Xavier AGX has been used on this board before to validate the hardware is correct.
If this didn’t happen before, maybe you should review the hardware too.
From your answer I draw the conclusion that there is nothing wrong with the configuration I sent you and I should search in the hardware direction.
No, a Xavier AGX was not used on this board, as it was designed for Orin AGX Industrial and I am using with this module.
The dmesg was exported from the target with sudo dmesg > dmesg.log. Does it look incomplete to you? What is missing?