~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/phy/fsl,imx8-pcie-phy.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/phy/fsl,imx8-pcie-phy.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Freescale i.MX8 SoC series PCIe PHY
  8 
  9 maintainers:
 10   - Richard Zhu <hongxing.zhu@nxp.com>
 11 
 12 properties:
 13   "#phy-cells":
 14     const: 0
 15 
 16   compatible:
 17     enum:
 18       - fsl,imx8mm-pcie-phy
 19       - fsl,imx8mp-pcie-phy
 20 
 21   reg:
 22     maxItems: 1
 23 
 24   clocks:
 25     maxItems: 1
 26 
 27   clock-names:
 28     items:
 29       - const: ref
 30 
 31   resets:
 32     minItems: 1
 33     maxItems: 2
 34 
 35   reset-names:
 36     oneOf:
 37       - items:          # for iMX8MM
 38           - const: pciephy
 39       - items:          # for IMX8MP
 40           - const: pciephy
 41           - const: perst
 42 
 43   fsl,refclk-pad-mode:
 44     description: |
 45       Specifies the mode of the refclk pad used. It can be UNUSED(PHY
 46       refclock is derived from SoC internal source), INPUT(PHY refclock
 47       is provided externally via the refclk pad) or OUTPUT(PHY refclock
 48       is derived from SoC internal source and provided on the refclk pad).
 49       Refer include/dt-bindings/phy/phy-imx8-pcie.h for the constants
 50       to be used.
 51     $ref: /schemas/types.yaml#/definitions/uint32
 52     enum: [ 0, 1, 2 ]
 53 
 54   fsl,tx-deemph-gen1:
 55     description: Gen1 De-emphasis value (optional).
 56     $ref: /schemas/types.yaml#/definitions/uint32
 57     default: 0
 58 
 59   fsl,tx-deemph-gen2:
 60     description: Gen2 De-emphasis value (optional).
 61     $ref: /schemas/types.yaml#/definitions/uint32
 62     default: 0
 63 
 64   fsl,clkreq-unsupported:
 65     type: boolean
 66     description: A boolean property indicating the CLKREQ# signal is
 67       not supported in the board design (optional)
 68 
 69   power-domains:
 70     description: PCIe PHY  power domain (optional).
 71     maxItems: 1
 72 
 73 required:
 74   - "#phy-cells"
 75   - compatible
 76   - reg
 77   - clocks
 78   - clock-names
 79   - fsl,refclk-pad-mode
 80 
 81 additionalProperties: false
 82 
 83 examples:
 84   - |
 85     #include <dt-bindings/clock/imx8mm-clock.h>
 86     #include <dt-bindings/phy/phy-imx8-pcie.h>
 87     #include <dt-bindings/reset/imx8mq-reset.h>
 88 
 89     pcie_phy: pcie-phy@32f00000 {
 90             compatible = "fsl,imx8mm-pcie-phy";
 91             reg = <0x32f00000 0x10000>;
 92             clocks = <&clk IMX8MM_CLK_PCIE1_PHY>;
 93             clock-names = "ref";
 94             assigned-clocks = <&clk IMX8MM_CLK_PCIE1_PHY>;
 95             assigned-clock-rates = <100000000>;
 96             assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_100M>;
 97             resets = <&src IMX8MQ_RESET_PCIEPHY>;
 98             reset-names = "pciephy";
 99             fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
100             #phy-cells = <0>;
101     };
102 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php