summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml
blob: 269e9f9f12b6266b16aa21d7c9f2e8f79ebbe8c8 (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
48
49
50
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/starfive,jh7110-usb-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: StarFive JH7110 USB 2.0 PHY

maintainers:
  - Minda Chen <minda.chen@starfivetech.com>

properties:
  compatible:
    const: starfive,jh7110-usb-phy

  reg:
    maxItems: 1

  "#phy-cells":
    const: 0

  clocks:
    items:
      - description: PHY 125m
      - description: app 125m

  clock-names:
    items:
      - const: 125m
      - const: app_125m

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

additionalProperties: false

examples:
  - |
    phy@10200000 {
        compatible = "starfive,jh7110-usb-phy";
        reg = <0x10200000 0x10000>;
        clocks = <&syscrg 95>,
                 <&stgcrg 6>;
        clock-names = "125m", "app_125m";
        #phy-cells = <0>;
    };