Synopsys DesignWare MAC

Schema identifier ($id): "http://devicetree.org/schemas/net/snps,dwmac.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alexandre Torgue <alexandre.torgue@foss.st.com>", "Giuseppe Cavallaro <peppe.cavallaro@st.com>", "Jose Abreu <joabreu@synopsys.com>"

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Allowed values (enum): "snps,dwmac", "snps,dwmac-3.40a", "snps,dwmac-3.50a", "snps,dwmac-3.610", "snps,dwmac-3.70a", "snps,dwmac-3.710", "snps,dwmac-3.72a", "snps,dwmac-4.00", "snps,dwmac-4.10a", "snps,dwmac-4.20a", "snps,dwmac-5.00a", "snps,dwmac-5.10a", "snps,dwmac-5.20", "snps,dwmac-5.30a", "snps,dwxgmac", "snps,dwxgmac-2.10", "st,spear600-gmac"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains) #

Allowed values (enum): "allwinner,sun7i-a20-gmac", "allwinner,sun8i-a83t-emac", "allwinner,sun8i-h3-emac", "allwinner,sun8i-r40-gmac", "allwinner,sun8i-v3s-emac", "allwinner,sun50i-a64-emac", "amlogic,meson6-dwmac", "amlogic,meson8b-dwmac", "amlogic,meson8m2-dwmac", "amlogic,meson-gxbb-dwmac", "amlogic,meson-axg-dwmac", "ingenic,jz4775-mac", "ingenic,x1000-mac", "ingenic,x1600-mac", "ingenic,x1830-mac", "ingenic,x2000-mac", "loongson,ls2k-dwmac", "loongson,ls7a-dwmac", "nxp,s32g2-dwmac", "qcom,qcs404-ethqos", "qcom,sa8775p-ethqos", "qcom,sc8280xp-ethqos", "qcom,sm8150-ethqos", "renesas,r9a06g032-gmac", "renesas,r9a08g046-gbeth", "renesas,r9a09g077-gbeth", "renesas,rzn1-gmac", "renesas,rzv2h-gbeth", "rockchip,px30-gmac", "rockchip,rk3128-gmac", "rockchip,rk3228-gmac", "rockchip,rk3288-gmac", "rockchip,rk3308-gmac", "rockchip,rk3328-gmac", "rockchip,rk3366-gmac", "rockchip,rk3368-gmac", "rockchip,rk3399-gmac", "rockchip,rk3506-gmac", "rockchip,rk3528-gmac", "rockchip,rk3568-gmac", "rockchip,rk3576-gmac", "rockchip,rk3588-gmac", "rockchip,rv1108-gmac", "rockchip,rv1126-gmac", "snps,dwmac", "snps,dwmac-3.40a", "snps,dwmac-3.50a", "snps,dwmac-3.610", "snps,dwmac-3.70a", "snps,dwmac-3.710", "snps,dwmac-3.72a", "snps,dwmac-4.00", "snps,dwmac-4.10a", "snps,dwmac-4.20a", "snps,dwmac-5.00a", "snps,dwmac-5.10a", "snps,dwmac-5.20", "snps,dwmac-5.30a", "snps,dwxgmac", "snps,dwxgmac-2.10", "sophgo,sg2042-dwmac", "sophgo,sg2044-dwmac", "starfive,jh7100-dwmac", "starfive,jh7110-dwmac", "tesla,fsd-ethqos", "thead,th1520-gmac"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interrupts — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 19

interrupt-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 19

Array item rules (items) #

Exactly one of these rules must match (oneOf)

Rule 1

Combined signal for various interrupt events

Exact value (const): "macirq"

Rule 2

The interrupt to manage the remote wake-up packet detection

Exact value (const): "eth_wake_irq"

Rule 3

The interrupt that occurs when Rx exits the LPI state

Exact value (const): "eth_lpi"

Rule 4

The interrupt that occurs when HW safety error triggered

Exact value (const): "sfty"

Rule 5

Per channel receive completion interrupt

String pattern (pattern): "^rx-queue-[0-7]$"

Rule 6

Per channel transmit completion interrupt

String pattern (pattern): "^tx-queue-[0-7]$"

Rule 7

PPS interrupt

String pattern (pattern): "^ptp-pps-[0-3]$"

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 10

Array items beyond the listed positions (additionalItems) #

true

Allowed by this rule.

Array item rules (items) #

Item 1

GMAC main clock

Item 2

Peripheral registers interface clock

Item 3

PTP reference clock. This clock is used for programming the Timestamp Addend Register. If not passed then the system clock will be used and this is fine on some platforms.

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 10

Array items beyond the listed positions (additionalItems) #

true

Allowed by this rule.

Rule for matching array elements (contains) #

Allowed values (enum): "stmmaceth", "pclk", "ptp_ref"

resets — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

GMAC stmmaceth reset

Item 2

AHB reset

reset-names — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "stmmaceth", "ahb"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "stmmaceth"

Item 2

Exact value (const): "ahb"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

mac-mode — not listed as required here #

Shared schema rule ($ref): ethernet-controller.yaml#/properties/phy-connection-type

The property is identical to 'phy-mode', and assumes that there is mode converter in-between the MAC & PHY (e.g. GMII-to-RGMII). This converter can be passive (no SW requirement), and requires that the MAC operate in a different mode than the PHY in order to function.

snps,axi-config — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

AXI BUS Mode parameters. Phandle to a node that can contain the following properties * snps,lpi_en, enable Low Power Interface * snps,xit_frm, unlock on WoL * snps,wr_osr_lmt, max write outstanding req. limit * snps,rd_osr_lmt, max read outstanding req. limit * snps,kbbe, do not cross 1KiB boundary. * snps,blen, this is a vector of supported burst length. * snps,fb, fixed-burst * snps,mb, mixed-burst * snps,rb, rebuild INCRx Burst

snps,mtl-rx-config — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Multiple RX Queues parameters. Phandle to a node that implements the 'rx-queues-config' object described in this binding.

rx-queues-config — not listed as required here #

Value type (type): "object"

Properties and child nodes (properties) #

snps,rx-queues-to-use — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

number of RX queues to be used in the driver

snps,rx-sched-sp — not listed as required here

Value type (type): "boolean"

Strict priority

snps,rx-sched-wsp — not listed as required here

Value type (type): "boolean"

Weighted Strict priority

All of these rules must match (allOf) #

Rule 1

Condition (if)

Required in this object (required): "snps,rx-sched-sp"

When the condition matches (then)

Properties and child nodes (properties)

snps,rx-sched-wsp — not listed as required here

false — Not permitted by this property rule.

Rule 2

Condition (if)

Required in this object (required): "snps,rx-sched-wsp"

When the condition matches (then)

Properties and child nodes (properties)

snps,rx-sched-sp — not listed as required here

false — Not permitted by this property rule.

Properties matching a name pattern (patternProperties) #

^queue[0-9]$ — name matches this regular expression

Each subnode represents a queue.

Value type (type): "object"

Properties and child nodes (properties)

snps,dcb-algorithm — not listed as required here

Value type (type): "boolean"

Queue to be enabled as DCB

snps,avb-algorithm — not listed as required here

Value type (type): "boolean"

Queue to be enabled as AVB

snps,map-to-dma-channel — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

DMA channel id to map

snps,route-avcp — not listed as required here

Value type (type): "boolean"

AV Untagged Control packets

snps,route-ptp — not listed as required here

Value type (type): "boolean"

PTP Packets

snps,route-dcbcp — not listed as required here

Value type (type): "boolean"

DCB Control Packets

snps,route-up — not listed as required here

Value type (type): "boolean"

Untagged Packets

snps,route-multi-broad — not listed as required here

Value type (type): "boolean"

Multicast & Broadcast Packets

snps,priority — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Maximum number of items (maxItems): 1

Bitmask of the tagged frames priorities assigned to the queue

All of these rules must match (allOf)

Rule 1

Condition (if)

Required in this object (required): "snps,dcb-algorithm"

When the condition matches (then)

Properties and child nodes (properties)

snps,avb-algorithm — not listed as required here

false — Not permitted by this property rule.

Rule 2

Condition (if)

Required in this object (required): "snps,avb-algorithm"

When the condition matches (then)

Properties and child nodes (properties)

snps,dcb-algorithm — not listed as required here

false — Not permitted by this property rule.

Rule 3

Condition (if)

Required in this object (required): "snps,route-avcp"

When the condition matches (then)

Properties and child nodes (properties)

snps,route-ptp — not listed as required here

false — Not permitted by this property rule.

snps,route-dcbcp — not listed as required here

false — Not permitted by this property rule.

snps,route-up — not listed as required here

false — Not permitted by this property rule.

snps,route-multi-broad — not listed as required here

false — Not permitted by this property rule.

Rule 4

Condition (if)

Required in this object (required): "snps,route-ptp"

When the condition matches (then)

Properties and child nodes (properties)

snps,route-avcp — not listed as required here

false — Not permitted by this property rule.

snps,route-dcbcp — not listed as required here

false — Not permitted by this property rule.

snps,route-up — not listed as required here

false — Not permitted by this property rule.

snps,route-multi-broad — not listed as required here

false — Not permitted by this property rule.

Rule 5

Condition (if)

Required in this object (required): "snps,route-dcbcp"

When the condition matches (then)

Properties and child nodes (properties)

snps,route-avcp — not listed as required here

false — Not permitted by this property rule.

snps,route-ptp — not listed as required here

false — Not permitted by this property rule.

snps,route-up — not listed as required here

false — Not permitted by this property rule.

snps,route-multi-broad — not listed as required here

false — Not permitted by this property rule.

Rule 6

Condition (if)

Required in this object (required): "snps,route-up"

When the condition matches (then)

Properties and child nodes (properties)

snps,route-avcp — not listed as required here

false — Not permitted by this property rule.

snps,route-ptp — not listed as required here

false — Not permitted by this property rule.

snps,route-dcbcp — not listed as required here

false — Not permitted by this property rule.

snps,route-multi-broad — not listed as required here

false — Not permitted by this property rule.

Rule 7

Condition (if)

Required in this object (required): "snps,route-multi-broad"

When the condition matches (then)

Properties and child nodes (properties)

snps,route-avcp — not listed as required here

false — Not permitted by this property rule.

snps,route-ptp — not listed as required here

false — Not permitted by this property rule.

snps,route-dcbcp — not listed as required here

false — Not permitted by this property rule.

snps,route-up — not listed as required here

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

snps,mtl-tx-config — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Multiple TX Queues parameters. Phandle to a node that implements the 'tx-queues-config' object described in this binding.

tx-queues-config — not listed as required here #

Value type (type): "object"

Properties and child nodes (properties) #

snps,tx-queues-to-use — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

number of TX queues to be used in the driver

snps,tx-sched-wrr — not listed as required here

Value type (type): "boolean"

Weighted Round Robin

snps,tx-sched-wfq — not listed as required here

Value type (type): "boolean"

Weighted Fair Queuing

snps,tx-sched-dwrr — not listed as required here

Value type (type): "boolean"

Deficit Weighted Round Robin

All of these rules must match (allOf) #

Rule 1

Condition (if)

Required in this object (required): "snps,tx-sched-wrr"

When the condition matches (then)

Properties and child nodes (properties)

snps,tx-sched-wfq — not listed as required here

false — Not permitted by this property rule.

snps,tx-sched-dwrr — not listed as required here

false — Not permitted by this property rule.

Rule 2

Condition (if)

Required in this object (required): "snps,tx-sched-wfq"

When the condition matches (then)

Properties and child nodes (properties)

snps,tx-sched-wrr — not listed as required here

false — Not permitted by this property rule.

snps,tx-sched-dwrr — not listed as required here

false — Not permitted by this property rule.

Rule 3

Condition (if)

Required in this object (required): "snps,tx-sched-dwrr"

When the condition matches (then)

Properties and child nodes (properties)

snps,tx-sched-wrr — not listed as required here

false — Not permitted by this property rule.

snps,tx-sched-wfq — not listed as required here

false — Not permitted by this property rule.

Properties matching a name pattern (patternProperties) #

^queue[0-9]$ — name matches this regular expression

Each subnode represents a queue.

Value type (type): "object"

Properties and child nodes (properties)

snps,weight — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

TX queue weight (if using a DCB weight algorithm)

snps,dcb-algorithm — not listed as required here

Value type (type): "boolean"

TX queue will be working in DCB

snps,avb-algorithm — not listed as required here

Value type (type): "boolean"

TX queue will be working in AVB. Queue 0 is reserved for legacy traffic and so no AVB is available in this queue.

snps,send_slope — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

enable Low Power Interface

snps,idle_slope — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

unlock on WoL

snps,high_credit — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

max write outstanding req. limit

snps,low_credit — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

max read outstanding req. limit

snps,priority — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Maximum number of items (maxItems): 1

Bitmask of the tagged frames priorities assigned to the queue. When a PFC frame is received with priorities matching the bitmask, the queue is blocked from transmitting for the pause time specified in the PFC frame.

snps,coe-unsupported — not listed as required here

Value type (type): "boolean"

TX checksum offload is unsupported by the TX queue.

All of these rules must match (allOf)

Rule 1

Condition (if)

Required in this object (required): "snps,dcb-algorithm"

When the condition matches (then)

Properties and child nodes (properties)

snps,avb-algorithm — not listed as required here

false — Not permitted by this property rule.

Rule 2

Condition (if)

Required in this object (required): "snps,avb-algorithm"

When the condition matches (then)

Properties and child nodes (properties)

snps,dcb-algorithm — not listed as required here

false — Not permitted by this property rule.

snps,weight — not listed as required here

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

snps,reset-gpio — not listed as required here #

Deprecated (deprecated): true

Maximum number of items (maxItems): 1

PHY Reset GPIO

snps,reset-active-low — not listed as required here #

Deprecated (deprecated): true

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Indicates that the PHY Reset is active low

snps,reset-delays-us — not listed as required here #

Deprecated (deprecated): true

Triplet of delays. The 1st cell is reset pre-delay in micro seconds. The 2nd cell is reset pulse in micro seconds. The 3rd cell is reset post-delay in micro seconds.

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

snps,aal — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Use Address-Aligned Beats

snps,pbl — not listed as required here #

Programmable Burst Length (tx and rx)

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1, 2, 4, 8, 16, 32

snps,txpbl — not listed as required here #

Tx Programmable Burst Length. If set, DMA tx will use this value rather than snps,pbl.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1, 2, 4, 8, 16, 32

snps,rxpbl — not listed as required here #

Rx Programmable Burst Length. If set, DMA rx will use this value rather than snps,pbl.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1, 2, 4, 8, 16, 32

snps,no-pbl-x8 — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Don\'t multiply the pbl/txpbl/rxpbl values by 8. For core rev < 3.50, don\'t multiply the values by 4.

snps,fixed-burst — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Program the DMA to use the fixed burst mode

snps,mixed-burst — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Program the DMA to use the mixed burst mode

snps,force_thresh_dma_mode — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Force DMA to use the threshold mode for both tx and rx

snps,force_sf_dma_mode — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Force DMA to use the Store and Forward mode for both tx and rx. This flag is ignored if force_thresh_dma_mode is set.

snps,en-tx-lpi-clockgating — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Deprecated (deprecated): true

Enable gating of the MAC TX clock during TX low-power mode

snps,multicast-filter-bins — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Number of multicast filter hash bins supported by this device instance

snps,perfect-filter-entries — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Number of perfect filter entries supported by this device instance

snps,ps-speed — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Port selection speed that can be passed to the core when PCS is supported. For example, this is used in case of SGMII and MAC2MAC connection.

snps,clk-csr — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Frequency division factor for MDC clock.

snps,tso — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Enables the TSO feature otherwise it will be managed by MAC HW capability register.

mdio — not listed as required here #

Shared schema rule ($ref): mdio.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Creates and registers an MDIO bus.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "snps,dwmac-mdio"

Required in this object (required): "compatible"

stmmac-axi-config — not listed as required here #

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

AXI BUS Mode parameters.

Properties and child nodes (properties) #

snps,lpi_en — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

enable Low Power Interface

snps,xit_frm — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

unlock on WoL

snps,wr_osr_lmt — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

max write outstanding req. limit

snps,rd_osr_lmt — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

max read outstanding req. limit

snps,kbbe — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

do not cross 1KiB boundary.

snps,blen — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

this is a vector of supported burst length.

Minimum number of items (minItems): 7

Maximum number of items (maxItems): 7

snps,fb — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

fixed-burst

snps,mb — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

mixed-burst

snps,rb — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

rebuild INCRx Burst

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "phy-mode"

Property dependencies (dependencies) #

snps,reset-active-low — applies when this property is present #

Also requires: "snps,reset-gpio"

snps,reset-delays-us — applies when this property is present #

Also requires: "snps,reset-gpio"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): ethernet-controller.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun7i-a20-gmac", "allwinner,sun8i-a83t-emac", "allwinner,sun8i-h3-emac", "allwinner,sun8i-r40-gmac", "allwinner,sun8i-v3s-emac", "allwinner,sun50i-a64-emac", "loongson,ls2k-dwmac", "loongson,ls7a-dwmac", "ingenic,jz4775-mac", "ingenic,x1000-mac", "ingenic,x1600-mac", "ingenic,x1830-mac", "ingenic,x2000-mac", "qcom,qcs404-ethqos", "qcom,sa8775p-ethqos", "qcom,sc8280xp-ethqos", "qcom,sm8150-ethqos", "snps,dwmac-4.00", "snps,dwmac-4.10a", "snps,dwmac-4.20a", "snps,dwmac-5.00a", "snps,dwmac-5.10a", "snps,dwmac-5.20", "snps,dwmac-5.30a", "snps,dwxgmac", "snps,dwxgmac-2.10", "st,spear600-gmac"

When the condition matches (then) #

Properties and child nodes (properties)

snps,tso — not listed as required here

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Examples (examples) #

gmac0: ethernet@e0800000 {
    compatible = "snps,dwxgmac-2.10", "snps,dwxgmac";
    reg = <0xe0800000 0x8000>;
    interrupt-parent = <&vic1>;
    interrupts = <24 23 22>;
    interrupt-names = "macirq", "eth_wake_irq", "eth_lpi";
    mac-address = [000000000000]; /* Filled in by U-Boot */
    max-frame-size = <3800>;
    phy-mode = "gmii";
    snps,multicast-filter-bins = <256>;
    snps,perfect-filter-entries = <128>;
    rx-fifo-depth = <16384>;
    tx-fifo-depth = <16384>;
    clocks = <&clock>;
    clock-names = "stmmaceth";
    snps,axi-config = <&stmmac_axi_setup>;
    snps,mtl-rx-config = <&mtl_rx_setup>;
    snps,mtl-tx-config = <&mtl_tx_setup>;

    stmmac_axi_setup: stmmac-axi-config {
        snps,wr_osr_lmt = <0xf>;
        snps,rd_osr_lmt = <0xf>;
        snps,blen = <256 128 64 32 0 0 0>;
    };

    mtl_rx_setup: rx-queues-config {
        snps,rx-queues-to-use = <1>;
        snps,rx-sched-sp;
        queue0 {
            snps,dcb-algorithm;
            snps,map-to-dma-channel = <0x0>;
            snps,priority = <0x0>;
        };
    };

    mtl_tx_setup: tx-queues-config {
        snps,tx-queues-to-use = <2>;
        snps,tx-sched-wrr;
        queue0 {
            snps,weight = <0x10>;
            snps,dcb-algorithm;
            snps,priority = <0x0>;
        };

        queue1 {
            snps,avb-algorithm;
            snps,send_slope = <0x1000>;
            snps,idle_slope = <0x1000>;
            snps,high_credit = <0x3E800>;
            snps,low_credit = <0xFFC18000>;
            snps,priority = <0x1>;
        };
    };

    mdio {
        #address-cells = <1>;
        #size-cells = <0>;
        compatible = "snps,dwmac-mdio";
        phy1: ethernet-phy@0 {
            reg = <0>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 14: Select every compatible, including the deprecated ones. This way, we

Line 15: will be able to report a warning when we have that compatible, since

Line 16: we will validate the node thanks to the select, but won't report it

Line 17: as a valid value in the compatible property description

Line 40: Deprecated

Line 48: We need to include all the compatibles from schemas that will

Line 49: include that schemas, otherwise compatible won't validate for

Line 50: those.

Line 735: FIXME: We should set it, but it would report all the generic

Line 736: properties as additional properties.

Line 737: additionalProperties: false

Edit this page