1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/serial/qcom,msm-uartdm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm MSM Serial UARTDM
10 - Andy Gross <agross@kernel.org>
11 - Bjorn Andersson <bjorn.andersson@linaro.org>
12 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
15 The MSM serial UARTDM hardware is designed for high-speed use cases where the
16 transmit and/or receive channels can be offloaded to a dma-engine. From a
17 software perspective it's mostly compatible with the MSM serial UART except
18 that it supports reading and writing multiple characters at a time.
20 Note:: Aliases may be defined to ensure the correct ordering of the UARTs.
21 The alias serialN will result in the UART being assigned port N. If any
22 serialN alias exists, then an alias must exist for each enabled UART. The
23 serialN aliases should be in a .dts file instead of in a .dtsi file.
29 - qcom,msm-uartdm-v1.1
30 - qcom,msm-uartdm-v1.2
31 - qcom,msm-uartdm-v1.3
32 - qcom,msm-uartdm-v1.4
33 - const: qcom,msm-uartdm
57 operating-points-v2: true
63 $ref: /schemas/types.yaml#/definitions/uint32
65 Identificator for Client Rate Control Interface to be used with RX DMA
66 channel. Required when using DMA for reception with UARTDM v1.3 and
70 $ref: /schemas/types.yaml#/definitions/uint32
72 Identificator for Client Rate Control Interface to be used with TX DMA
73 channel. Required when using DMA for transmission with UARTDM v1.3 and
79 - description: Main control registers
80 - description: An optional second register location shall specify the GSBI control region.
90 - $ref: /schemas/serial/serial.yaml#
96 const: qcom,msm-uartdm-v1.3
106 unevaluatedProperties: false
110 #include <dt-bindings/interconnect/qcom,msm8996.h>
111 #include <dt-bindings/interrupt-controller/arm-gic.h>
112 #include <dt-bindings/power/qcom-rpmpd.h>
115 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
116 reg = <0xf991e000 0x1000>;
117 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
118 clocks = <&blsp1_uart2_apps_cxc>, <&blsp1_ahb_cxc>;
119 clock-names = "core", "iface";
120 dmas = <&dma0 0>, <&dma0 1>;
121 dma-names = "tx", "rx";
122 power-domains = <&rpmpd MSM8996_VDDCX>;
123 operating-points-v2 = <&uart_opp_table>;
124 interconnects = <&pnoc MASTER_BLSP_1 &bimc SLAVE_EBI_CH0>;