Freescale MXS Application UART (AUART)

Schema identifier ($id): "http://devicetree.org/schemas/serial/fsl-mxs-auart.yaml#"

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

Maintainers (maintainers): "Fabio Estevam <festevam@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "fsl,imx23-auart"

Rule 2

Exact value (const): "alphascale,asm9260-auart"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx28-auart"

Item 2

Exact value (const): "fsl,imx23-auart"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

dmas — required here #

Array item rules (items) #

Item 1

DMA controller phandle and request line for RX

Item 2

DMA controller phandle and request line for TX

dma-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rx"

Item 2

Exact value (const): "tx"

clocks — not listed as required here #

Array item rules (items) #

Item 1

mod clock

Item 2

ahb clock

Minimum number of items (minItems): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mod"

Item 2

Exact value (const): "ahb"

Minimum number of items (minItems): 1

uart-has-rtscts — not listed as required here #

true — No constraints added by this property rule.

rts-gpios — not listed as required here #

true — No constraints added by this property rule.

cts-gpios — not listed as required here #

true — No constraints added by this property rule.

dtr-gpios — not listed as required here #

true — No constraints added by this property rule.

dsr-gpios — not listed as required here #

true — No constraints added by this property rule.

rng-gpios — not listed as required here #

true — No constraints added by this property rule.

dcd-gpios — not listed as required here #

true — No constraints added by this property rule.

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "alphascale,asm9260-auart"

When the condition matches (then) #

Required in this object (required): "clocks", "clock-names"

Required in this object (required): "compatible", "reg", "interrupts", "dmas", "dma-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

aliases {
    serial0 = &auart0;
};

auart0: serial@8006a000 {
    compatible = "fsl,imx28-auart", "fsl,imx23-auart";
    reg = <0x8006a000 0x2000>;
    interrupts = <112>;
    dmas = <&dma_apbx 8>, <&dma_apbx 9>;
    dma-names = "rx", "tx";
    clocks = <&clks 45>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page