AMD XGBE Seattle v1a
Schema identifier ($id): "http://devicetree.org/schemas/net/amd,xgbe-seattle-v1a.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shyam Sundar S K <Shyam-sundar.S-k@amd.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/net/ethernet-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "amd,xgbe-seattle-v1a"
reg — required here #
Array item rules (items) #
Item 1
MAC registers
Item 2
PCS registers
Item 3
SerDes Rx/Tx registers
Item 4
SerDes integration registers (1/2)
Item 5
SerDes integration registers (2/2)
interrupts — required here #
Device interrupts. The first entry is the general device interrupt. If amd,per-channel-interrupt is specified, each DMA channel interrupt must be specified. The last entry is the PCS auto-negotiation interrupt.
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 6
clocks — required here #
Array item rules (items) #
Item 1
DMA clock for the device
Item 2
PTP clock for the device
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dma_clk"
Item 2
Exact value (
const):"ptp_clk"
iommus — not listed as required here #
Maximum number of items (maxItems): 1
phy-mode — required here #
true — No constraints added by this property rule.
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
amd,per-channel-interrupt — not listed as required here #
Indicates that Rx and Tx complete will generate a unique interrupt for each DMA channel.
Value type (type): "boolean"
amd,speed-set — not listed as required here #
Speed capabilities of the device.
0 = 1GbE and 10GbE
1 = 2.5GbE and 10GbE
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
amd,serdes-blwc — not listed as required here #
Baseline wandering correction enablement for each speed.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 3
Array item rules (items) #
amd,serdes-cdr-rate — not listed as required here #
CDR rate speed selection for each speed.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items) #
Item 1
CDR rate for 1GbE
Item 2
CDR rate for 2.5GbE
Item 3
CDR rate for 10GbE
amd,serdes-pq-skew — not listed as required here #
PQ data sampling skew for each speed.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items) #
Item 1
PQ skew for 1GbE
Item 2
PQ skew for 2.5GbE
Item 3
PQ skew for 10GbE
amd,serdes-tx-amp — not listed as required here #
TX amplitude boost for each speed.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items) #
Item 1
TX amplitude for 1GbE
Item 2
TX amplitude for 2.5GbE
Item 3
TX amplitude for 10GbE
amd,serdes-dfe-tap-config — not listed as required here #
DFE taps available to run for each speed.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items) #
Item 1
DFE taps available for 1GbE
Item 2
DFE taps available for 2.5GbE
Item 3
DFE taps available for 10GbE
amd,serdes-dfe-tap-enable — not listed as required here #
DFE taps to enable for each speed.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items) #
Item 1
DFE taps to enable for 1GbE
Item 2
DFE taps to enable for 2.5GbE
Item 3
DFE taps to enable for 10GbE
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "phy-mode"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
ethernet@e0700000 {
compatible = "amd,xgbe-seattle-v1a";
reg = <0xe0700000 0x80000>,
<0xe0780000 0x80000>,
<0xe1240800 0x00400>,
<0xe1250000 0x00060>,
<0xe1250080 0x00004>;
interrupts = <0 325 4>,
<0 326 1>, <0 327 1>, <0 328 1>, <0 329 1>,
<0 323 4>;
amd,per-channel-interrupt;
clocks = <&xgbe_dma_clk>, <&xgbe_ptp_clk>;
clock-names = "dma_clk", "ptp_clk";
phy-mode = "xgmii";
mac-address = [ 02 a1 a2 a3 a4 a5 ];
amd,speed-set = <0>;
amd,serdes-blwc = <1>, <1>, <0>;
amd,serdes-cdr-rate = <2>, <2>, <7>;
amd,serdes-pq-skew = <10>, <10>, <30>;
amd,serdes-tx-amp = <15>, <15>, <10>;
amd,serdes-dfe-tap-config = <3>, <3>, <1>;
amd,serdes-dfe-tap-enable = <0>, <0>, <127>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)