WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / phy / ingenic,phy-usb.yaml
blob0fd93d71fe5a935de96cb6a3581fb2ba161f2613
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#
7 title: Ingenic SoCs USB PHY devicetree bindings
9 maintainers:
10   - Paul Cercueil <paul@crapouillou.net>
11   - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
13 properties:
14   $nodename:
15     pattern: '^usb-phy@.*'
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
26   reg:
27     maxItems: 1
29   clocks:
30     maxItems: 1
32   vcc-supply:
33     description: VCC power supply
35   '#phy-cells':
36     const: 0
38 required:
39   - compatible
40   - reg
41   - clocks
42   - vcc-supply
43   - '#phy-cells'
45 additionalProperties: false
47 examples:
48   - |
49     #include <dt-bindings/clock/jz4770-cgu.h>
50     otg_phy: usb-phy@3c {
51       compatible = "ingenic,jz4770-phy";
52       reg = <0x3c 0x10>;
54       vcc-supply = <&vcc>;
55       clocks = <&cgu JZ4770_CLK_OTG_PHY>;
57       #phy-cells = <0>;
58     };