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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/net/ti,dp83822.yaml

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 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
  2 # Copyright (C) 2020 Texas Instruments Incorporated
  3 %YAML 1.2
  4 ---
  5 $id: http://devicetree.org/schemas/net/ti,dp83822.yaml#
  6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7 
  8 title: TI DP83822 ethernet PHY
  9 
 10 maintainers:
 11   - Andrew Davis <afd@ti.com>
 12 
 13 description: |
 14   The DP83822 is a low-power, single-port, 10/100 Mbps Ethernet PHY. It
 15   provides all of the physical layer functions needed to transmit and receive
 16   data over standard, twisted-pair cables or to connect to an external,
 17   fiber-optic transceiver. Additionally, the DP83822 provides flexibility to
 18   connect to a MAC through a standard MII, RMII, or RGMII interface
 19 
 20   Specifications about the Ethernet PHY can be found at:
 21     http://www.ti.com/lit/ds/symlink/dp83822i.pdf
 22 
 23 allOf:
 24   - $ref: ethernet-phy.yaml#
 25 
 26 properties:
 27   reg:
 28     maxItems: 1
 29 
 30   ti,link-loss-low:
 31     type: boolean
 32     description: |
 33        DP83822 PHY in Fiber mode only.
 34        Sets the DP83822 to detect a link drop condition when the signal goes
 35        high.  If not set then link drop will occur when the signal goes low.
 36        This property is only applicable if the fiber mode support is strapped
 37        to on.
 38 
 39   ti,fiber-mode:
 40     type: boolean
 41     description: |
 42        DP83822 PHY only.
 43        If present the DP83822 PHY is configured to operate in fiber mode
 44        Fiber mode support can also be strapped. If the strap pin is not set
 45        correctly or not set at all then this boolean can be used to enable it.
 46        If the fiber mode is not strapped then signal detection for the PHY
 47        is disabled.
 48        In fiber mode, auto-negotiation is disabled and the PHY can only work in
 49        100base-fx (full and half duplex) modes.
 50 
 51   rx-internal-delay-ps:
 52     description: |
 53        DP83822 PHY only.
 54        Setting this property to a non-zero number sets the RX internal delay
 55        for the PHY.  The internal delay for the PHY is fixed to 3.5ns relative
 56        to receive data.
 57 
 58   tx-internal-delay-ps:
 59     description: |
 60        DP83822 PHY only.
 61        Setting this property to a non-zero number sets the TX internal delay
 62        for the PHY.  The internal delay for the PHY is fixed to 3.5ns relative
 63        to transmit data.
 64 
 65   ti,cfg-dac-minus-one-bp:
 66     description: |
 67        DP83826 PHY only.
 68        Sets the voltage ratio (with respect to the nominal value)
 69        of the logical level -1 for the MLT-3 encoded TX data.
 70     enum: [5000, 5625, 6250, 6875, 7500, 8125, 8750, 9375, 10000,
 71            10625, 11250, 11875, 12500, 13125, 13750, 14375, 15000]
 72     default: 10000
 73 
 74   ti,cfg-dac-plus-one-bp:
 75     description: |
 76        DP83826 PHY only.
 77        Sets the voltage ratio (with respect to the nominal value)
 78        of the logical level +1 for the MLT-3 encoded TX data.
 79     enum: [5000, 5625, 6250, 6875, 7500, 8125, 8750, 9375, 10000,
 80            10625, 11250, 11875, 12500, 13125, 13750, 14375, 15000]
 81     default: 10000
 82 
 83   ti,rmii-mode:
 84     description: |
 85        If present, select the RMII operation mode. Two modes are
 86        available:
 87          - RMII master, where the PHY outputs a 50MHz reference clock which can
 88          be connected to the MAC.
 89          - RMII slave, where the PHY expects a 50MHz reference clock input
 90          shared with the MAC.
 91        The RMII operation mode can also be configured by its straps.
 92        If the strap pin is not set correctly or not set at all, then this can be
 93        used to configure it.
 94     $ref: /schemas/types.yaml#/definitions/string
 95     enum:
 96       - master
 97       - slave
 98 
 99 required:
100   - reg
101 
102 unevaluatedProperties: false
103 
104 examples:
105   - |
106     mdio0 {
107       #address-cells = <1>;
108       #size-cells = <0>;
109       ethphy0: ethernet-phy@0 {
110         reg = <0>;
111         rx-internal-delay-ps = <1>;
112         tx-internal-delay-ps = <1>;
113       };
114     };
115 
116 ...

~ [ 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