blob: 5cab2164863211a0d89e74eb559766bda7f8f547 [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---
周琰杰 (Zhou Yanjie)4f6ecfa2020-11-16 22:19:05 +08004$id: http://devicetree.org/schemas/phy/ingenic,phy-usb.yaml#
Paul Cercueiladc221b2020-02-29 13:18:19 -03005$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)4f6ecfa2020-11-16 22:19:05 +080020 - ingenic,jz4775-phy
周琰杰 (Zhou Yanjie)4afd6fe42020-07-23 14:12:58 +080021 - ingenic,jz4780-phy
22 - ingenic,x1000-phy
23 - ingenic,x1830-phy
周琰杰 (Zhou Yanjie)4f6ecfa2020-11-16 22:19:05 +080024 - ingenic,x2000-phy
Paul Cercueiladc221b2020-02-29 13:18:19 -030025
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 - |
Paul Cercueilc4a11bf2021-10-16 14:33:21 +010049 #include <dt-bindings/clock/ingenic,jz4770-cgu.h>
Paul Cercueiladc221b2020-02-29 13:18:19 -030050 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 };