brintos

brintos / linux-shallow public Read only

0
0
Text · 1.8 KiB · dd33794 Raw
87 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/serial/qcom,serial-geni-qcom.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm Geni based QUP UART interface8 9maintainers:10  - Andy Gross <agross@kernel.org>11  - Bjorn Andersson <bjorn.andersson@linaro.org>12 13allOf:14  - $ref: /schemas/serial/serial.yaml#15 16properties:17  compatible:18    enum:19      - qcom,geni-uart20      - qcom,geni-debug-uart21 22  clocks:23    maxItems: 124 25  clock-names:26    const: se27 28  interconnects:29    maxItems: 230 31  interconnect-names:32    items:33      - const: qup-core34      - const: qup-config35 36  interrupts:37    minItems: 138    items:39      - description: UART core irq40      - description: Wakeup irq (RX GPIO)41 42  operating-points-v2: true43 44  pinctrl-0: true45  pinctrl-1: true46 47  pinctrl-names:48    minItems: 149    items:50      - const: default51      - const: sleep52 53  power-domains:54    maxItems: 155 56  reg:57    maxItems: 158 59required:60  - compatible61  - clocks62  - clock-names63  - interrupts64  - reg65 66unevaluatedProperties: false67 68examples:69  - |70    #include <dt-bindings/interrupt-controller/arm-gic.h>71    #include <dt-bindings/clock/qcom,gcc-sc7180.h>72    #include <dt-bindings/interconnect/qcom,sc7180.h>73 74    serial@a88000 {75        compatible = "qcom,geni-uart";76        reg = <0xa88000 0x7000>;77        interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;78        clock-names = "se";79        clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;80        pinctrl-0 = <&qup_uart0_default>;81        pinctrl-names = "default";82        interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,83                        <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;84        interconnect-names = "qup-core", "qup-config";85    };86...87