xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/usb.yaml (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun%YAML 1.2
3*4882a593Smuzhiyun---
4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/usb/usb.yaml#
5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml#
6*4882a593Smuzhiyun
7*4882a593Smuzhiyuntitle: Generic USB Controller Device Tree Bindings
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunmaintainers:
10*4882a593Smuzhiyun  - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11*4882a593Smuzhiyun
12*4882a593Smuzhiyunselect: false
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunproperties:
15*4882a593Smuzhiyun  $nodename:
16*4882a593Smuzhiyun    pattern: "^usb(@.*)?"
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun  phys:
19*4882a593Smuzhiyun    $ref: /schemas/types.yaml#/definitions/phandle-array
20*4882a593Smuzhiyun    description:
21*4882a593Smuzhiyun      List of all the USB PHYs on this HCD
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun  phy-names:
24*4882a593Smuzhiyun    description:
25*4882a593Smuzhiyun      Name specifier for the USB PHY
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun  usb-phy:
28*4882a593Smuzhiyun    $ref: /schemas/types.yaml#/definitions/phandle-array
29*4882a593Smuzhiyun    description:
30*4882a593Smuzhiyun      List of all the USB PHYs on this HCD to be accepted by the legacy USB
31*4882a593Smuzhiyun      Physical Layer subsystem.
32*4882a593Smuzhiyun    deprecated: true
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun  phy_type:
35*4882a593Smuzhiyun    description:
36*4882a593Smuzhiyun      Tells USB controllers that we want to configure the core to support a
37*4882a593Smuzhiyun      UTMI+ PHY with an 8- or 16-bit interface if UTMI+ is selected, UTMI+ low
38*4882a593Smuzhiyun      pin interface if ULPI is specified, Serial core/PHY interconnect if
39*4882a593Smuzhiyun      serial is specified and High-Speed Inter-Chip feature if HSIC is
40*4882a593Smuzhiyun      selected. In case this isn't passed via DT, USB controllers should
41*4882a593Smuzhiyun      default to HW capability.
42*4882a593Smuzhiyun    $ref: /schemas/types.yaml#/definitions/string
43*4882a593Smuzhiyun    enum: [utmi, utmi_wide, ulpi, serial, hsic]
44*4882a593Smuzhiyun
45*4882a593Smuzhiyun  maximum-speed:
46*4882a593Smuzhiyun    description:
47*4882a593Smuzhiyun      Tells USB controllers we want to work up to a certain speed. In case this
48*4882a593Smuzhiyun      isn't passed via DT, USB controllers should default to their maximum HW
49*4882a593Smuzhiyun      capability.
50*4882a593Smuzhiyun    $ref: /schemas/types.yaml#/definitions/string
51*4882a593Smuzhiyun    enum:
52*4882a593Smuzhiyun      - low-speed
53*4882a593Smuzhiyun      - full-speed
54*4882a593Smuzhiyun      - high-speed
55*4882a593Smuzhiyun      - super-speed
56*4882a593Smuzhiyun      - super-speed-plus
57*4882a593Smuzhiyun      - super-speed-plus-gen2x1
58*4882a593Smuzhiyun      - super-speed-plus-gen1x2
59*4882a593Smuzhiyun      - super-speed-plus-gen2x2
60*4882a593Smuzhiyun
61*4882a593SmuzhiyunadditionalProperties: true
62*4882a593Smuzhiyun
63*4882a593Smuzhiyun...
64