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-mxs-auart.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Freescale MXS Application UART (AUART) 8 9maintainers: 10 - Fabio Estevam <festevam@gmail.com> 11 12allOf: 13 - $ref: serial.yaml# 14 15properties: 16 compatible: 17 oneOf: 18 - const: fsl,imx23-auart 19 - const: alphascale,asm9260-auart 20 - items: 21 - enum: 22 - fsl,imx28-auart 23 - const: fsl,imx23-auart 24 25 reg: 26 maxItems: 1 27 28 interrupts: 29 maxItems: 1 30 31 dmas: 32 items: 33 - description: DMA controller phandle and request line for RX 34 - description: DMA controller phandle and request line for TX 35 36 dma-names: 37 items: 38 - const: rx 39 - const: tx 40 41 clocks: 42 items: 43 - description: mod clock 44 - description: ahb clock 45 minItems: 1 46 47 clock-names: 48 items: 49 - const: mod 50 - const: ahb 51 minItems: 1 52 53 uart-has-rtscts: true 54 rts-gpios: true 55 cts-gpios: true 56 dtr-gpios: true 57 dsr-gpios: true 58 rng-gpios: true 59 dcd-gpios: true 60 61if: 62 properties: 63 compatible: 64 contains: 65 enum: 66 - alphascale,asm9260-auart 67then: 68 required: 69 - clocks 70 - clock-names 71 72required: 73 - compatible 74 - reg 75 - interrupts 76 - dmas 77 - dma-names 78 79unevaluatedProperties: false 80 81examples: 82 - | 83 aliases { 84 serial0 = &auart0; 85 }; 86 87 auart0: serial@8006a000 { 88 compatible = "fsl,imx28-auart", "fsl,imx23-auart"; 89 reg = <0x8006a000 0x2000>; 90 interrupts = <112>; 91 dmas = <&dma_apbx 8>, <&dma_apbx 9>; 92 dma-names = "rx", "tx"; 93 clocks = <&clks 45>; 94 }; 95