xref: /freebsd/sys/contrib/device-tree/Bindings/serial/fsl-mxs-auart.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
26be33864SEmmanuel Vadot%YAML 1.2
36be33864SEmmanuel Vadot---
46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/serial/fsl-mxs-auart.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: Freescale MXS Application UART (AUART)
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Fabio Estevam <festevam@gmail.com>
116be33864SEmmanuel Vadot
126be33864SEmmanuel VadotallOf:
13*cb7aa33aSEmmanuel Vadot  - $ref: serial.yaml#
146be33864SEmmanuel Vadot
156be33864SEmmanuel Vadotproperties:
166be33864SEmmanuel Vadot  compatible:
176be33864SEmmanuel Vadot    enum:
186be33864SEmmanuel Vadot      - fsl,imx23-auart
196be33864SEmmanuel Vadot      - fsl,imx28-auart
206be33864SEmmanuel Vadot      - alphascale,asm9260-auart
216be33864SEmmanuel Vadot
226be33864SEmmanuel Vadot  reg:
236be33864SEmmanuel Vadot    maxItems: 1
246be33864SEmmanuel Vadot
256be33864SEmmanuel Vadot  interrupts:
266be33864SEmmanuel Vadot    maxItems: 1
276be33864SEmmanuel Vadot
286be33864SEmmanuel Vadot  dmas:
296be33864SEmmanuel Vadot    items:
306be33864SEmmanuel Vadot      - description: DMA controller phandle and request line for RX
316be33864SEmmanuel Vadot      - description: DMA controller phandle and request line for TX
326be33864SEmmanuel Vadot
336be33864SEmmanuel Vadot  dma-names:
346be33864SEmmanuel Vadot    items:
356be33864SEmmanuel Vadot      - const: rx
366be33864SEmmanuel Vadot      - const: tx
376be33864SEmmanuel Vadot
386be33864SEmmanuel Vadot  clocks:
396be33864SEmmanuel Vadot    items:
406be33864SEmmanuel Vadot      - description: mod clock
416be33864SEmmanuel Vadot      - description: ahb clock
426be33864SEmmanuel Vadot    minItems: 1
436be33864SEmmanuel Vadot
446be33864SEmmanuel Vadot  clock-names:
456be33864SEmmanuel Vadot    items:
466be33864SEmmanuel Vadot      - const: mod
476be33864SEmmanuel Vadot      - const: ahb
486be33864SEmmanuel Vadot    minItems: 1
496be33864SEmmanuel Vadot
506be33864SEmmanuel Vadot  uart-has-rtscts: true
516be33864SEmmanuel Vadot  rts-gpios: true
526be33864SEmmanuel Vadot  cts-gpios: true
536be33864SEmmanuel Vadot  dtr-gpios: true
546be33864SEmmanuel Vadot  dsr-gpios: true
556be33864SEmmanuel Vadot  rng-gpios: true
566be33864SEmmanuel Vadot  dcd-gpios: true
576be33864SEmmanuel Vadot
586be33864SEmmanuel Vadotif:
596be33864SEmmanuel Vadot  properties:
606be33864SEmmanuel Vadot    compatible:
616be33864SEmmanuel Vadot      contains:
626be33864SEmmanuel Vadot        enum:
636be33864SEmmanuel Vadot          - alphascale,asm9260-auart
646be33864SEmmanuel Vadotthen:
656be33864SEmmanuel Vadot  required:
666be33864SEmmanuel Vadot    - clocks
676be33864SEmmanuel Vadot    - clock-names
686be33864SEmmanuel Vadot
696be33864SEmmanuel Vadotrequired:
706be33864SEmmanuel Vadot  - compatible
716be33864SEmmanuel Vadot  - reg
726be33864SEmmanuel Vadot  - interrupts
736be33864SEmmanuel Vadot  - dmas
746be33864SEmmanuel Vadot  - dma-names
756be33864SEmmanuel Vadot
766be33864SEmmanuel VadotunevaluatedProperties: false
776be33864SEmmanuel Vadot
786be33864SEmmanuel Vadotexamples:
796be33864SEmmanuel Vadot  - |
806be33864SEmmanuel Vadot    aliases {
816be33864SEmmanuel Vadot        serial0 = &auart0;
826be33864SEmmanuel Vadot    };
836be33864SEmmanuel Vadot
846be33864SEmmanuel Vadot    auart0: serial@8006a000 {
856be33864SEmmanuel Vadot        compatible = "fsl,imx28-auart";
866be33864SEmmanuel Vadot        reg = <0x8006a000 0x2000>;
876be33864SEmmanuel Vadot        interrupts = <112>;
886be33864SEmmanuel Vadot        dmas = <&dma_apbx 8>, <&dma_apbx 9>;
896be33864SEmmanuel Vadot        dma-names = "rx", "tx";
906be33864SEmmanuel Vadot        clocks = <&clks 45>;
916be33864SEmmanuel Vadot    };
92