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