Broadcom SATA3 PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/brcm,sata-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Florian Fainelli <f.fainelli@gmail.com>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^sata[-|_]phy(@.*)?$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"brcm,bcm7216-sata-phy","brcm,bcm7425-sata-phy","brcm,bcm7445-sata-phy","brcm,bcm63138-sata-phy"Item 2
Exact value (
const):"brcm,phy-sata3"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"brcm,iproc-nsp-sata-phy"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"brcm,iproc-ns2-sata-phy"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"brcm,iproc-sr-sata-phy"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reg-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"phy-ctrl"
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^sata-phy@[0-9]+$ — name matches this regular expression #
Value type (type): "object"
Each port's PHY should be represented as a sub-node.
Properties and child nodes (properties) #
reg — required here
The SATA PHY port number
Maximum number of items (maxItems): 1
#phy-cells — required here
Exact value (const): 0
brcm,enable-ssc — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Use spread spectrum clocking (SSC) on this port This property is not applicable for "brcm,iproc-ns2-sata-phy", "brcm,iproc-nsp-sata-phy" and "brcm,iproc-sr-sata-phy".
brcm,rxaeq-mode — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
String that indicates the desired RX equalizer mode.
Allowed values (enum): "off", "auto", "manual"
brcm,rxaeq-value — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
When 'brcm,rxaeq-mode' is set to "manual", provides the RX equalizer value that should be used.
Minimum value (minimum): 0
Maximum value (maximum): 63
brcm,tx-amplitude-millivolt — not listed as required here
Transmit amplitude voltage in millivolt.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 400, 500, 600, 800
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.
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Exact value (
const):"brcm,iproc-ns2-sata-phy"
When the condition matches (then) #
Properties and child nodes (
properties) #
reg— not listed as required here #Minimum number of items (
minItems):2
reg-names— not listed as required here #Minimum number of items (
minItems):2
When the condition does not match (else) #
Properties and child nodes (
properties) #
reg— not listed as required here #Maximum number of items (
maxItems):1
reg-names— not listed as required here #Maximum number of items (
maxItems):1
Required in this object (required): "compatible", "#address-cells", "#size-cells", "reg", "reg-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sata_phy@f0458100 {
compatible = "brcm,bcm7445-sata-phy", "brcm,phy-sata3";
reg = <0xf0458100 0x1e00>;
reg-names = "phy";
#address-cells = <1>;
#size-cells = <0>;
sata-phy@0 {
reg = <0>;
#phy-cells = <0>;
};
sata-phy@1 {
reg = <1>;
#phy-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)