xref: /freebsd/sys/contrib/device-tree/Bindings/serial/fsl-lpuart.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/serial/fsl-lpuart.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale low power universal asynchronous receiver/transmitter (lpuart)
8
9maintainers:
10  - Fugang Duan <fugang.duan@nxp.com>
11
12allOf:
13  - $ref: rs485.yaml#
14  - $ref: serial.yaml#
15
16properties:
17  compatible:
18    oneOf:
19      - enum:
20          - fsl,vf610-lpuart
21          - fsl,ls1021a-lpuart
22          - fsl,ls1028a-lpuart
23          - fsl,imx7ulp-lpuart
24          - fsl,imx8qxp-lpuart
25          - fsl,imxrt1050-lpuart
26      - items:
27          - enum:
28              - fsl,imx93-lpuart
29              - fsl,imx8ulp-lpuart
30          - const: fsl,imx7ulp-lpuart
31      - items:
32          - enum:
33              - fsl,imx8qm-lpuart
34              - fsl,imx8dxl-lpuart
35          - const: fsl,imx8qxp-lpuart
36      - items:
37          - const: fsl,imxrt1050-lpuart
38          - const: fsl,imxrt1170-lpuart
39
40  reg:
41    maxItems: 1
42
43  interrupts:
44    maxItems: 1
45
46  clocks:
47    items:
48      - description: ipg clock
49      - description: baud clock
50    minItems: 1
51
52  clock-names:
53    items:
54      - const: ipg
55      - const: baud
56    minItems: 1
57
58  dmas:
59    items:
60      - description: DMA controller phandle and request line for RX
61      - description: DMA controller phandle and request line for TX
62
63  dma-names:
64    items:
65      - const: rx
66      - const: tx
67
68  power-domains:
69    maxItems: 1
70
71required:
72  - compatible
73  - reg
74  - interrupts
75  - clocks
76  - clock-names
77
78unevaluatedProperties: false
79
80examples:
81  - |
82    #include <dt-bindings/clock/vf610-clock.h>
83
84    serial@40027000 {
85        compatible = "fsl,vf610-lpuart";
86        reg = <0x40027000 0x1000>;
87        interrupts = <0 61 0x00>;
88        clocks = <&clks VF610_CLK_UART0>;
89        clock-names = "ipg";
90        dmas = <&edma0 0 2>, <&edma0 0 3>;
91        dma-names = "rx","tx";
92    };
93