xref: /freebsd/sys/contrib/device-tree/Bindings/phy/brcm,bcm63xx-usbh-phy.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/brcm,bcm63xx-usbh-phy.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: BCM63xx USBH PHY
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Álvaro Fernández Rojas <noltari@gmail.com>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotproperties:
13c66ec88fSEmmanuel Vadot  compatible:
14c66ec88fSEmmanuel Vadot    enum:
15c66ec88fSEmmanuel Vadot      - brcm,bcm6318-usbh-phy
16c66ec88fSEmmanuel Vadot      - brcm,bcm6328-usbh-phy
17c66ec88fSEmmanuel Vadot      - brcm,bcm6358-usbh-phy
18c66ec88fSEmmanuel Vadot      - brcm,bcm6362-usbh-phy
19c66ec88fSEmmanuel Vadot      - brcm,bcm6368-usbh-phy
20c66ec88fSEmmanuel Vadot      - brcm,bcm63268-usbh-phy
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot  reg:
23c66ec88fSEmmanuel Vadot    maxItems: 1
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel Vadot  clocks:
26c66ec88fSEmmanuel Vadot    minItems: 1
27c66ec88fSEmmanuel Vadot    maxItems: 2
28c66ec88fSEmmanuel Vadot
29c66ec88fSEmmanuel Vadot  clock-names:
30c66ec88fSEmmanuel Vadot    minItems: 1
31c66ec88fSEmmanuel Vadot    items:
32c66ec88fSEmmanuel Vadot      - const: usbh
33c66ec88fSEmmanuel Vadot      - const: usb_ref
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel Vadot  resets:
36c66ec88fSEmmanuel Vadot    maxItems: 1
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadot  "#phy-cells":
39c66ec88fSEmmanuel Vadot    const: 1
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel VadotadditionalProperties: false
42c66ec88fSEmmanuel Vadot
43c66ec88fSEmmanuel Vadotrequired:
44c66ec88fSEmmanuel Vadot  - compatible
45c66ec88fSEmmanuel Vadot  - reg
46c66ec88fSEmmanuel Vadot  - clocks
47c66ec88fSEmmanuel Vadot  - clock-names
48c66ec88fSEmmanuel Vadot  - resets
49c66ec88fSEmmanuel Vadot  - "#phy-cells"
50c66ec88fSEmmanuel Vadot
51c66ec88fSEmmanuel Vadotif:
52c66ec88fSEmmanuel Vadot  properties:
53c66ec88fSEmmanuel Vadot    compatible:
54c66ec88fSEmmanuel Vadot      enum:
55c66ec88fSEmmanuel Vadot        - brcm,bcm6318-usbh-phy
56c66ec88fSEmmanuel Vadot        - brcm,bcm6328-usbh-phy
57c66ec88fSEmmanuel Vadot        - brcm,bcm6362-usbh-phy
58c66ec88fSEmmanuel Vadot        - brcm,bcm63268-usbh-phy
59c66ec88fSEmmanuel Vadotthen:
60c66ec88fSEmmanuel Vadot  properties:
61c66ec88fSEmmanuel Vadot    power-domains:
62c66ec88fSEmmanuel Vadot      maxItems: 1
63c66ec88fSEmmanuel Vadot  required:
64c66ec88fSEmmanuel Vadot    - power-domains
65c66ec88fSEmmanuel Vadotelse:
66c66ec88fSEmmanuel Vadot  properties:
67c66ec88fSEmmanuel Vadot    power-domains: false
68c66ec88fSEmmanuel Vadot
69c66ec88fSEmmanuel Vadotexamples:
70c66ec88fSEmmanuel Vadot  - |
71c66ec88fSEmmanuel Vadot    usbh: usb-phy@10001700 {
72c66ec88fSEmmanuel Vadot      compatible = "brcm,bcm6368-usbh-phy";
73c66ec88fSEmmanuel Vadot      reg = <0x10001700 0x38>;
74c66ec88fSEmmanuel Vadot      clocks = <&periph_clk 15>;
75c66ec88fSEmmanuel Vadot      clock-names = "usbh";
76c66ec88fSEmmanuel Vadot      resets = <&periph_rst 12>;
77c66ec88fSEmmanuel Vadot      #phy-cells = <1>;
78c66ec88fSEmmanuel Vadot    };
79