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