Qualcomm Geni based QUP UART interface

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

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

Maintainers (maintainers): "Praveen Talari <quic_ptalari@quicinc.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sa8255p-geni-uart", "qcom,sa8255p-geni-debug-uart"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

UART core irq

Item 2

Wakeup irq (RX GPIO)

interrupt-names — not listed as required here #

The UART interrupt and optionally the RX in-band wakeup interrupt as not all UART instances have a wakeup-capable interrupt routed via the PDC.

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "uart"

Item 2

Exact value (const): "wakeup"

power-domains — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

power-domain-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "power"

Item 2

Exact value (const): "perf"

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "power-domain-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

serial@990000 {
    compatible = "qcom,sa8255p-geni-uart";
    reg = <0x990000 0x4000>;
    interrupts = <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>;
    power-domains = <&scmi0_pd 0>, <&scmi0_dvfs 0>;
    power-domain-names = "power", "perf";
};

Source notes #

Annotations retained from the schema source

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

Edit this page