EMAC device-tree binding (#2)

Segher Boessenkool segher at kernel.crashing.org
Fri Feb 2 17:50:35 EST 2007


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

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

"dma-controller" instead?

>  - device_type        : "emac-zmii"

Similar.


Segher




More information about the Linuxppc-dev mailing list