GENI Serial Engine QUP Wrapper Controller

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

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

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

Generic Interface (GENI) based Qualcomm Universal Peripheral (QUP) wrapper is a programmable module for supporting a wide range of serial interfaces like UART, SPI, I2C, I3C, etc. A single QUP module can provide up to 8 Serial Interfaces, using its internal Serial Engines. The GENI Serial Engine QUP Wrapper controller is modeled as a node with zero or more child nodes each representing a serial engine.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sa8255p-geni-se-qup"

reg — required here #

QUP wrapper common register address and length.

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 2

#size-cells — required here #

Exact value (const): 2

ranges — required here #

true — No constraints added by this property rule.

iommus — not listed as required here #

Maximum number of items (maxItems): 1

dma-coherent — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

spi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

GENI serial engine based SPI controller. SPI in master mode supports up to 50MHz, up to four chip selects, programmable data path from 4 bits to 32 bits and numerous protocol variants.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sa8255p-geni-spi"

i2c@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

GENI serial engine based I2C controller.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sa8255p-geni-i2c"

serial@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

GENI Serial Engine based UART Controller.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

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

Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells", "ranges"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    geniqup@9c0000 {
        compatible = "qcom,sa8255p-geni-se-qup";
        reg = <0 0x9c0000 0 0x6000>;
        #address-cells = <2>;
        #size-cells = <2>;
        ranges;

        serial@990000 {
            compatible = "qcom,sa8255p-geni-uart";
            reg = <0 0x990000 0 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 OR BSD-2-Clause)

Edit this page