xref: /linux/Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml (revision be239684b18e1cdcafcf8c7face4a2f562c745ad)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/phy/ingenic,phy-usb.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Ingenic SoCs USB PHY
8
9maintainers:
10  - Paul Cercueil <paul@crapouillou.net>
11  - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
12
13properties:
14  $nodename:
15    pattern: '^usb-phy@.*'
16
17  compatible:
18    enum:
19      - ingenic,jz4770-phy
20      - ingenic,jz4775-phy
21      - ingenic,jz4780-phy
22      - ingenic,x1000-phy
23      - ingenic,x1830-phy
24      - ingenic,x2000-phy
25
26  reg:
27    maxItems: 1
28
29  clocks:
30    maxItems: 1
31
32  vcc-supply:
33    description: VCC power supply
34
35  '#phy-cells':
36    const: 0
37
38required:
39  - compatible
40  - reg
41  - clocks
42  - vcc-supply
43  - '#phy-cells'
44
45additionalProperties: false
46
47examples:
48  - |
49    #include <dt-bindings/clock/ingenic,jz4770-cgu.h>
50    otg_phy: usb-phy@3c {
51      compatible = "ingenic,jz4770-phy";
52      reg = <0x3c 0x10>;
53
54      vcc-supply = <&vcc>;
55      clocks = <&cgu JZ4770_CLK_OTG_PHY>;
56
57      #phy-cells = <0>;
58    };
59