Microsemi VSC8531 Gigabit Ethernet PHY

Schema identifier ($id): "http://devicetree.org/schemas/net/mscc-phy-vsc8531.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>"

The VSC8531 is a Gigabit Ethernet PHY with configurable MAC interface drive strength and LED modes.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): ethernet-phy.yaml#

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Allowed values (enum): "ethernet-phy-id0007.0570", "ethernet-phy-id0007.0772"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "ethernet-phy-id0007.0570", "ethernet-phy-id0007.0772"

Item 2

Exact value (const): "ethernet-phy-ieee802.3-c22"

vsc8531,vddmac — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

The VDDMAC voltage in millivolts. This property is used in combination with the edge-slowdown property to control the drive strength of the MAC interface output signals.

Allowed values (enum): 3300, 2500, 1800, 1500

Default value (default): 3300

vsc8531,edge-slowdown — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Percentage by which the edge rate should be slowed down relative to the fastest possible edge time. This setting helps reduce electromagnetic interference (EMI) by adjusting the drive strength of the MAC interface output signals. Valid values depend on the vddmac voltage setting according to the edge rate change table in the datasheet.
- When vsc8531,vddmac = 3300 mV: allowed values are 0, 2, 4, 7, 10, 17, 29, and 53.
  (Recommended: 7)
- When vsc8531,vddmac = 2500 mV: allowed values are 0, 3, 6, 10, 14, 23, 37, and 63.
  (Recommended: 10)
- When vsc8531,vddmac = 1800 mV: allowed values are 0, 5, 9, 16, 23, 35, 52, and 76.
  (Recommended: 0)
- When vsc8531,vddmac = 1500 mV: allowed values are 0, 6, 14, 21, 29, 42, 58, and 77.
  (Recommended: 0)

Allowed values (enum): 0, 2, 3, 4, 5, 6, 7, 9, 10, 14, 16, 17, 21, 23, 29, 35, 37, 42, 52, 53, 58, 63, 76, 77

Default value (default): 0

vsc8531,led-0-mode — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

LED[0] behavior mode. See include/dt-bindings/net/mscc-phy-vsc8531.h for available modes.

Minimum value (minimum): 0

Maximum value (maximum): 15

Default value (default): 1

vsc8531,led-1-mode — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

LED[1] behavior mode. See include/dt-bindings/net/mscc-phy-vsc8531.h for available modes.

Minimum value (minimum): 0

Maximum value (maximum): 15

Default value (default): 2

vsc8531,led-2-mode — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

LED[2] behavior mode. See include/dt-bindings/net/mscc-phy-vsc8531.h for available modes.

Minimum value (minimum): 0

Maximum value (maximum): 15

Default value (default): 0

vsc8531,led-3-mode — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

LED[3] behavior mode. See include/dt-bindings/net/mscc-phy-vsc8531.h for available modes.

Minimum value (minimum): 0

Maximum value (maximum): 15

Default value (default): 8

load-save-gpios — not listed as required here #

GPIO phandle used for the load/save operation of the PTP hardware clock (PHC).

Maximum number of items (maxItems): 1

Property dependencies (dependencies) #

vsc8531,edge-slowdown — applies when this property is present #

Also requires: "vsc8531,vddmac"

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/net/mscc-phy-vsc8531.h>

mdio {
    #address-cells = <1>;
    #size-cells = <0>;

    ethernet-phy@0 {
        compatible = "ethernet-phy-id0007.0772", "ethernet-phy-ieee802.3-c22";
        reg = <0>;
        vsc8531,vddmac = <3300>;
        vsc8531,edge-slowdown = <7>;
        vsc8531,led-0-mode = <VSC8531_LINK_1000_ACTIVITY>;
        vsc8531,led-1-mode = <VSC8531_LINK_100_ACTIVITY>;
        load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 24: VSC8531

Line 25: VSC8541

Line 33: VSC8531

Line 34: VSC8541

Edit this page