xref: /freebsd/sys/contrib/device-tree/Bindings/serial/fsl-mxs-auart.yaml (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1*6be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*6be33864SEmmanuel Vadot%YAML 1.2
3*6be33864SEmmanuel Vadot---
4*6be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/serial/fsl-mxs-auart.yaml#
5*6be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*6be33864SEmmanuel Vadot
7*6be33864SEmmanuel Vadottitle: Freescale MXS Application UART (AUART)
8*6be33864SEmmanuel Vadot
9*6be33864SEmmanuel Vadotmaintainers:
10*6be33864SEmmanuel Vadot  - Fabio Estevam <fabio.estevam@nxp.com>
11*6be33864SEmmanuel Vadot
12*6be33864SEmmanuel VadotallOf:
13*6be33864SEmmanuel Vadot  - $ref: "serial.yaml"
14*6be33864SEmmanuel Vadot
15*6be33864SEmmanuel Vadotproperties:
16*6be33864SEmmanuel Vadot  compatible:
17*6be33864SEmmanuel Vadot    enum:
18*6be33864SEmmanuel Vadot      - fsl,imx23-auart
19*6be33864SEmmanuel Vadot      - fsl,imx28-auart
20*6be33864SEmmanuel Vadot      - alphascale,asm9260-auart
21*6be33864SEmmanuel Vadot
22*6be33864SEmmanuel Vadot  reg:
23*6be33864SEmmanuel Vadot    maxItems: 1
24*6be33864SEmmanuel Vadot
25*6be33864SEmmanuel Vadot  interrupts:
26*6be33864SEmmanuel Vadot    maxItems: 1
27*6be33864SEmmanuel Vadot
28*6be33864SEmmanuel Vadot  dmas:
29*6be33864SEmmanuel Vadot    items:
30*6be33864SEmmanuel Vadot      - description: DMA controller phandle and request line for RX
31*6be33864SEmmanuel Vadot      - description: DMA controller phandle and request line for TX
32*6be33864SEmmanuel Vadot
33*6be33864SEmmanuel Vadot  dma-names:
34*6be33864SEmmanuel Vadot    items:
35*6be33864SEmmanuel Vadot      - const: rx
36*6be33864SEmmanuel Vadot      - const: tx
37*6be33864SEmmanuel Vadot
38*6be33864SEmmanuel Vadot  clocks:
39*6be33864SEmmanuel Vadot    items:
40*6be33864SEmmanuel Vadot      - description: mod clock
41*6be33864SEmmanuel Vadot      - description: ahb clock
42*6be33864SEmmanuel Vadot    minItems: 1
43*6be33864SEmmanuel Vadot
44*6be33864SEmmanuel Vadot  clock-names:
45*6be33864SEmmanuel Vadot    items:
46*6be33864SEmmanuel Vadot      - const: mod
47*6be33864SEmmanuel Vadot      - const: ahb
48*6be33864SEmmanuel Vadot    minItems: 1
49*6be33864SEmmanuel Vadot
50*6be33864SEmmanuel Vadot  uart-has-rtscts: true
51*6be33864SEmmanuel Vadot  rts-gpios: true
52*6be33864SEmmanuel Vadot  cts-gpios: true
53*6be33864SEmmanuel Vadot  dtr-gpios: true
54*6be33864SEmmanuel Vadot  dsr-gpios: true
55*6be33864SEmmanuel Vadot  rng-gpios: true
56*6be33864SEmmanuel Vadot  dcd-gpios: true
57*6be33864SEmmanuel Vadot
58*6be33864SEmmanuel Vadotif:
59*6be33864SEmmanuel Vadot  properties:
60*6be33864SEmmanuel Vadot    compatible:
61*6be33864SEmmanuel Vadot      contains:
62*6be33864SEmmanuel Vadot        enum:
63*6be33864SEmmanuel Vadot          - alphascale,asm9260-auart
64*6be33864SEmmanuel Vadotthen:
65*6be33864SEmmanuel Vadot  required:
66*6be33864SEmmanuel Vadot    - clocks
67*6be33864SEmmanuel Vadot    - clock-names
68*6be33864SEmmanuel Vadot
69*6be33864SEmmanuel Vadotrequired:
70*6be33864SEmmanuel Vadot  - compatible
71*6be33864SEmmanuel Vadot  - reg
72*6be33864SEmmanuel Vadot  - interrupts
73*6be33864SEmmanuel Vadot  - dmas
74*6be33864SEmmanuel Vadot  - dma-names
75*6be33864SEmmanuel Vadot
76*6be33864SEmmanuel VadotunevaluatedProperties: false
77*6be33864SEmmanuel Vadot
78*6be33864SEmmanuel Vadotexamples:
79*6be33864SEmmanuel Vadot  - |
80*6be33864SEmmanuel Vadot    aliases {
81*6be33864SEmmanuel Vadot        serial0 = &auart0;
82*6be33864SEmmanuel Vadot    };
83*6be33864SEmmanuel Vadot
84*6be33864SEmmanuel Vadot    auart0: serial@8006a000 {
85*6be33864SEmmanuel Vadot        compatible = "fsl,imx28-auart";
86*6be33864SEmmanuel Vadot        reg = <0x8006a000 0x2000>;
87*6be33864SEmmanuel Vadot        interrupts = <112>;
88*6be33864SEmmanuel Vadot        dmas = <&dma_apbx 8>, <&dma_apbx 9>;
89*6be33864SEmmanuel Vadot        dma-names = "rx", "tx";
90*6be33864SEmmanuel Vadot        clocks = <&clks 45>;
91*6be33864SEmmanuel Vadot    };
92