Qualcomm Geni based QUP UART interface
Schema identifier ($id): "http://devicetree.org/schemas/serial/qcom,serial-geni-qcom.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <bjorn.andersson@linaro.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/soc/qcom/qcom,se-common-props.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,geni-uart", "qcom,geni-debug-uart"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "se"
interconnects — not listed as required here #
Maximum number of items (maxItems): 2
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"qup-core"
Item 2
Exact value (
const):"qup-config"
interrupts — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
UART core irq
Item 2
Wakeup irq (RX GPIO)
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
pinctrl-0 — not listed as required here #
true — No constraints added by this property rule.
pinctrl-1 — not listed as required here #
true — No constraints added by this property rule.
pinctrl-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"default"
Item 2
Exact value (
const):"sleep"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-sc7180.h>
#include <dt-bindings/interconnect/qcom,sc7180.h>
serial@a88000 {
compatible = "qcom,geni-uart";
reg = <0xa88000 0x7000>;
interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "se";
clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
pinctrl-0 = <&qup_uart0_default>;
pinctrl-names = "default";
interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
interconnect-names = "qup-core", "qup-config";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)