Network for cpm enet

Schema identifier ($id): "http://devicetree.org/schemas/net/fsl,cpm-enet.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "fsl,cpm1-scc-enet", "fsl,cpm2-scc-enet", "fsl,cpm1-fec-enet", "fsl,cpm2-fcc-enet", "fsl,qe-enet"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,mpc8272-fcc-enet"

Item 2

Exact value (const): "fsl,cpm2-fcc-enet"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

interrupts — required here #

Maximum number of items (maxItems): 1

fsl,cpm-command — not listed as required here #

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

cpm command

Required in this object (required): "compatible", "reg", "interrupts"

All of these rules must match (allOf) #

Rule 1 #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

ethernet@11300 {
    compatible = "fsl,mpc8272-fcc-enet",
                 "fsl,cpm2-fcc-enet";
    reg = <0x11300 0x20 0x8400 0x100 0x11390 1>;
    local-mac-address = [ 00 00 00 00 00 00 ];
    interrupts = <20 8>;
    interrupt-parent = <&pic>;
    phy-handle = <&phy0>;
    fsl,cpm-command = <0x12000300>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page