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