xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/amlogic,meson-g12a-usb2-phy.yaml (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*4882a593Smuzhiyun# Copyright 2019 BayLibre, SAS
3*4882a593Smuzhiyun%YAML 1.2
4*4882a593Smuzhiyun---
5*4882a593Smuzhiyun$id: "http://devicetree.org/schemas/phy/amlogic,meson-g12a-usb2-phy.yaml#"
6*4882a593Smuzhiyun$schema: "http://devicetree.org/meta-schemas/core.yaml#"
7*4882a593Smuzhiyun
8*4882a593Smuzhiyuntitle: Amlogic G12A USB2 PHY
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunmaintainers:
11*4882a593Smuzhiyun  - Neil Armstrong <narmstrong@baylibre.com>
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunproperties:
14*4882a593Smuzhiyun  compatible:
15*4882a593Smuzhiyun    enum:
16*4882a593Smuzhiyun      - amlogic,meson-g12a-usb2-phy
17*4882a593Smuzhiyun      - amlogic,meson-a1-usb2-phy
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun  reg:
20*4882a593Smuzhiyun    maxItems: 1
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun  clocks:
23*4882a593Smuzhiyun    maxItems: 1
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun  clock-names:
26*4882a593Smuzhiyun    items:
27*4882a593Smuzhiyun      - const: xtal
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun  resets:
30*4882a593Smuzhiyun    maxItems: 1
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun  reset-names:
33*4882a593Smuzhiyun    items:
34*4882a593Smuzhiyun      - const: phy
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun  "#phy-cells":
37*4882a593Smuzhiyun    const: 0
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun  phy-supply:
40*4882a593Smuzhiyun    description:
41*4882a593Smuzhiyun      Phandle to a regulator that provides power to the PHY. This
42*4882a593Smuzhiyun      regulator will be managed during the PHY power on/off sequence.
43*4882a593Smuzhiyun
44*4882a593Smuzhiyunrequired:
45*4882a593Smuzhiyun  - compatible
46*4882a593Smuzhiyun  - reg
47*4882a593Smuzhiyun  - clocks
48*4882a593Smuzhiyun  - clock-names
49*4882a593Smuzhiyun  - resets
50*4882a593Smuzhiyun  - reset-names
51*4882a593Smuzhiyun  - "#phy-cells"
52*4882a593Smuzhiyun
53*4882a593Smuzhiyunif:
54*4882a593Smuzhiyun  properties:
55*4882a593Smuzhiyun    compatible:
56*4882a593Smuzhiyun      enum:
57*4882a593Smuzhiyun        - amlogic,meson-a1-usb-ctrl
58*4882a593Smuzhiyun
59*4882a593Smuzhiyunthen:
60*4882a593Smuzhiyun  properties:
61*4882a593Smuzhiyun    power-domains:
62*4882a593Smuzhiyun      maxItems: 1
63*4882a593Smuzhiyun  required:
64*4882a593Smuzhiyun    - power-domains
65*4882a593Smuzhiyun
66*4882a593SmuzhiyunadditionalProperties: false
67*4882a593Smuzhiyun
68*4882a593Smuzhiyunexamples:
69*4882a593Smuzhiyun  - |
70*4882a593Smuzhiyun    phy@36000 {
71*4882a593Smuzhiyun          compatible = "amlogic,meson-g12a-usb2-phy";
72*4882a593Smuzhiyun          reg = <0x36000 0x2000>;
73*4882a593Smuzhiyun          clocks = <&xtal>;
74*4882a593Smuzhiyun          clock-names = "xtal";
75*4882a593Smuzhiyun          resets = <&phy_reset>;
76*4882a593Smuzhiyun          reset-names = "phy";
77*4882a593Smuzhiyun          #phy-cells = <0>;
78*4882a593Smuzhiyun    };
79