Marvell Armada CP110/CP115 UTMI PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,armada-cp110-utmi-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Konstantin Porotchkin <kostap@marvell.com>"
On Armada 7k/8k and CN913x, there are two host and one device USB controllers. Each of two exiting UTMI PHYs could be connected to either USB host or USB device controller. The USB device controller can only be connected to a single UTMI PHY port 0.H----- USB HOST0 UTMI PHY0 --------/ 0.D-----0 \------ USB DEVICE 1.D-----1 UTMI PHY1 --------\ 1.H----- USB HOST1
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "marvell,cp110-utmi-phy"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
marvell,system-controller — required here #
Phandle to the system controller node
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
swap-dx-lanes — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Specifies the ports which will swap the differential-pair (D+/D-), default is not-swapped.
Properties matching a name pattern (patternProperties) #
^usb-phy@[0|1]$ — name matches this regular expression #
Value type (type): "object"
Each UTMI PHY port must be represented as a sub-node.
Properties and child nodes (properties) #
reg — required here
phy port index.
Maximum number of items (maxItems): 1
#phy-cells — required here
Exact value (const): 0
Required in this object (required): "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells", "marvell,system-controller"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
cp0_utmi: utmi@580000 {
compatible = "marvell,cp110-utmi-phy";
reg = <0x580000 0x2000>;
marvell,system-controller = <&cp0_syscon0>;
#address-cells = <1>;
#size-cells = <0>;
cp0_utmi0: usb-phy@0 {
reg = <0>;
#phy-cells = <0>;
};
cp0_utmi1: usb-phy@1 {
reg = <1>;
#phy-cells = <0>;
};
};
cp0_usb3_0 {
usb-phy = <&cp0_usb3_0_phy0>;
phys = <&cp0_utmi0>;
phy-names = "utmi";
/* UTMI0 is connected to USB host controller (default mode) */
dr_mode = "host";
};
cp0_usb3_1 {
usb-phy = <&cp0_usb3_0_phy1>;
phys = <&cp0_utmi1>;
phy-names = "utmi";
/* UTMI1 is connected to USB device controller */
dr_mode = "peripheral";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 50: Required child nodes: