Marvell Berlin SATA PHY

Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,berlin2-sata-phy.yaml#"

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

Maintainers (maintainers): "Antoine Tenart <atenart@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "marvell,berlin2-sata-phy", "marvell,berlin2q-sata-phy"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

#phy-cells — required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^sata-phy@[0-1]$ — name matches this regular expression #

A SATA PHY sub-node.

Value type (type): "object"

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

reg — required here

Maximum value (maximum): 1

PHY index number.

Required in this object (required): "reg"

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/berlin2q.h>

phy@f7e900a0 {
    compatible = "marvell,berlin2q-sata-phy";
    reg = <0xf7e900a0 0x200>;
    clocks = <&chip CLKID_SATA>;
    #address-cells = <1>;
    #size-cells = <0>;
    #phy-cells = <1>;

    sata-phy@0 {
        reg = <0>;
    };

    sata-phy@1 {
        reg = <1>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page