Renesas EMMA Mobile UART Interface

Schema identifier ($id): "http://devicetree.org/schemas/serial/renesas,em-uart.yaml#"

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

Maintainers (maintainers): "Magnus Damm <magnus.damm@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r9a09g011-uart"

Item 2

Exact value (const): "renesas,em-uart"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "renesas,em-uart"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

UART functional clock

Item 2

Internal clock to access the registers

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "sclk"

Item 2

Exact value (const): "pclk"

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

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r9a09g011-uart"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

clock-names — not listed as required here

Minimum number of items (minItems): 2

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
uart0: serial@e1020000 {
    compatible = "renesas,em-uart";
    reg = <0xe1020000 0x38>;
    interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&usia_u0_sclk>;
    clock-names = "sclk";
};

Source notes #

Annotations retained from the schema source

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

Line 17: RZ/V2M

Line 18: generic EMMA Mobile compatible UART

Line 21: generic EMMA Mobile compatible UART

Edit this page