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