Question:
I am a newbie to the embedded linux and device-tree world. I am trying to modify the device tree of ethernet phy from TI. I am interested to know what values the following variables<DP83867_RGMIIDCTL_2_25_NS>
, <DP83867_RGMIIDCTL_2_75_NS>
and <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>
correspond to. It appears to be delay values, but I searched through the datasheet (https://www.ti.com/lit/ds/symlink/dp83867ir.pdf?HQS=dis-mous-null-mousermode-dsf-pf-null-wwe&DCM=yes&ref_url=https%3A%2F%2Fwww.mouser.co.uk%2F&distId=26) and couldn’t find any reference to such variable.Can someone with some experience in device-tree explain where these variable are coming from and how to change/configure such register values.
Answer:
What does the variable and value of DP83867_RGMIIDCTL_2_25_NS in device tree correspond to?
From https://elixir.bootlin.com/linux/latest/A/ident/DP83867_RGMIIDCTL_2_25_NS it corresponds to a macro with the value
0x8
.If you have better answer, please add a comment about this, thank you!