HiSilicon INNO USB2 PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/hisilicon,inno-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pengcheng Li <lpc.li@hisilicon.com>"
The INNO USB2 PHY device should be a child node of peripheral controller that contains the PHY configuration register, and each device supports up to 2 PHY ports which are represented as child nodes of INNO USB2 PHY device.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "hisilicon,hi3798cv200-usb2-phy", "hisilicon,hi3798mv100-usb2-phy", "hisilicon,inno-usb2-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^phy@[0-1]$ — name matches this regular expression #
PHY port subnode
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
Maximum value (maximum): 1
#phy-cells — required here
Exact value (const): 0
resets — required here
Maximum number of items (maxItems): 1
Required in this object (required): "reg", "#phy-cells", "resets"
Required in this object (required): "compatible", "reg", "clocks", "resets", "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/histb-clock.h>
usb2-phy@120 {
compatible = "hisilicon,hi3798cv200-usb2-phy";
reg = <0x120 0x4>;
clocks = <&crg HISTB_USB2_PHY1_REF_CLK>;
resets = <&crg 0xbc 4>;
#address-cells = <1>;
#size-cells = <0>;
phy@0 {
reg = <0>;
#phy-cells = <0>;
resets = <&crg 0xbc 8>;
};
phy@1 {
reg = <1>;
#phy-cells = <0>;
resets = <&crg 0xbc 9>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)