EMAC device-tree binding (#2)

Benjamin Herrenschmidt benh at kernel.crashing.org
Sun Feb 4 15:41:48 EST 2007


On Fri, 2007-02-02 at 07:50 +0100, Segher Boessenkool wrote:
> >  - phy-mode          : 1 cell, Mode of operations of the PHY  
> > interface:
> >                          #define PHY_MODE_NA    0
> >                          #define PHY_MODE_MII   1
> >                          #define PHY_MODE_RMII  2
> >                          #define PHY_MODE_SMII  3
> >                          #define PHY_MODE_RGMII 4
> >                          #define PHY_MODE_TBI   5
> >                          #define PHY_MODE_GMII  6
> >                          #define PHY_MODE_RTBI  7
> >                          #define PHY_MODE_SGMII 8
> >                        For axon, it is PHY_MODE_RGMII
> 
> Just use a string here...  phy-mode = "rgmii" etc.

Good point. I'll change that.

> > * In the McMAL node
> >
> >  - name               : "mcmal"
> >  - device_type        : "mcmal-dma"
> 
> "dma-controller" instead?

Yeah, good idea.

> >  - device_type        : "emac-zmii"
> 
> Similar.

rgmii and zmii are "weird"... they aren't DMA controllers. They are EMAC
specific link interfaces, I'm not sure how to call them.

Ben.





More information about the Linuxppc-dev mailing list