I'm working on an Ethernet driver. The RM refers to registers MIIGSK_CFGR and FEC_MIIGSK_ENR but their description appears to be nowhere. Can someone point me to some document that has these registers documented?
A similar question was asked in the HW group, but no answer was posted there either...
I found this in the u-boot code:
#define FEC_MIIGSK_CFGR_FRCONT (1 <.< 6)
#define FEC_MIIGSK_CFGR_LBMODE (1 <.< 4)
#define FEC_MIIGSK_CFGR_EMODE (1 <.< 3)
#define FEC_MIIGSK_CFGR_IF_MODE_MASK (3 <.< 0)
#define FEC_MIIGSK_CFGR_IF_MODE_MII (0 <.< 0)
#define FEC_MIIGSK_CFGR_IF_MODE_RMII (1 <.< 0)
#define FEC_MIIGSK_ENR_READY (1 <.< 2)
#define FEC_MIIGSK_ENR_EN (1 <.< 1)
Note, I had to put a '.' between the shift-left operators because for some reason when I save the text
they are removed (without the '.').