Cadence UART Controller

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

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

Maintainers (maintainers): "Michal Simek <michal.simek@amd.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

UART controller for Zynq-7xxx SoC

Array item rules (items)

Item 1

Exact value (const): "xlnx,xuartps"

Item 2

Exact value (const): "cdns,uart-r1p8"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "axiado,ax3000-uart", "xlnx,zynqmp-uart"

Item 2

Exact value (const): "cdns,uart-r1p12"

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): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "uart_clk"

Item 2

Exact value (const): "pclk"

cts-override — not listed as required here #

Override the CTS modem status signal. This signal will always be reported as active instead of being obtained from the modem status register. Define this if your serial port does not use this pin.

Value type (type): "boolean"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

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 #

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

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "cdns,uart-r1p8"

When the condition matches (then) #

Properties and child nodes (properties)

power-domains — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

uart0: serial@e0000000 {
    compatible = "xlnx,xuartps", "cdns,uart-r1p8";
    clocks = <&clkc 23>, <&clkc 40>;
    clock-names = "uart_clk", "pclk";
    reg = <0xe0000000 0x1000>;
    interrupts = <0 27 4>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page