The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/phy/ti-phy-gmii-sel.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 CPSW Port's Interface Mode Selection PHY Tree Bindings
    2 -----------------------------------------------
    3 
    4 TI am335x/am437x/dra7(am5)/dm814x CPSW3G Ethernet Subsystem supports
    5 two 10/100/1000 Ethernet ports with selectable G/MII, RMII, and RGMII interfaces.
    6 The interface mode is selected by configuring the MII mode selection register(s)
    7 (GMII_SEL) in the System Control Module chapter (SCM). GMII_SEL register(s) and
    8 bit fields placement in SCM are different between SoCs while fields meaning
    9 is the same.
   10                                                +--------------+
   11         +-------------------------------+      |SCM           |
   12         |                     CPSW      |      |  +---------+ |
   13         |        +--------------------------------+gmii_sel | |
   14         |        |                      |      |  +---------+ |
   15         |   +----v---+     +--------+   |      +--------------+
   16         |   |Port 1..<--+-->GMII/MII<------->
   17         |   |        |  |  |        |   |
   18         |   +--------+  |  +--------+   |
   19         |               |               |
   20         |               |  +--------+   |
   21         |               |  | RMII   <------->
   22         |               +-->        |   |
   23         |               |  +--------+   |
   24         |               |               |
   25         |               |  +--------+   |
   26         |               |  | RGMII  <------->
   27         |               +-->        |   |
   28         |                  +--------+   |
   29         +-------------------------------+
   30 
   31 CPSW Port's Interface Mode Selection PHY describes MII interface mode between
   32 CPSW Port and Ethernet PHY which depends on Eth PHY and board configuration.
   33 
   34 CPSW Port's Interface Mode Selection PHY device should defined as child device
   35 of SCM node (scm_conf) and can be attached to each CPSW port node using standard
   36 PHY bindings (See phy/phy-bindings.txt).
   37 
   38 Required properties:
   39 - compatible            : Should be "ti,am3352-phy-gmii-sel" for am335x platform
   40                           "ti,dra7xx-phy-gmii-sel" for dra7xx/am57xx platform
   41                           "ti,am43xx-phy-gmii-sel" for am43xx platform
   42                           "ti,dm814-phy-gmii-sel" for dm814x platform
   43                           "ti,am654-phy-gmii-sel" for AM654x/J721E platform
   44 - reg                   : Address and length of the register set for the device
   45 - #phy-cells            : must be 2.
   46                           cell 1 - CPSW port number (starting from 1)
   47                           cell 2 - RMII refclk mode
   48 
   49 Examples:
   50         phy_gmii_sel: phy-gmii-sel {
   51                 compatible = "ti,am3352-phy-gmii-sel";
   52                 reg = <0x650 0x4>;
   53                 #phy-cells = <2>;
   54         };
   55 
   56         mac: ethernet@4a100000 {
   57                 compatible = "ti,am335x-cpsw","ti,cpsw";
   58                 ...
   59 
   60                 cpsw_emac0: slave@4a100200 {
   61                         ...
   62                         phys = <&phy_gmii_sel 1 1>;
   63                 };
   64 
   65                 cpsw_emac1: slave@4a100300 {
   66                         ...
   67                         phys = <&phy_gmii_sel 2 1>;
   68                 };
   69         };

Cache object: fd66494d4a71cc8f859bdd42bac13ad6


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.