xref: /linux/Documentation/devicetree/bindings/serial/qcom,sa8255p-geni-uart.yaml (revision 91e60731dd605c5d6bab8b9ccac886da1780d5ca)
1*4c83146cSNikunj Kela# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*4c83146cSNikunj Kela%YAML 1.2
3*4c83146cSNikunj Kela---
4*4c83146cSNikunj Kela$id: http://devicetree.org/schemas/serial/qcom,sa8255p-geni-uart.yaml#
5*4c83146cSNikunj Kela$schema: http://devicetree.org/meta-schemas/core.yaml#
6*4c83146cSNikunj Kela
7*4c83146cSNikunj Kelatitle: Qualcomm Geni based QUP UART interface
8*4c83146cSNikunj Kela
9*4c83146cSNikunj Kelamaintainers:
10*4c83146cSNikunj Kela  - Praveen Talari <quic_ptalari@quicinc.com>
11*4c83146cSNikunj Kela
12*4c83146cSNikunj KelaallOf:
13*4c83146cSNikunj Kela  - $ref: /schemas/serial/serial.yaml#
14*4c83146cSNikunj Kela
15*4c83146cSNikunj Kelaproperties:
16*4c83146cSNikunj Kela  compatible:
17*4c83146cSNikunj Kela    enum:
18*4c83146cSNikunj Kela      - qcom,sa8255p-geni-uart
19*4c83146cSNikunj Kela      - qcom,sa8255p-geni-debug-uart
20*4c83146cSNikunj Kela
21*4c83146cSNikunj Kela  reg:
22*4c83146cSNikunj Kela    maxItems: 1
23*4c83146cSNikunj Kela
24*4c83146cSNikunj Kela  interrupts:
25*4c83146cSNikunj Kela    minItems: 1
26*4c83146cSNikunj Kela    items:
27*4c83146cSNikunj Kela      - description: UART core irq
28*4c83146cSNikunj Kela      - description: Wakeup irq (RX GPIO)
29*4c83146cSNikunj Kela
30*4c83146cSNikunj Kela  interrupt-names:
31*4c83146cSNikunj Kela    description:
32*4c83146cSNikunj Kela      The UART interrupt and optionally the RX in-band wakeup interrupt
33*4c83146cSNikunj Kela      as not all UART instances have a wakeup-capable interrupt routed
34*4c83146cSNikunj Kela      via the PDC.
35*4c83146cSNikunj Kela    minItems: 1
36*4c83146cSNikunj Kela    items:
37*4c83146cSNikunj Kela      - const: uart
38*4c83146cSNikunj Kela      - const: wakeup
39*4c83146cSNikunj Kela
40*4c83146cSNikunj Kela  power-domains:
41*4c83146cSNikunj Kela    minItems: 2
42*4c83146cSNikunj Kela    maxItems: 2
43*4c83146cSNikunj Kela
44*4c83146cSNikunj Kela  power-domain-names:
45*4c83146cSNikunj Kela    items:
46*4c83146cSNikunj Kela      - const: power
47*4c83146cSNikunj Kela      - const: perf
48*4c83146cSNikunj Kela
49*4c83146cSNikunj Kelarequired:
50*4c83146cSNikunj Kela  - compatible
51*4c83146cSNikunj Kela  - reg
52*4c83146cSNikunj Kela  - interrupts
53*4c83146cSNikunj Kela  - power-domains
54*4c83146cSNikunj Kela  - power-domain-names
55*4c83146cSNikunj Kela
56*4c83146cSNikunj KelaunevaluatedProperties: false
57*4c83146cSNikunj Kela
58*4c83146cSNikunj Kelaexamples:
59*4c83146cSNikunj Kela  - |
60*4c83146cSNikunj Kela    #include <dt-bindings/interrupt-controller/arm-gic.h>
61*4c83146cSNikunj Kela
62*4c83146cSNikunj Kela    serial@990000 {
63*4c83146cSNikunj Kela        compatible = "qcom,sa8255p-geni-uart";
64*4c83146cSNikunj Kela        reg = <0x990000 0x4000>;
65*4c83146cSNikunj Kela        interrupts = <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>;
66*4c83146cSNikunj Kela        power-domains = <&scmi0_pd 0>, <&scmi0_dvfs 0>;
67*4c83146cSNikunj Kela        power-domain-names = "power", "perf";
68*4c83146cSNikunj Kela    };
69*4c83146cSNikunj Kela...
70