xref: /linux/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml (revision ab93e0dd72c37d378dd936f031ffb83ff2bd87ce)
1580f4ea2SPeng Fan# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2580f4ea2SPeng Fan%YAML 1.2
3580f4ea2SPeng Fan---
4580f4ea2SPeng Fan$id: http://devicetree.org/schemas/usb/fsl,usbmisc.yaml#
5580f4ea2SPeng Fan$schema: http://devicetree.org/meta-schemas/core.yaml#
6580f4ea2SPeng Fan
7580f4ea2SPeng Fantitle: Freescale i.MX wrapper module for Chipidea USB2 controller
8580f4ea2SPeng Fan
9580f4ea2SPeng Fanmaintainers:
10580f4ea2SPeng Fan  - Xu Yang <xu.yang_2@nxp.com>
11580f4ea2SPeng Fan  - Peng Fan <peng.fan@nxp.com>
12580f4ea2SPeng Fan
13580f4ea2SPeng Fanproperties:
14580f4ea2SPeng Fan  compatible:
15580f4ea2SPeng Fan    oneOf:
16580f4ea2SPeng Fan      - enum:
17580f4ea2SPeng Fan          - fsl,imx25-usbmisc
18580f4ea2SPeng Fan          - fsl,imx27-usbmisc
19580f4ea2SPeng Fan          - fsl,imx35-usbmisc
20580f4ea2SPeng Fan          - fsl,imx51-usbmisc
21580f4ea2SPeng Fan          - fsl,imx53-usbmisc
22580f4ea2SPeng Fan          - fsl,imx6q-usbmisc
23580f4ea2SPeng Fan          - fsl,vf610-usbmisc
24580f4ea2SPeng Fan          - nxp,s32g2-usbmisc
25580f4ea2SPeng Fan          - nxp,s32g3-usbmisc
26580f4ea2SPeng Fan      - items:
27580f4ea2SPeng Fan          - enum:
28580f4ea2SPeng Fan              - fsl,imx6ul-usbmisc
29580f4ea2SPeng Fan              - fsl,imx6sl-usbmisc
30580f4ea2SPeng Fan              - fsl,imx6sx-usbmisc
31580f4ea2SPeng Fan              - fsl,imx7d-usbmisc
32580f4ea2SPeng Fan          - const: fsl,imx6q-usbmisc
33580f4ea2SPeng Fan      - items:
34580f4ea2SPeng Fan          - enum:
35580f4ea2SPeng Fan              - fsl,imx7ulp-usbmisc
366687155fSXu Yang              - fsl,imx8mm-usbmisc
37*bd3c096cSXu Yang              - fsl,imx8mn-usbmisc
38580f4ea2SPeng Fan              - fsl,imx8ulp-usbmisc
39580f4ea2SPeng Fan              - fsl,imx95-usbmisc
40580f4ea2SPeng Fan          - const: fsl,imx7d-usbmisc
41580f4ea2SPeng Fan          - const: fsl,imx6q-usbmisc
42580f4ea2SPeng Fan      - items:
43580f4ea2SPeng Fan          - const: fsl,imx6sll-usbmisc
44580f4ea2SPeng Fan          - const: fsl,imx6ul-usbmisc
45580f4ea2SPeng Fan          - const: fsl,imx6q-usbmisc
46580f4ea2SPeng Fan
47580f4ea2SPeng Fan  clocks:
48580f4ea2SPeng Fan    maxItems: 1
49*bd3c096cSXu Yang
50*bd3c096cSXu Yang  reg:
51*bd3c096cSXu Yang    minItems: 1
52*bd3c096cSXu Yang    items:
53580f4ea2SPeng Fan      - description: Base and length of the Wrapper module register
54580f4ea2SPeng Fan      - description: Base and length of the HSIO Block Control register
55580f4ea2SPeng Fan
56580f4ea2SPeng Fan  '#index-cells':
57580f4ea2SPeng Fan    const: 1
58580f4ea2SPeng Fan    description: Cells used to describe usb controller index.
59580f4ea2SPeng Fan    deprecated: true
60580f4ea2SPeng Fan
61580f4ea2SPeng Fanrequired:
62580f4ea2SPeng Fan  - compatible
63*bd3c096cSXu Yang  - reg
64*bd3c096cSXu Yang
65*bd3c096cSXu YangallOf:
66*bd3c096cSXu Yang  # imx95 soc needs use HSIO Block Control
67*bd3c096cSXu Yang  - if:
68*bd3c096cSXu Yang      properties:
69*bd3c096cSXu Yang        compatible:
70*bd3c096cSXu Yang          contains:
71*bd3c096cSXu Yang            enum:
72*bd3c096cSXu Yang              - fsl,imx95-usbmisc
73*bd3c096cSXu Yang    then:
74*bd3c096cSXu Yang      properties:
75*bd3c096cSXu Yang        reg:
76*bd3c096cSXu Yang          minItems: 2
77*bd3c096cSXu Yang    else:
78*bd3c096cSXu Yang      properties:
79*bd3c096cSXu Yang        reg:
80580f4ea2SPeng Fan          maxItems: 1
81580f4ea2SPeng Fan
82580f4ea2SPeng FanadditionalProperties: false
83580f4ea2SPeng Fan
84580f4ea2SPeng Fanexamples:
85580f4ea2SPeng Fan  - |
86580f4ea2SPeng Fan    usbmisc@2184800 {
87580f4ea2SPeng Fan        compatible = "fsl,imx6q-usbmisc";
88580f4ea2SPeng Fan        reg = <0x02184800 0x200>;
89580f4ea2SPeng Fan        #index-cells = <1>;
90580f4ea2SPeng Fan    };
91
92...
93