• Serge Semin's avatar
    dt-bindings: net: Add Synopsys DW xPCS bindings · 664690eb
    Serge Semin authored
    
    
    Synopsys DesignWare XPCS IP-core is a Physical Coding Sublayer (PCS) layer
    providing an interface between the Media Access Control (MAC) and Physical
    Medium Attachment Sublayer (PMA) through a Media independent interface.
    From software point of view it exposes IEEE std. Clause 45 CSR space and
    can be accessible either by MDIO or MCI/APB3 bus interfaces. In the former
    case the PCS device is supposed to be defined under the respective MDIO
    bus DT-node. In the later case the DW xPCS will be just a normal IO
    memory-mapped device.
    
    Besides of that DW XPCS DT-nodes can have an interrupt signal and clock
    source properties specified. The former one indicates the Clause 73/37
    auto-negotiation events like: negotiation page received, AN is completed
    or incompatible link partner. The clock DT-properties can describe up to
    three clock sources: peripheral bus clock source, internal reference clock
    and the externally connected reference clock.
    
    Finally the DW XPCS IP-core can be optionally synthesized with a
    vendor-specific interface connected to the Synopsys PMA (also called
    DesignWare Consumer/Enterprise PHY). Alas that isn't auto-detectable in a
    portable way. So if the DW XPCS device has the respective PMA attached
    then it should be reflected in the DT-node compatible string so the driver
    would be aware of the PMA-specific device capabilities (mainly connected
    with CSRs available for the fine-tunings).
    Signed-off-by: default avatarSerge Semin <fancer.lancer@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    664690eb
snps,dw-xpcs.yaml 4.46 KB