Marvell Armada 38x COMPHY controller
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,armada-380-comphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"
This comphy controller can be found on Marvell Armada 38x. It provides a number of shared PHYs used by various interfaces (network, sata, usb, PCIe...).
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"marvell,armada-380-comphy"
reg — required here #
Array item rules (items) #
Item 1
COMPHY register location and length
Item 2
Configuration register location and length
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"comphy"
Item 2
Exact value (
const):"conf"
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^phy@[0-5]$ — name matches this regular expression #
A COMPHY lane
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
Input port index for the PHY lane
Exact value (const): 1
Required in this object (required): "reg", "#phy-cells"
Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
comphy: phy@18300 {
compatible = "marvell,armada-380-comphy";
reg = <0x18300 0x100>, <0x18460 4>;
reg-names = "comphy", "conf";
#address-cells = <1>;
#size-cells = <0>;
cpm_comphy0: phy@0 {
reg = <0>;
#phy-cells = <1>;
};
cpm_comphy1: phy@1 {
reg = <1>;
#phy-cells = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)