1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 2 3 %YAML 1.2 3 %YAML 1.2 4 --- 4 --- 5 $id: http://devicetree.org/schemas/phy/marvell !! 5 $id: "http://devicetree.org/schemas/phy/marvell,armada-3700-utmi-phy.yaml#" 6 $schema: http://devicetree.org/meta-schemas/co !! 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 7 8 title: Marvell Armada UTMI/UTMI+ PHY 8 title: Marvell Armada UTMI/UTMI+ PHY 9 9 10 maintainers: 10 maintainers: 11 - Miquel Raynal <miquel.raynal@bootlin.com> 11 - Miquel Raynal <miquel.raynal@bootlin.com> 12 12 13 description: 13 description: 14 On Armada 3700, there are two USB controller 14 On Armada 3700, there are two USB controllers, one is compatible with 15 the USB2 and USB3 specifications and support 15 the USB2 and USB3 specifications and supports OTG. The other one is USB2 16 compliant and only supports host mode. Both 16 compliant and only supports host mode. Both of these controllers come with 17 a slightly different UTMI PHY. 17 a slightly different UTMI PHY. 18 18 19 properties: 19 properties: 20 compatible: 20 compatible: 21 enum: 21 enum: 22 - marvell,a3700-utmi-host-phy 22 - marvell,a3700-utmi-host-phy 23 - marvell,a3700-utmi-otg-phy 23 - marvell,a3700-utmi-otg-phy 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 "#phy-cells": 27 "#phy-cells": 28 const: 0 28 const: 0 29 29 30 marvell,usb-misc-reg: 30 marvell,usb-misc-reg: 31 description: 31 description: 32 Phandle on the "USB miscellaneous regist 32 Phandle on the "USB miscellaneous registers" shared region 33 covering registers related to both the h 33 covering registers related to both the host controller and 34 the PHY. 34 the PHY. 35 $ref: /schemas/types.yaml#/definitions/pha 35 $ref: /schemas/types.yaml#/definitions/phandle 36 36 37 required: 37 required: 38 - compatible 38 - compatible 39 - reg 39 - reg 40 - "#phy-cells" 40 - "#phy-cells" 41 - marvell,usb-misc-reg 41 - marvell,usb-misc-reg 42 42 43 additionalProperties: false 43 additionalProperties: false 44 44 45 examples: 45 examples: 46 - | 46 - | 47 usb2_utmi_host_phy: phy@5f000 { 47 usb2_utmi_host_phy: phy@5f000 { 48 compatible = "marvell,a3700-utmi-host-ph !! 48 compatible = "marvell,armada-3700-utmi-host-phy"; 49 reg = <0x5f000 0x800>; 49 reg = <0x5f000 0x800>; 50 marvell,usb-misc-reg = <&usb2_syscon>; 50 marvell,usb-misc-reg = <&usb2_syscon>; 51 #phy-cells = <0>; 51 #phy-cells = <0>; 52 }; 52 }; 53 53 54 usb2_syscon: system-controller@5f800 { 54 usb2_syscon: system-controller@5f800 { 55 compatible = "marvell,armada-3700-usb2-h 55 compatible = "marvell,armada-3700-usb2-host-misc", "syscon"; 56 reg = <0x5f800 0x800>; 56 reg = <0x5f800 0x800>; 57 }; 57 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.