8250 compliant UARTs on TI's OMAP2+ and K3 SoCs

Schema identifier ($id): "http://devicetree.org/schemas/serial/8250_omap.yaml#"

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

Maintainers (maintainers): "Vignesh Raghavendra <vigneshr@ti.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "ti,am3352-uart", "ti,am4372-uart", "ti,am654-uart", "ti,dra742-uart", "ti,omap2-uart", "ti,omap3-uart", "ti,omap4-uart"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "ti,am64-uart", "ti,j721e-uart"

Item 2

Exact value (const): "ti,am654-uart"

ti,hwmods — not listed as required here #

Must be "uart<n>", n being the instance number (1-based) This property is applicable only on legacy platforms mainly omap2/3 and ti81xx and should not be used on other platforms.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

Deprecated (deprecated): true

dmas — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

dma-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "tx"

Item 2

Exact value (const): "rx"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

First entry is module IRQ required for normal IO operation. Second entry is optional and corresponds to system wakeup IRQ where supported.

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "fclk"

rs485-rts-active-high — not listed as required here #

true — No constraints added by this property rule.

power-domains — not listed as required here #

true — No constraints added by this property rule.

clock-frequency — not listed as required here #

true — No constraints added by this property rule.

current-speed — not listed as required here #

true — No constraints added by this property rule.

overrun-throttle-ms — not listed as required here #

true — No constraints added by this property rule.

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

pinctrl-0 — not listed as required here #

Default pinctrl state

pinctrl-1 — not listed as required here #

Wakeup pinctrl state

pinctrl-names — not listed as required here #

When present should contain at least "default" describing the default pin states. The second state called "wakeup" describes the pins in their wakeup configuration required to exit sleep states.

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "default"

Item 2

Exact value (const): "wakeup"

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "ti,omap2-uart", "ti,omap3-uart", "ti,omap4-uart"

When the condition matches (then) #

Properties and child nodes (properties) #

ti,hwmods — not listed as required here #

Array item rules (items)

Item 1

String pattern (pattern): "^uart([1-9])$"

When the condition does not match (else) #

Properties and child nodes (properties) #

ti,hwmods — not listed as required here #

false — Not permitted by this property rule.

Examples (examples) #

serial@49042000 {
    compatible = "ti,omap3-uart";
    reg = <0x49042000 0x400>;
    interrupts = <80>;
    dmas = <&sdma 81 &sdma 82>;
    dma-names = "tx", "rx";
    ti,hwmods = "uart4";
    clock-frequency = <48000000>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page