xref: /freebsd/sys/contrib/device-tree/Bindings/phy/amlogic,g12a-usb2-phy.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
18bab661aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
28bab661aSEmmanuel Vadot# Copyright 2019 BayLibre, SAS
38bab661aSEmmanuel Vadot%YAML 1.2
48bab661aSEmmanuel Vadot---
5*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/amlogic,g12a-usb2-phy.yaml#
6*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
78bab661aSEmmanuel Vadot
88bab661aSEmmanuel Vadottitle: Amlogic G12A USB2 PHY
98bab661aSEmmanuel Vadot
108bab661aSEmmanuel Vadotmaintainers:
118bab661aSEmmanuel Vadot  - Neil Armstrong <neil.armstrong@linaro.org>
128bab661aSEmmanuel Vadot
138bab661aSEmmanuel Vadotproperties:
148bab661aSEmmanuel Vadot  compatible:
158bab661aSEmmanuel Vadot    enum:
168bab661aSEmmanuel Vadot      - amlogic,g12a-usb2-phy
178bab661aSEmmanuel Vadot      - amlogic,a1-usb2-phy
188bab661aSEmmanuel Vadot
198bab661aSEmmanuel Vadot  reg:
208bab661aSEmmanuel Vadot    maxItems: 1
218bab661aSEmmanuel Vadot
228bab661aSEmmanuel Vadot  clocks:
238bab661aSEmmanuel Vadot    maxItems: 1
248bab661aSEmmanuel Vadot
258bab661aSEmmanuel Vadot  clock-names:
268bab661aSEmmanuel Vadot    items:
278bab661aSEmmanuel Vadot      - const: xtal
288bab661aSEmmanuel Vadot
298bab661aSEmmanuel Vadot  resets:
308bab661aSEmmanuel Vadot    maxItems: 1
318bab661aSEmmanuel Vadot
328bab661aSEmmanuel Vadot  reset-names:
338bab661aSEmmanuel Vadot    items:
348bab661aSEmmanuel Vadot      - const: phy
358bab661aSEmmanuel Vadot
368bab661aSEmmanuel Vadot  "#phy-cells":
378bab661aSEmmanuel Vadot    const: 0
388bab661aSEmmanuel Vadot
398bab661aSEmmanuel Vadot  phy-supply:
408bab661aSEmmanuel Vadot    description:
418bab661aSEmmanuel Vadot      Phandle to a regulator that provides power to the PHY. This
428bab661aSEmmanuel Vadot      regulator will be managed during the PHY power on/off sequence.
438bab661aSEmmanuel Vadot
448bab661aSEmmanuel Vadotrequired:
458bab661aSEmmanuel Vadot  - compatible
468bab661aSEmmanuel Vadot  - reg
478bab661aSEmmanuel Vadot  - clocks
488bab661aSEmmanuel Vadot  - clock-names
498bab661aSEmmanuel Vadot  - resets
508bab661aSEmmanuel Vadot  - reset-names
518bab661aSEmmanuel Vadot  - "#phy-cells"
528bab661aSEmmanuel Vadot
538bab661aSEmmanuel Vadotif:
548bab661aSEmmanuel Vadot  properties:
558bab661aSEmmanuel Vadot    compatible:
568bab661aSEmmanuel Vadot      enum:
578bab661aSEmmanuel Vadot        - amlogic,meson-a1-usb-ctrl
588bab661aSEmmanuel Vadot
598bab661aSEmmanuel Vadotthen:
608bab661aSEmmanuel Vadot  properties:
618bab661aSEmmanuel Vadot    power-domains:
628bab661aSEmmanuel Vadot      maxItems: 1
638bab661aSEmmanuel Vadot  required:
648bab661aSEmmanuel Vadot    - power-domains
658bab661aSEmmanuel Vadot
668bab661aSEmmanuel VadotadditionalProperties: false
678bab661aSEmmanuel Vadot
688bab661aSEmmanuel Vadotexamples:
698bab661aSEmmanuel Vadot  - |
708bab661aSEmmanuel Vadot    phy@36000 {
718bab661aSEmmanuel Vadot          compatible = "amlogic,g12a-usb2-phy";
728bab661aSEmmanuel Vadot          reg = <0x36000 0x2000>;
738bab661aSEmmanuel Vadot          clocks = <&xtal>;
748bab661aSEmmanuel Vadot          clock-names = "xtal";
758bab661aSEmmanuel Vadot          resets = <&phy_reset>;
768bab661aSEmmanuel Vadot          reset-names = "phy";
778bab661aSEmmanuel Vadot          #phy-cells = <0>;
788bab661aSEmmanuel Vadot    };
79