summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/phy/intel,lgm-usb-phy.yaml
blob: ce62c0b94daf06666d07dfaa910a0dcc5be92291 (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
51
52
53
54
55
56
57
58
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/intel,lgm-usb-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Intel LGM USB PHY Device Tree Bindings

maintainers:
  - Vadivel Murugan Ramuthevar <vadivel.muruganx.ramuthevar@linux.intel.com>

properties:
  compatible:
    const: intel,lgm-usb-phy

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  resets:
    items:
      - description: USB PHY and Host controller reset
      - description: APB BUS reset
      - description: General Hardware reset

  reset-names:
    items:
      - const: phy
      - const: apb
      - const: phy31

  "#phy-cells":
    const: 0

required:
  - compatible
  - clocks
  - reg
  - resets
  - reset-names
  - "#phy-cells"

additionalProperties: false

examples:
  - |
    usb-phy@e7e00000 {
        compatible = "intel,lgm-usb-phy";
        reg = <0xe7e00000 0x10000>;
        clocks = <&cgu0 153>;
        resets = <&rcu 0x70 0x24>,
                 <&rcu 0x70 0x26>,
                 <&rcu 0x70 0x28>;
        reset-names = "phy", "apb", "phy31";
        #phy-cells = <0>;
    };