xref: /freebsd/sys/contrib/device-tree/Bindings/serial/fsl-mxs-auart.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
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:
13cb7aa33aSEmmanuel Vadot  - $ref: serial.yaml#
146be33864SEmmanuel Vadot
156be33864SEmmanuel Vadotproperties:
166be33864SEmmanuel Vadot  compatible:
17*84943d6fSEmmanuel Vadot    oneOf:
18*84943d6fSEmmanuel Vadot      - const: fsl,imx23-auart
19*84943d6fSEmmanuel Vadot      - const: alphascale,asm9260-auart
20*84943d6fSEmmanuel Vadot      - items:
21*84943d6fSEmmanuel Vadot          - enum:
226be33864SEmmanuel Vadot              - fsl,imx28-auart
23*84943d6fSEmmanuel Vadot          - const: fsl,imx23-auart
246be33864SEmmanuel Vadot
256be33864SEmmanuel Vadot  reg:
266be33864SEmmanuel Vadot    maxItems: 1
276be33864SEmmanuel Vadot
286be33864SEmmanuel Vadot  interrupts:
296be33864SEmmanuel Vadot    maxItems: 1
306be33864SEmmanuel Vadot
316be33864SEmmanuel Vadot  dmas:
326be33864SEmmanuel Vadot    items:
336be33864SEmmanuel Vadot      - description: DMA controller phandle and request line for RX
346be33864SEmmanuel Vadot      - description: DMA controller phandle and request line for TX
356be33864SEmmanuel Vadot
366be33864SEmmanuel Vadot  dma-names:
376be33864SEmmanuel Vadot    items:
386be33864SEmmanuel Vadot      - const: rx
396be33864SEmmanuel Vadot      - const: tx
406be33864SEmmanuel Vadot
416be33864SEmmanuel Vadot  clocks:
426be33864SEmmanuel Vadot    items:
436be33864SEmmanuel Vadot      - description: mod clock
446be33864SEmmanuel Vadot      - description: ahb clock
456be33864SEmmanuel Vadot    minItems: 1
466be33864SEmmanuel Vadot
476be33864SEmmanuel Vadot  clock-names:
486be33864SEmmanuel Vadot    items:
496be33864SEmmanuel Vadot      - const: mod
506be33864SEmmanuel Vadot      - const: ahb
516be33864SEmmanuel Vadot    minItems: 1
526be33864SEmmanuel Vadot
536be33864SEmmanuel Vadot  uart-has-rtscts: true
546be33864SEmmanuel Vadot  rts-gpios: true
556be33864SEmmanuel Vadot  cts-gpios: true
566be33864SEmmanuel Vadot  dtr-gpios: true
576be33864SEmmanuel Vadot  dsr-gpios: true
586be33864SEmmanuel Vadot  rng-gpios: true
596be33864SEmmanuel Vadot  dcd-gpios: true
606be33864SEmmanuel Vadot
616be33864SEmmanuel Vadotif:
626be33864SEmmanuel Vadot  properties:
636be33864SEmmanuel Vadot    compatible:
646be33864SEmmanuel Vadot      contains:
656be33864SEmmanuel Vadot        enum:
666be33864SEmmanuel Vadot          - alphascale,asm9260-auart
676be33864SEmmanuel Vadotthen:
686be33864SEmmanuel Vadot  required:
696be33864SEmmanuel Vadot    - clocks
706be33864SEmmanuel Vadot    - clock-names
716be33864SEmmanuel Vadot
726be33864SEmmanuel Vadotrequired:
736be33864SEmmanuel Vadot  - compatible
746be33864SEmmanuel Vadot  - reg
756be33864SEmmanuel Vadot  - interrupts
766be33864SEmmanuel Vadot  - dmas
776be33864SEmmanuel Vadot  - dma-names
786be33864SEmmanuel Vadot
796be33864SEmmanuel VadotunevaluatedProperties: false
806be33864SEmmanuel Vadot
816be33864SEmmanuel Vadotexamples:
826be33864SEmmanuel Vadot  - |
836be33864SEmmanuel Vadot    aliases {
846be33864SEmmanuel Vadot        serial0 = &auart0;
856be33864SEmmanuel Vadot    };
866be33864SEmmanuel Vadot
876be33864SEmmanuel Vadot    auart0: serial@8006a000 {
88*84943d6fSEmmanuel Vadot        compatible = "fsl,imx28-auart", "fsl,imx23-auart";
896be33864SEmmanuel Vadot        reg = <0x8006a000 0x2000>;
906be33864SEmmanuel Vadot        interrupts = <112>;
916be33864SEmmanuel Vadot        dmas = <&dma_apbx 8>, <&dma_apbx 9>;
926be33864SEmmanuel Vadot        dma-names = "rx", "tx";
936be33864SEmmanuel Vadot        clocks = <&clks 45>;
946be33864SEmmanuel Vadot    };
95