dt-bindings: phy: g12a-usb2-phy: fix compatible string documentation
[platform/kernel/linux-rpi.git] / Documentation / devicetree / bindings / phy / amlogic,g12a-usb3-pcie-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,g12a-usb3-pcie-phy.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7
8 title: Amlogic G12A USB3 + PCIE Combo PHY
9
10 maintainers:
11   - Neil Armstrong <narmstrong@baylibre.com>
12
13 properties:
14   compatible:
15     enum:
16       - amlogic,g12a-usb3-pcie-phy
17
18   reg:
19     maxItems: 1
20
21   clocks:
22     maxItems: 1
23
24   clock-names:
25     items:
26       - const: ref_clk
27
28   resets:
29     maxItems: 1
30
31   reset-names:
32     items:
33       - const: phy
34
35   "#phy-cells":
36     const: 1
37
38 required:
39   - compatible
40   - reg
41   - clocks
42   - clock-names
43   - resets
44   - reset-names
45   - "#phy-cells"
46
47 additionalProperties: false
48
49 examples:
50   - |
51     phy@46000 {
52           compatible = "amlogic,g12a-usb3-pcie-phy";
53           reg = <0x46000 0x2000>;
54           clocks = <&ref_clk>;
55           clock-names = "ref_clk";
56           resets = <&phy_reset>;
57           reset-names = "phy";
58           #phy-cells = <1>;
59     };