0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/serial/fsl-mxs-auart.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Freescale MXS Application UART (AUART)
0008
0009 maintainers:
0010 - Fabio Estevam <festevam@gmail.com>
0011
0012 allOf:
0013 - $ref: "serial.yaml"
0014
0015 properties:
0016 compatible:
0017 enum:
0018 - fsl,imx23-auart
0019 - fsl,imx28-auart
0020 - alphascale,asm9260-auart
0021
0022 reg:
0023 maxItems: 1
0024
0025 interrupts:
0026 maxItems: 1
0027
0028 dmas:
0029 items:
0030 - description: DMA controller phandle and request line for RX
0031 - description: DMA controller phandle and request line for TX
0032
0033 dma-names:
0034 items:
0035 - const: rx
0036 - const: tx
0037
0038 clocks:
0039 items:
0040 - description: mod clock
0041 - description: ahb clock
0042 minItems: 1
0043
0044 clock-names:
0045 items:
0046 - const: mod
0047 - const: ahb
0048 minItems: 1
0049
0050 uart-has-rtscts: true
0051 rts-gpios: true
0052 cts-gpios: true
0053 dtr-gpios: true
0054 dsr-gpios: true
0055 rng-gpios: true
0056 dcd-gpios: true
0057
0058 if:
0059 properties:
0060 compatible:
0061 contains:
0062 enum:
0063 - alphascale,asm9260-auart
0064 then:
0065 required:
0066 - clocks
0067 - clock-names
0068
0069 required:
0070 - compatible
0071 - reg
0072 - interrupts
0073 - dmas
0074 - dma-names
0075
0076 unevaluatedProperties: false
0077
0078 examples:
0079 - |
0080 aliases {
0081 serial0 = &auart0;
0082 };
0083
0084 auart0: serial@8006a000 {
0085 compatible = "fsl,imx28-auart";
0086 reg = <0x8006a000 0x2000>;
0087 interrupts = <112>;
0088 dmas = <&dma_apbx 8>, <&dma_apbx 9>;
0089 dma-names = "rx", "tx";
0090 clocks = <&clks 45>;
0091 };