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
37examples:
38  - |
39    #include <dt-bindings/clock/sun50i-h6-ccu.h>
40    #include <dt-bindings/reset/sun50i-h6-ccu.h>
41    phy@5210000 {
42          compatible = "allwinner,sun50i-h6-usb3-phy";
43          reg = <0x5210000 0x10000>;
44          clocks = <&ccu CLK_USB_PHY1>;
45          resets = <&ccu RST_USB_PHY1>;
46          #phy-cells = <0>;
47    };
48