Socionext UniPhier AHCI PHY

Schema identifier ($id): "http://devicetree.org/schemas/phy/socionext,uniphier-ahci-phy.yaml#"

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

This describes the deivcetree bindings for PHY interfaces built into AHCI controller implemented on Socionext UniPhier SoCs.

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "socionext,uniphier-pro4-ahci-phy", "socionext,uniphier-pxs2-ahci-phy", "socionext,uniphier-pxs3-ahci-phy"

reg — required here #

Maximum number of items (maxItems): 1

#phy-cells — required here #

Exact value (const): 0

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 6

resets — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 6

reset-names — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 6

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "socionext,uniphier-pro4-ahci-phy"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "link"

Item 2

Exact value (const): "gio"

resets — not listed as required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

reset-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "link"

Item 2

Exact value (const): "gio"

Item 3

Exact value (const): "phy"

Item 4

Exact value (const): "pm"

Item 5

Exact value (const): "tx"

Item 6

Exact value (const): "rx"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "socionext,uniphier-pxs2-ahci-phy"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

Exact value (const): "link"

resets — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

reset-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "link"

Item 2

Exact value (const): "phy"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "socionext,uniphier-pxs3-ahci-phy"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "link"

Item 2

Exact value (const): "phy"

resets — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

reset-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "link"

Item 2

Exact value (const): "phy"

Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "clock-names", "resets", "reset-names"

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

false

Not allowed by this rule.

Examples (examples) #

ahci_phy: phy@10 {
    compatible = "socionext,uniphier-pxs3-ahci-phy";
    reg = <0x10 0x10>;
    #phy-cells = <0>;
    clock-names = "link", "phy";
    clocks = <&sys_clk 28>, <&sys_clk 30>;
    reset-names = "link", "phy";
    resets = <&sys_rst 28>, <&sys_rst 30>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page