Socionext UniPhier PCIe PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/socionext,uniphier-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This describes the devicetree bindings for PHY interface built into PCIe 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-pro5-pcie-phy", "socionext,uniphier-ld20-pcie-phy", "socionext,uniphier-pxs3-pcie-phy", "socionext,uniphier-nx1-pcie-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): 2
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
socionext,syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle to system control to set configurations for phy
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"socionext,uniphier-pro5-pcie-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"gio"Item 2
Exact value (
const):"link"
resets— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"gio"Item 2
Exact value (
const):"link"When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereExact value (
const):"link"
resets— not listed as required hereMaximum number of items (
maxItems):1
reset-names— not listed as required hereExact value (
const):"link"
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) #
pcie_phy: phy@66038000 {
compatible = "socionext,uniphier-ld20-pcie-phy";
reg = <0x66038000 0x4000>;
#phy-cells = <0>;
clock-names = "link";
clocks = <&sys_clk 24>;
reset-names = "link";
resets = <&sys_rst 24>;
socionext,syscon = <&soc_glue>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)