Lantiq VRX200 and ARX300 PCIe PHY

Schema identifier ($id): "http://devicetree.org/schemas/phy/lantiq,vrx200-pcie-phy.yaml#"

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

Maintainers (maintainers): "Martin Blumenstingl <martin.blumenstingl@googlemail.com>"

Properties and child nodes (properties) #

#phy-cells — required here #

Exact value (const): 1

selects the PHY mode as defined in <dt-bindings/phy/phy-lantiq-vrx200-pcie.h>

compatible — required here #

Allowed values (enum): "lantiq,vrx200-pcie-phy", "lantiq,arx300-pcie-phy"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

PHY module clock

Item 2

PDI register clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "phy"

Item 2

Exact value (const): "pdi"

resets — required here #

Array item rules (items) #

Item 1

exclusive PHY reset line

Item 2

shared reset line between the PCIe PHY and PCIe controller

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "phy"

Item 2

Exact value (const): "pcie"

lantiq,rcu — required here #

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

phandle to the RCU syscon

lantiq,rcu-endian-offset — required here #

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

the offset of the endian registers for this PHY instance in the RCU syscon

lantiq,rcu-big-endian-mask — required here #

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

the mask to set the PDI (PHY) registers for this PHY instance to big endian

big-endian — not listed as required here #

Configures the PDI (PHY) registers in big-endian mode

Value type (type): "boolean"

little-endian — not listed as required here #

Configures the PDI (PHY) registers in big-endian mode

Value type (type): "boolean"

Required in this object (required): "#phy-cells", "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "lantiq,rcu", "lantiq,rcu-endian-offset", "lantiq,rcu-big-endian-mask"

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

false

Not allowed by this rule.

Examples (examples) #

pcie0_phy: phy@106800 {
    compatible = "lantiq,vrx200-pcie-phy";
    reg = <0x106800 0x100>;
    lantiq,rcu = <&rcu0>;
    lantiq,rcu-endian-offset = <0x4c>;
    lantiq,rcu-big-endian-mask = <0x80>; /* bit 7 */
    big-endian;
    clocks = <&pmu 32>, <&pmu 36>;
    clock-names = "phy", "pdi";
    resets = <&reset0 12 24>, <&reset0 22 22>;
    reset-names = "phy", "pcie";
    #phy-cells = <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