ASIX AX88172/AX88772 USB Ethernet Controllers

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

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

Maintainers (maintainers): "Oleksij Rempel <o.rempel@pengutronix.de>"

Device tree properties for hard wired USB Ethernet devices.

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "usbb95,1720", "usbb95,172a", "usbb95,1780", "usbb95,7720", "usbb95,772a", "usbb95,772b", "usbb95,7e2b"

reg — required here #

Maximum number of items (maxItems): 1

local-mac-address — not listed as required here #

true — No constraints added by this property rule.

mac-address — not listed as required here #

true — No constraints added by this property rule.

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

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

false

Not allowed by this rule.

Examples (examples) #

usb {
    #address-cells = <1>;
    #size-cells = <0>;

    ethernet@1 {
        compatible = "usbb95,7e2b";
        reg = <1>;
        local-mac-address = [00 00 00 00 00 00];
    };
};
usb {
    #address-cells = <1>;
    #size-cells = <0>;

    usb1@1 {
        compatible = "usb1234,5678";
        reg = <1>;
        #address-cells = <1>;
        #size-cells = <0>;

        ethernet@1 {
            compatible = "usbb95,772b";
            reg = <1>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 22: ASIX AX88172

Line 23: ASIX AX88172A

Line 24: ASIX AX88178

Line 25: ASIX AX88772

Line 26: ASIX AX88772A

Line 27: ASIX AX88772B

Line 28: ASIX AX88772B

Edit this page