xref: /linux/Documentation/devicetree/bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml (revision 175ae3ad59ab3459652bd2ae3bbc1785aeba1bf3)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2# Copyright 2019 Ondrej Jirman <megous@megous.com>
3%YAML 1.2
4---
5$id: "http://devicetree.org/schemas/phy/allwinner,sun50i-h6-usb3-phy.yaml#"
6$schema: "http://devicetree.org/meta-schemas/core.yaml#"
7
8title: Allwinner H6 USB3 PHY
9
10maintainers:
11  - Ondrej Jirman <megous@megous.com>
12
13properties:
14  compatible:
15    enum:
16      - allwinner,sun50i-h6-usb3-phy
17
18  reg:
19    maxItems: 1
20
21  clocks:
22    maxItems: 1
23
24  resets:
25    maxItems: 1
26
27  "#phy-cells":
28    const: 0
29
30required:
31  - compatible
32  - reg
33  - clocks
34  - resets
35  - "#phy-cells"
36
37additionalProperties: false
38
39examples:
40  - |
41    #include <dt-bindings/clock/sun50i-h6-ccu.h>
42    #include <dt-bindings/reset/sun50i-h6-ccu.h>
43    phy@5210000 {
44          compatible = "allwinner,sun50i-h6-usb3-phy";
45          reg = <0x5210000 0x10000>;
46          clocks = <&ccu CLK_USB_PHY1>;
47          resets = <&ccu RST_USB_PHY1>;
48          #phy-cells = <0>;
49    };
50