StarFive JH7110 PCIe 2.0 PHY

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

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

Maintainers (maintainers): "Minda Chen <minda.chen@starfivetech.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "starfive,jh7110-pcie-phy"

reg — required here #

Maximum number of items (maxItems): 1

#phy-cells — required here #

Exact value (const): 0

starfive,sys-syscon — not listed as required here #

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

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to System Register Controller sys_syscon node.

Item 2

PHY connect offset of SYS_SYSCONSAIF__SYSCFG register for USB PHY.

The phandle to System Register Controller syscon node and the PHY connect offset of SYS_SYSCONSAIF__SYSCFG register. Connect PHY to USB3 controller.

starfive,stg-syscon — not listed as required here #

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

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to System Register Controller stg_syscon node.

Item 2

PHY mode offset of STG_SYSCONSAIF__SYSCFG register.

Item 3

PHY enable for USB offset of STG_SYSCONSAIF__SYSCFG register.

The phandle to System Register Controller syscon node and the offset of STG_SYSCONSAIF__SYSCFG register for PCIe PHY. Total 2 regsisters offset.

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

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

false

Not allowed by this rule.

Examples (examples) #

phy@10210000 {
    compatible = "starfive,jh7110-pcie-phy";
    reg = <0x10210000 0x10000>;
    #phy-cells = <0>;
    starfive,sys-syscon = <&sys_syscon 0x18>;
    starfive,stg-syscon = <&stg_syscon 0x148 0x1f4>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page