xref: /freebsd/sys/contrib/device-tree/Bindings/phy/marvell,armada-3700-utmi-phy.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
12eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
22eb4d8dcSEmmanuel Vadot
32eb4d8dcSEmmanuel Vadot%YAML 1.2
42eb4d8dcSEmmanuel Vadot---
5*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/marvell,armada-3700-utmi-phy.yaml#
6*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
72eb4d8dcSEmmanuel Vadot
82eb4d8dcSEmmanuel Vadottitle: Marvell Armada UTMI/UTMI+ PHY
92eb4d8dcSEmmanuel Vadot
102eb4d8dcSEmmanuel Vadotmaintainers:
112eb4d8dcSEmmanuel Vadot  - Miquel Raynal <miquel.raynal@bootlin.com>
122eb4d8dcSEmmanuel Vadot
132eb4d8dcSEmmanuel Vadotdescription:
142eb4d8dcSEmmanuel Vadot  On Armada 3700, there are two USB controllers, one is compatible with
152eb4d8dcSEmmanuel Vadot  the USB2 and USB3 specifications and supports OTG. The other one is USB2
162eb4d8dcSEmmanuel Vadot  compliant and only supports host mode. Both of these controllers come with
172eb4d8dcSEmmanuel Vadot  a slightly different UTMI PHY.
182eb4d8dcSEmmanuel Vadot
192eb4d8dcSEmmanuel Vadotproperties:
202eb4d8dcSEmmanuel Vadot  compatible:
212eb4d8dcSEmmanuel Vadot    enum:
222eb4d8dcSEmmanuel Vadot      - marvell,a3700-utmi-host-phy
232eb4d8dcSEmmanuel Vadot      - marvell,a3700-utmi-otg-phy
242eb4d8dcSEmmanuel Vadot  reg:
252eb4d8dcSEmmanuel Vadot    maxItems: 1
262eb4d8dcSEmmanuel Vadot
272eb4d8dcSEmmanuel Vadot  "#phy-cells":
282eb4d8dcSEmmanuel Vadot    const: 0
292eb4d8dcSEmmanuel Vadot
302eb4d8dcSEmmanuel Vadot  marvell,usb-misc-reg:
312eb4d8dcSEmmanuel Vadot    description:
322eb4d8dcSEmmanuel Vadot      Phandle on the "USB miscellaneous registers" shared region
332eb4d8dcSEmmanuel Vadot      covering registers related to both the host controller and
342eb4d8dcSEmmanuel Vadot      the PHY.
352eb4d8dcSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
362eb4d8dcSEmmanuel Vadot
372eb4d8dcSEmmanuel Vadotrequired:
382eb4d8dcSEmmanuel Vadot  - compatible
392eb4d8dcSEmmanuel Vadot  - reg
402eb4d8dcSEmmanuel Vadot  - "#phy-cells"
412eb4d8dcSEmmanuel Vadot  - marvell,usb-misc-reg
422eb4d8dcSEmmanuel Vadot
432eb4d8dcSEmmanuel VadotadditionalProperties: false
442eb4d8dcSEmmanuel Vadot
452eb4d8dcSEmmanuel Vadotexamples:
462eb4d8dcSEmmanuel Vadot  - |
472eb4d8dcSEmmanuel Vadot    usb2_utmi_host_phy: phy@5f000 {
48d5b0e70fSEmmanuel Vadot      compatible = "marvell,a3700-utmi-host-phy";
492eb4d8dcSEmmanuel Vadot      reg = <0x5f000 0x800>;
502eb4d8dcSEmmanuel Vadot      marvell,usb-misc-reg = <&usb2_syscon>;
512eb4d8dcSEmmanuel Vadot      #phy-cells = <0>;
522eb4d8dcSEmmanuel Vadot    };
532eb4d8dcSEmmanuel Vadot
542eb4d8dcSEmmanuel Vadot    usb2_syscon: system-controller@5f800 {
552eb4d8dcSEmmanuel Vadot      compatible = "marvell,armada-3700-usb2-host-misc", "syscon";
562eb4d8dcSEmmanuel Vadot      reg = <0x5f800 0x800>;
572eb4d8dcSEmmanuel Vadot    };
58