Freescale i.MX8 SoC series PCIe PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/fsl,imx8-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Richard Zhu <hongxing.zhu@nxp.com>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 0
compatible — required here #
Allowed values (enum): "fsl,imx8mm-pcie-phy", "fsl,imx8mp-pcie-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
resets — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"pciephy"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"pciephy"Item 2
Exact value (
const):"perst"
fsl,refclk-pad-mode — required here #
Specifies the mode of the refclk pad used. It can be UNUSED(PHY refclock is derived from SoC internal source), INPUT(PHY refclock is provided externally via the refclk pad) or OUTPUT(PHY refclock is derived from SoC internal source and provided on the refclk pad). Refer include/dt-bindings/phy/phy-imx8-pcie.h for the constants to be used.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
fsl,tx-deemph-gen1 — not listed as required here #
Gen1 De-emphasis value (optional).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
fsl,tx-deemph-gen2 — not listed as required here #
Gen2 De-emphasis value (optional).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
fsl,clkreq-unsupported — not listed as required here #
Value type (type): "boolean"
A boolean property indicating the CLKREQ# signal is not supported in the board design (optional)
power-domains — not listed as required here #
PCIe PHY power domain (optional).
Maximum number of items (maxItems): 1
Required in this object (required): "#phy-cells", "compatible", "reg", "clocks", "clock-names", "fsl,refclk-pad-mode"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mm-clock.h>
#include <dt-bindings/phy/phy-imx8-pcie.h>
#include <dt-bindings/reset/imx8mq-reset.h>
pcie_phy: pcie-phy@32f00000 {
compatible = "fsl,imx8mm-pcie-phy";
reg = <0x32f00000 0x10000>;
clocks = <&clk IMX8MM_CLK_PCIE1_PHY>;
clock-names = "ref";
assigned-clocks = <&clk IMX8MM_CLK_PCIE1_PHY>;
assigned-clock-rates = <100000000>;
assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_100M>;
resets = <&src IMX8MQ_RESET_PCIEPHY>;
reset-names = "pciephy";
fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 37: for iMX8MM
Line 39: for IMX8MP