summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml
blob: e5922b42734267b470c3c97f74852eb91a09e6db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
# Copyright 2019 Ondrej Jirman <megous@megous.com>
%YAML 1.2
---
$id: "http://devicetree.org/schemas/phy/allwinner,sun50i-h6-usb3-phy.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"

title: Allwinner H6 USB3 PHY

maintainers:
  - Ondrej Jirman <megous@megous.com>

properties:
  compatible:
    enum:
      - allwinner,sun50i-h6-usb3-phy

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  resets:
    maxItems: 1

  "#phy-cells":
    const: 0

required:
  - compatible
  - reg
  - clocks
  - resets
  - "#phy-cells"

examples:
  - |
    #include <dt-bindings/clock/sun50i-h6-ccu.h>
    #include <dt-bindings/reset/sun50i-h6-ccu.h>
    phy@5210000 {
          compatible = "allwinner,sun50i-h6-usb3-phy";
          reg = <0x5210000 0x10000>;
          clocks = <&ccu CLK_USB_PHY1>;
          resets = <&ccu RST_USB_PHY1>;
          #phy-cells = <0>;
    };