summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/phy/spacemit,usb2-phy.yaml
blob: 18025e5f60d69110f0b504d34c2e120178525fbf (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/spacemit,usb2-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: SpacemiT K1/K3 SoC USB 2.0 PHY

maintainers:
  - Ze Huang <huang.ze@linux.dev>

properties:
  compatible:
    enum:
      - spacemit,k1-usb2-phy
      - spacemit,k3-usb2-phy

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  "#phy-cells":
    const: 0

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

additionalProperties: false

examples:
  - |
    usb-phy@c09c0000 {
        compatible = "spacemit,k1-usb2-phy";
        reg = <0xc09c0000 0x200>;
        clocks = <&syscon_apmu 15>;
        #phy-cells = <0>;
    };