brintos

brintos / linux-shallow public Read only

0
0
Text · 3.3 KiB · ce665a2 Raw
146 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/phy/fsl,mxs-usbphy.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Freescale MXS USB Phy Device8 9maintainers:10  - Xu Yang <xu.yang_2@nxp.com>11 12properties:13  compatible:14    oneOf:15      - enum:16          - fsl,imx23-usbphy17          - fsl,imx7ulp-usbphy18          - fsl,vf610-usbphy19      - items:20          - enum:21              - fsl,imx28-usbphy22              - fsl,imx6ul-usbphy23              - fsl,imx6sl-usbphy24              - fsl,imx6sx-usbphy25              - fsl,imx6q-usbphy26          - const: fsl,imx23-usbphy27      - items:28          - const: fsl,imx6sll-usbphy29          - const: fsl,imx6ul-usbphy30          - const: fsl,imx23-usbphy31      - items:32          - enum:33              - fsl,imx8dxl-usbphy34              - fsl,imx8qm-usbphy35              - fsl,imx8ulp-usbphy36          - const: fsl,imx7ulp-usbphy37 38  reg:39    maxItems: 140 41  interrupts:42    maxItems: 143 44  clocks:45    maxItems: 146 47  '#phy-cells':48    const: 049 50  power-domains:51    maxItems: 152 53  fsl,anatop:54    description:55      phandle for anatop register, it is only for imx6 SoC series.56    $ref: /schemas/types.yaml#/definitions/phandle57 58  phy-3p0-supply:59    description:60      One of USB PHY's power supply. Can be used to keep a good signal61      quality.62 63  fsl,tx-cal-45-dn-ohms:64    description:65      Resistance (in ohms) of switchable high-speed trimming resistor66      connected in parallel with the 45 ohm resistor that terminates67      the DN output signal.68    minimum: 3569    maximum: 5470    default: 4571 72  fsl,tx-cal-45-dp-ohms:73    description:74      Resistance (in ohms) of switchable high-speed trimming resistor75      connected in parallel with the 45 ohm resistor that terminates76      the DP output signal.77    minimum: 3578    maximum: 5479    default: 4580 81  fsl,tx-d-cal:82    description:83      Current trimming value (as a percentage) of the 17.78 mA TX84      reference current.85    $ref: /schemas/types.yaml#/definitions/uint3286    minimum: 7987    maximum: 11988    default: 10089 90  nxp,sim:91    description:92      The system integration module (SIM) provides system control and chip93      configuration registers.94    $ref: /schemas/types.yaml#/definitions/phandle95 96required:97  - compatible98  - reg99  - clocks100 101allOf:102  - if:103      properties:104        compatible:105          oneOf:106            - enum:107                - fsl,imx6q-usbphy108                - fsl,imx6sl-usbphy109                - fsl,imx6sx-usbphy110                - fsl,imx6sll-usbphy111                - fsl,vf610-usbphy112            - items:113                - const: fsl,imx6ul-usbphy114                - const: fsl,imx23-usbphy115    then:116      required:117        - fsl,anatop118 119  - if:120      properties:121        compatible:122          const: fsl,imx7ulp-usbphy123    then:124      required:125        - nxp,sim126    else:127      properties:128        nxp,sim: false129 130additionalProperties: false131 132examples:133  - |134    #include <dt-bindings/interrupt-controller/arm-gic.h>135    #include <dt-bindings/clock/imx6qdl-clock.h>136 137    usbphy1: usb-phy@20c9000 {138        compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";139        reg = <0x020c9000 0x1000>;140        clocks = <&clks IMX6QDL_CLK_USBPHY1>;141        interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;142        fsl,anatop = <&anatop>;143    };144 145...146