can't find any description of FEC_MIIGSK_CFGR and/or FEC_MIIGSK_ENR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

can't find any description of FEC_MIIGSK_CFGR and/or FEC_MIIGSK_ENR

672 Views
EdSutter
Senior Contributor II

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...

http://imxcommunity.org/group/imx53xcommunityhwdesignsupport/forum/topics/fec-miigsk-cfgr-and-fec-mi...

Labels (1)
0 Kudos
1 Reply

452 Views
EdSutter
Senior Contributor II

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 '.').

0 Kudos