Socionext UniPhier USB2 PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/socionext,uniphier-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This describes the devicetree bindings for PHY interface built into USB2 controller implemented on Socionext UniPhier SoCs. Pro4 SoC has both USB2 and USB3 host controllers, however, this USB3 controller doesn't include its own High-Speed PHY. This needs to specify USB2 PHY instead of USB3 HS-PHY.
Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "socionext,uniphier-pro4-usb2-phy", "socionext,uniphier-ld11-usb2-phy"
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^phy@[0-9]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
reg — required here
Minimum value (minimum): 0
Maximum value (maximum): 3
The ID number for the PHY
#phy-cells — required here
Exact value (const): 0
vbus-supply — not listed as required here
A phandle to the regulator for USB VBUS, only for USB host
Required in this object (required): "reg", "#phy-cells"
Required in this object (required): "compatible", "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
// The UniPhier usb2-phy should be a subnode of a "syscon" compatible node.
usb-hub {
compatible = "socionext,uniphier-ld11-usb2-phy";
#address-cells = <1>;
#size-cells = <0>;
usb_phy0: phy@0 {
reg = <0>;
#phy-cells = <0>;
};
usb_phy1: phy@1 {
reg = <1>;
#phy-cells = <0>;
};
usb_phy2: phy@2 {
reg = <2>;
#phy-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)