xref: /freebsd-src/sys/contrib/device-tree/Bindings/serial/qcom,msm-uart.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2cb7aa33aSEmmanuel Vadot%YAML 1.2
3cb7aa33aSEmmanuel Vadot---
4cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/serial/qcom,msm-uart.yaml#
5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6cb7aa33aSEmmanuel Vadot
7cb7aa33aSEmmanuel Vadottitle: Qualcomm MSM SoC Serial UART
8cb7aa33aSEmmanuel Vadot
9cb7aa33aSEmmanuel Vadotmaintainers:
10cb7aa33aSEmmanuel Vadot  - Bjorn Andersson <andersson@kernel.org>
11cb7aa33aSEmmanuel Vadot  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
12cb7aa33aSEmmanuel Vadot
13cb7aa33aSEmmanuel Vadotdescription:
14cb7aa33aSEmmanuel Vadot  The MSM serial UART hardware is designed for low-speed use cases where a
15cb7aa33aSEmmanuel Vadot  dma-engine isn't needed. From a software perspective it's mostly compatible
16cb7aa33aSEmmanuel Vadot  with the MSM serial UARTDM except that it only supports reading and writing
17cb7aa33aSEmmanuel Vadot  one character at a time.
18cb7aa33aSEmmanuel Vadot
19cb7aa33aSEmmanuel Vadotproperties:
20cb7aa33aSEmmanuel Vadot  compatible:
21cb7aa33aSEmmanuel Vadot    const: qcom,msm-uart
22cb7aa33aSEmmanuel Vadot
23cb7aa33aSEmmanuel Vadot  clocks:
24cb7aa33aSEmmanuel Vadot    maxItems: 1
25cb7aa33aSEmmanuel Vadot
26cb7aa33aSEmmanuel Vadot  clock-names:
27cb7aa33aSEmmanuel Vadot    items:
28cb7aa33aSEmmanuel Vadot      - const: core
29cb7aa33aSEmmanuel Vadot
30cb7aa33aSEmmanuel Vadot  interrupts:
31cb7aa33aSEmmanuel Vadot    maxItems: 1
32cb7aa33aSEmmanuel Vadot
33cb7aa33aSEmmanuel Vadot  reg:
34cb7aa33aSEmmanuel Vadot    maxItems: 1
35cb7aa33aSEmmanuel Vadot
36cb7aa33aSEmmanuel Vadotrequired:
37cb7aa33aSEmmanuel Vadot  - compatible
38cb7aa33aSEmmanuel Vadot  - clock-names
39cb7aa33aSEmmanuel Vadot  - clocks
40cb7aa33aSEmmanuel Vadot  - interrupts
41cb7aa33aSEmmanuel Vadot  - reg
42cb7aa33aSEmmanuel Vadot
43cb7aa33aSEmmanuel VadotallOf:
44cb7aa33aSEmmanuel Vadot  - $ref: /schemas/serial/serial.yaml#
45cb7aa33aSEmmanuel Vadot
46*84943d6fSEmmanuel VadotunevaluatedProperties: false
47*84943d6fSEmmanuel Vadot
48cb7aa33aSEmmanuel Vadotexamples:
49cb7aa33aSEmmanuel Vadot  - |
50cb7aa33aSEmmanuel Vadot    serial@a9c00000 {
51cb7aa33aSEmmanuel Vadot        compatible = "qcom,msm-uart";
52cb7aa33aSEmmanuel Vadot        reg = <0xa9c00000 0x1000>;
53cb7aa33aSEmmanuel Vadot        interrupts = <11>;
54cb7aa33aSEmmanuel Vadot        clocks = <&uart_cxc>;
55cb7aa33aSEmmanuel Vadot        clock-names = "core";
56cb7aa33aSEmmanuel Vadot    };
57