Allwinner A10 EMAC Ethernet Controller

Schema identifier ($id): "http://devicetree.org/schemas/net/allwinner,sun4i-a10-emac.yaml#"

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

All of these rules must match (allOf) #

Rule 1 #

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "allwinner,sun4i-a10-emac"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

allwinner,sram — required here #

Phandle to the device SRAM

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

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to SRAM

Item 2

register value for device

dmas — not listed as required here #

Array item rules (items) #

Item 1

RX DMA Channel

Item 2

TX DMA Channel

dma-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "rx"

Item 2

Exact value (const): "tx"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "phy-handle", "allwinner,sram"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

emac: ethernet@1c0b000 {
    compatible = "allwinner,sun4i-a10-emac";
    reg = <0x01c0b000 0x1000>;
    interrupts = <55>;
    clocks = <&ahb_gates 17>;
    phy-handle = <&phy0>;
    allwinner,sram = <&emac_sram 1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page