~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/net/fsl-tsec-phy.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/net/fsl-tsec-phy.txt (Architecture m68k) and /Documentation/devicetree/bindings/net/fsl-tsec-phy.txt (Architecture ppc)


  1 * MDIO IO device                                    1 * MDIO IO device
  2                                                     2 
  3 The MDIO is a bus to which the PHY devices are      3 The MDIO is a bus to which the PHY devices are connected.  For each
  4 device that exists on this bus, a child node s      4 device that exists on this bus, a child node should be created.  See
  5 the definition of the PHY node in booting-with      5 the definition of the PHY node in booting-without-of.txt for an example
  6 of how to define a PHY.                             6 of how to define a PHY.
  7                                                     7 
  8 Required properties:                                8 Required properties:
  9   - reg : Offset and length of the register se      9   - reg : Offset and length of the register set for the device, and optionally
 10           the offset and length of the TBIPA r     10           the offset and length of the TBIPA register (TBI PHY address
 11           register).  If TBIPA register is not     11           register).  If TBIPA register is not specified, the driver will
 12           attempt to infer it from the registe     12           attempt to infer it from the register set specified (your mileage may
 13           vary).                                   13           vary).
 14   - compatible : Should define the compatible      14   - compatible : Should define the compatible device type for the
 15     mdio. Currently supported strings/devices      15     mdio. Currently supported strings/devices are:
 16         - "fsl,gianfar-tbi"                        16         - "fsl,gianfar-tbi"
 17         - "fsl,gianfar-mdio"                       17         - "fsl,gianfar-mdio"
 18         - "fsl,etsec2-tbi"                         18         - "fsl,etsec2-tbi"
 19         - "fsl,etsec2-mdio"                        19         - "fsl,etsec2-mdio"
 20         - "fsl,ucc-mdio"                           20         - "fsl,ucc-mdio"
 21         - "fsl,fman-mdio"                          21         - "fsl,fman-mdio"
 22     When device_type is "mdio", the following      22     When device_type is "mdio", the following strings are also considered:
 23         - "gianfar"                                23         - "gianfar"
 24         - "ucc_geth_phy"                           24         - "ucc_geth_phy"
 25                                                    25 
 26 Example:                                           26 Example:
 27                                                    27 
 28         mdio@24520 {                               28         mdio@24520 {
 29                 reg = <24520 20>;                  29                 reg = <24520 20>;
 30                 compatible = "fsl,gianfar-mdio     30                 compatible = "fsl,gianfar-mdio";
 31                                                    31 
 32                 ethernet-phy@0 {                   32                 ethernet-phy@0 {
 33                         ......                     33                         ......
 34                 };                                 34                 };
 35         };                                         35         };
 36                                                    36 
 37 * TBI Internal MDIO bus                            37 * TBI Internal MDIO bus
 38                                                    38 
 39 As of this writing, every tsec is associated w     39 As of this writing, every tsec is associated with an internal TBI PHY.
 40 This PHY is accessed through the local MDIO bu     40 This PHY is accessed through the local MDIO bus.  These buses are defined
 41 similarly to the mdio buses, except they are c     41 similarly to the mdio buses, except they are compatible with "fsl,gianfar-tbi".
 42 The TBI PHYs underneath them are similar to no     42 The TBI PHYs underneath them are similar to normal PHYs, but the reg property
 43 is considered instructive, rather than descrip     43 is considered instructive, rather than descriptive.  The reg property should
 44 be chosen so it doesn't interfere with other P     44 be chosen so it doesn't interfere with other PHYs on the bus.
 45                                                    45 
 46 * Gianfar-compatible ethernet nodes                46 * Gianfar-compatible ethernet nodes
 47                                                    47 
 48 Properties:                                        48 Properties:
 49                                                    49 
 50   - device_type : Should be "network"              50   - device_type : Should be "network"
 51   - model : Model of the device.  Can be "TSEC     51   - model : Model of the device.  Can be "TSEC", "eTSEC", or "FEC"
 52   - compatible : Should be "gianfar"               52   - compatible : Should be "gianfar"
 53   - reg : Offset and length of the register se     53   - reg : Offset and length of the register set for the device
 54   - interrupts : For FEC devices, the first in     54   - interrupts : For FEC devices, the first interrupt is the device's
 55     interrupt.  For TSEC and eTSEC devices, th     55     interrupt.  For TSEC and eTSEC devices, the first interrupt is
 56     transmit, the second is receive, and the t     56     transmit, the second is receive, and the third is error.
 57   - phy-handle : See ethernet.txt file in the      57   - phy-handle : See ethernet.txt file in the same directory.
 58   - fixed-link : See fixed-link.txt in the sam     58   - fixed-link : See fixed-link.txt in the same directory.
 59   - phy-connection-type : See ethernet.txt fil     59   - phy-connection-type : See ethernet.txt file in the same directory.
 60     This property is only really needed if the     60     This property is only really needed if the connection is of type
 61     "rgmii-id", as all other connection types      61     "rgmii-id", as all other connection types are detected by hardware.
 62   - fsl,magic-packet : If present, indicates t     62   - fsl,magic-packet : If present, indicates that the hardware supports
 63     waking up via magic packet.                    63     waking up via magic packet.
 64   - fsl,wake-on-filer : If present, indicates      64   - fsl,wake-on-filer : If present, indicates that the hardware supports
 65     waking up by Filer General Purpose Interru     65     waking up by Filer General Purpose Interrupt (FGPI) asserted on the
 66     Rx int line.  This is an advanced power ma     66     Rx int line.  This is an advanced power management capability allowing
 67     certain packet types (user) defined by fil     67     certain packet types (user) defined by filer rules to wake up the system.
 68   - bd-stash : If present, indicates that the      68   - bd-stash : If present, indicates that the hardware supports stashing
 69     buffer descriptors in the L2.                  69     buffer descriptors in the L2.
 70   - rx-stash-len : Denotes the number of bytes     70   - rx-stash-len : Denotes the number of bytes of a received buffer to stash
 71     in the L2.                                     71     in the L2.
 72   - rx-stash-idx : Denotes the index of the fi     72   - rx-stash-idx : Denotes the index of the first byte from the received
 73     buffer to stash in the L2.                     73     buffer to stash in the L2.
 74                                                    74 
 75 Example:                                           75 Example:
 76         ethernet@24000 {                           76         ethernet@24000 {
 77                 device_type = "network";           77                 device_type = "network";
 78                 model = "TSEC";                    78                 model = "TSEC";
 79                 compatible = "gianfar";            79                 compatible = "gianfar";
 80                 reg = <0x24000 0x1000>;            80                 reg = <0x24000 0x1000>;
 81                 local-mac-address = [ 00 E0 0C     81                 local-mac-address = [ 00 E0 0C 00 73 00 ];
 82                 interrupts = <29 2 30 2 34 2>;     82                 interrupts = <29 2 30 2 34 2>;
 83                 interrupt-parent = <&mpic>;        83                 interrupt-parent = <&mpic>;
 84                 phy-handle = <&phy0>               84                 phy-handle = <&phy0>
 85         };                                         85         };
 86                                                    86 
 87 * Gianfar PTP clock nodes                          87 * Gianfar PTP clock nodes
 88                                                    88 
 89 Refer to Documentation/devicetree/bindings/ptp     89 Refer to Documentation/devicetree/bindings/ptp/fsl,ptp.yaml
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php