blob: f4b1ca2fb56253f221e41ea54a576836aae58dae [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
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 Device
8
9maintainers:
10 - Xu Yang <xu.yang_2@nxp.com>
11
12properties:
13 compatible:
14 oneOf:
15 - enum:
16 - fsl,imx23-usbphy
17 - fsl,imx7ulp-usbphy
18 - fsl,vf610-usbphy
19 - items:
20 - enum:
21 - fsl,imx28-usbphy
22 - fsl,imx6ul-usbphy
23 - fsl,imx6sl-usbphy
24 - fsl,imx6sx-usbphy
25 - fsl,imx6q-usbphy
26 - const: fsl,imx23-usbphy
27 - items:
28 - const: fsl,imx6sll-usbphy
29 - const: fsl,imx6ul-usbphy
30 - const: fsl,imx23-usbphy
31 - items:
32 - enum:
33 - fsl,imx8dxl-usbphy
34 - fsl,imx8qm-usbphy
35 - fsl,imx8ulp-usbphy
36 - const: fsl,imx7ulp-usbphy
37
38 reg:
39 maxItems: 1
40
41 interrupts:
42 maxItems: 1
43
44 clocks:
45 maxItems: 1
46
47 '#phy-cells':
48 const: 0
49
50 power-domains:
51 maxItems: 1
52
53 fsl,anatop:
54 description:
55 phandle for anatop register, it is only for imx6 SoC series.
56 $ref: /schemas/types.yaml#/definitions/phandle
57
58 phy-3p0-supply:
59 description:
60 One of USB PHY's power supply. Can be used to keep a good signal
61 quality.
62
63 fsl,tx-cal-45-dn-ohms:
64 description:
65 Resistance (in ohms) of switchable high-speed trimming resistor
66 connected in parallel with the 45 ohm resistor that terminates
67 the DN output signal.
68 minimum: 35
69 maximum: 54
70 default: 45
71
72 fsl,tx-cal-45-dp-ohms:
73 description:
74 Resistance (in ohms) of switchable high-speed trimming resistor
75 connected in parallel with the 45 ohm resistor that terminates
76 the DP output signal.
77 minimum: 35
78 maximum: 54
79 default: 45
80
81 fsl,tx-d-cal:
82 description:
83 Current trimming value (as a percentage) of the 17.78 mA TX
84 reference current.
85 $ref: /schemas/types.yaml#/definitions/uint32
86 minimum: 79
87 maximum: 119
88 default: 100
89
90required:
91 - compatible
92 - reg
93 - clocks
94
95allOf:
96 - if:
97 properties:
98 compatible:
99 oneOf:
100 - enum:
101 - fsl,imx6q-usbphy
102 - fsl,imx6sl-usbphy
103 - fsl,imx6sx-usbphy
104 - fsl,imx6sll-usbphy
105 - fsl,vf610-usbphy
106 - items:
107 - const: fsl,imx6ul-usbphy
108 - const: fsl,imx23-usbphy
109 then:
110 required:
111 - fsl,anatop
112
113additionalProperties: false
114
115examples:
116 - |
117 #include <dt-bindings/interrupt-controller/arm-gic.h>
118 #include <dt-bindings/clock/imx6qdl-clock.h>
119
120 usbphy1: usb-phy@20c9000 {
121 compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
122 reg = <0x020c9000 0x1000>;
123 clocks = <&clks IMX6QDL_CLK_USBPHY1>;
124 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
125 fsl,anatop = <&anatop>;
126 };
127
128...