Kernel-2.6.32-573.12.1.el6_tsec

  • MDIO IO device

The MDIO is a bus to which the PHY devices are connected. For each
device that exists on this bus, a child node should be created. See
the definition of the PHY node in booting-without-of.txt for an example
of how to define a PHY.

Required properties:

  • reg : Offset and length of the register set for the device
  • compatible : Should define the compatible device type for the
    mdio. Currently, this is most likely to be “fsl,gianfar-mdio”

Example:

mdio@24520 {
    reg = <24520 20>;
    compatible = "fsl,gianfar-mdio";

    ethernet-phy@0 {
        ......
    };
};
  • TBI Internal MDIO bus

As of this writing, every tsec is associated with an internal TBI PHY.
This PHY is accessed through the local MDIO bus. These buses are defined
similarly to the mdio buses, except they are compatible with “fsl,gianfar-tbi”.
The TBI PHYs underneath them are similar to normal PHYs, but the reg property
is considered instructive, rather than descriptive. The reg property should
be chosen so it doesn’t interfere with other PHYs on the bus.

  • Gianfar-compatible ethernet nodes

Properties:

Example:
ethernet@24000 {
device_type = “network”;
model = “TSEC”;
compatible = “gianfar”;
reg = <0x24000 0x1000>;
local-mac-address = [ 00 E0 0C 00 73 00 ];
interrupts = <29 2 30 2 34 2>;
interrupt-parent = <&mpic>;
phy-handle = <&phy0>
};