Amlogic Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/amlogic,meson8b-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Martin Blumenstingl <martin.blumenstingl@googlemail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"amlogic,meson8-usb2-phy","amlogic,meson8b-usb2-phy","amlogic,meson8m2-usb2-phy"Item 2
Exact value (
const):"amlogic,meson-mx-usb2-phy"
Rule 2
Exact value (
const):"amlogic,meson-gxbb-usb2-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb_general"
Item 2
Exact value (
const):"usb"
resets — not listed as required here #
Minimum number of items (minItems): 1
#phy-cells — required here #
Exact value (const): 0
phy-supply — not listed as required here #
Phandle to a regulator that provides power to the PHY. This regulator will be managed during the PHY power on/off sequence.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy@c0000000 {
compatible = "amlogic,meson-gxbb-usb2-phy";
reg = <0xc0000000 0x20>;
resets = <&reset_usb_phy>;
clocks = <&clk_usb_general>, <&reset_usb>;
clock-names = "usb_general", "usb";
phy-supply = <&usb_vbus>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)