MediaTek PCIe PHY

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

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

Maintainers (maintainers): "Jianjun Wang <jianjun.wang@mediatek.com>"

The PCIe PHY supports physical layer functionality for PCIe Gen3 port.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "mediatek,mt8195-pcie-phy"

reg — required here #

Maximum number of items (maxItems): 1

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "sif"

#phy-cells — required here #

Exact value (const): 0

nvmem-cells — not listed as required here #

Maximum number of items (maxItems): 7

Phandles to nvmem cell that contains the efuse data, if unspecified, default value is used.

nvmem-cell-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "glb_intr"

Item 2

Exact value (const): "tx_ln0_pmos"

Item 3

Exact value (const): "tx_ln0_nmos"

Item 4

Exact value (const): "rx_ln0"

Item 5

Exact value (const): "tx_ln1_pmos"

Item 6

Exact value (const): "tx_ln1_nmos"

Item 7

Exact value (const): "rx_ln1"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

phy@11e80000 {
    compatible = "mediatek,mt8195-pcie-phy";
    #phy-cells = <0>;
    reg = <0x11e80000 0x10000>;
    reg-names = "sif";
    nvmem-cells = <&pciephy_glb_intr>,
                  <&pciephy_tx_ln0_pmos>,
                  <&pciephy_tx_ln0_nmos>,
                  <&pciephy_rx_ln0>,
                  <&pciephy_tx_ln1_pmos>,
                  <&pciephy_tx_ln1_nmos>,
                  <&pciephy_rx_ln1>;
    nvmem-cell-names = "glb_intr", "tx_ln0_pmos",
                       "tx_ln0_nmos", "rx_ln0",
                       "tx_ln1_pmos", "tx_ln1_nmos",
                       "rx_ln1";
    power-domains = <&spm 2>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page