0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002
0003 %YAML 1.2
0004 ---
0005 $id: "http://devicetree.org/schemas/phy/marvell,armada-3700-utmi-phy.yaml#"
0006 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0007
0008 title: Marvell Armada UTMI/UTMI+ PHY
0009
0010 maintainers:
0011 - Miquel Raynal <miquel.raynal@bootlin.com>
0012
0013 description:
0014 On Armada 3700, there are two USB controllers, one is compatible with
0015 the USB2 and USB3 specifications and supports OTG. The other one is USB2
0016 compliant and only supports host mode. Both of these controllers come with
0017 a slightly different UTMI PHY.
0018
0019 properties:
0020 compatible:
0021 enum:
0022 - marvell,a3700-utmi-host-phy
0023 - marvell,a3700-utmi-otg-phy
0024 reg:
0025 maxItems: 1
0026
0027 "#phy-cells":
0028 const: 0
0029
0030 marvell,usb-misc-reg:
0031 description:
0032 Phandle on the "USB miscellaneous registers" shared region
0033 covering registers related to both the host controller and
0034 the PHY.
0035 $ref: /schemas/types.yaml#/definitions/phandle
0036
0037 required:
0038 - compatible
0039 - reg
0040 - "#phy-cells"
0041 - marvell,usb-misc-reg
0042
0043 additionalProperties: false
0044
0045 examples:
0046 - |
0047 usb2_utmi_host_phy: phy@5f000 {
0048 compatible = "marvell,a3700-utmi-host-phy";
0049 reg = <0x5f000 0x800>;
0050 marvell,usb-misc-reg = <&usb2_syscon>;
0051 #phy-cells = <0>;
0052 };
0053
0054 usb2_syscon: system-controller@5f800 {
0055 compatible = "marvell,armada-3700-usb2-host-misc", "syscon";
0056 reg = <0x5f800 0x800>;
0057 };