ST SPEAr miphy

Schema identifier ($id): "http://devicetree.org/schemas/phy/st,spear1310-miphy.yaml#"

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

Maintainers (maintainers): "Pratyush Anand <pratyush.anand@gmail.com>"

ST Microelectronics SPEAr miphy is a phy controller supporting PCIe and SATA.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "st,spear1310-miphy", "st,spear1340-miphy"

reg — required here #

Maximum number of items (maxItems): 1

misc — required here #

Phandle for the syscon node to access misc registers.

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

#phy-cells — required here #

Cell[0] indicates interface type: 0 = SATA, 1 = PCIe.

Exact value (const): 1

phy-id — not listed as required here #

Instance id of the phy. Required when multiple PHYs are present.

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

Required in this object (required): "compatible", "reg", "misc", "#phy-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

miphy@1000 {
    compatible = "st,spear1310-miphy";
    reg = <0x1000 0x100>;
    misc = <&syscon>;
    #phy-cells = <1>;
    phy-id = <0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page