Lines Matching +full:dtr +full:- +full:gpios
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/serial/atmel,at91-usart.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Richard Genoud <richard.genoud@bootlin.com>
16 - enum:
17 - atmel,at91rm9200-usart
18 - atmel,at91sam9260-usart
19 - items:
20 - const: atmel,at91rm9200-dbgu
21 - const: atmel,at91rm9200-usart
22 - items:
23 - const: atmel,at91sam9260-dbgu
24 - const: atmel,at91sam9260-usart
25 - items:
26 - enum:
27 - microchip,sam9x60-usart
28 - microchip,sam9x7-usart
29 - microchip,sama7d65-usart
30 - const: atmel,at91sam9260-usart
31 - items:
32 - const: microchip,sam9x60-dbgu
33 - const: microchip,sam9x60-usart
34 - const: atmel,at91sam9260-dbgu
35 - const: atmel,at91sam9260-usart
36 - items:
37 - const: microchip,sam9x7-dbgu
38 - const: atmel,at91sam9260-dbgu
39 - const: microchip,sam9x7-usart
40 - const: atmel,at91sam9260-usart
48 clock-names:
51 - const: usart
52 - const: gclk
57 - description: USART Peripheral Clock
58 - description: USART Generic Clock
62 - description: TX DMA Channel
63 - description: RX DMA Channel
65 dma-names:
67 - const: tx
68 - const: rx
70 atmel,usart-mode:
74 <AT91_USART_MODE_SERIAL> for USART (found in dt-bindings/mfd/at91-usart.h).
77 atmel,use-dma-rx:
81 atmel,use-dma-tx:
85 atmel,fifo-size:
93 - compatible
94 - reg
95 - interrupts
96 - clock-names
97 - clocks
98 - atmel,usart-mode
101 - if:
103 atmel,usart-mode:
107 - $ref: /schemas/spi/spi-controller.yaml#
110 atmel,use-dma-rx: false
112 atmel,use-dma-tx: false
114 atmel,fifo-size: false
116 "#size-cells":
119 "#address-cells":
123 - "#size-cells"
124 - "#address-cells"
128 - $ref: /schemas/serial/serial.yaml#
129 - $ref: /schemas/serial/rs485.yaml#
134 - |
135 #include <dt-bindings/gpio/gpio.h>
136 #include <dt-bindings/interrupt-controller/irq.h>
137 #include <dt-bindings/mfd/at91-usart.h>
138 #include <dt-bindings/dma/at91.h>
142 compatible = "atmel,at91sam9260-usart";
144 atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
147 clock-names = "usart";
148 atmel,use-dma-rx;
149 atmel,use-dma-tx;
150 rts-gpios = <&pioD 15 GPIO_ACTIVE_LOW>;
151 cts-gpios = <&pioD 16 GPIO_ACTIVE_LOW>;
152 dtr-gpios = <&pioD 17 GPIO_ACTIVE_LOW>;
153 dsr-gpios = <&pioD 18 GPIO_ACTIVE_LOW>;
154 dcd-gpios = <&pioD 20 GPIO_ACTIVE_LOW>;
155 rng-gpios = <&pioD 19 GPIO_ACTIVE_LOW>;
158 - |
159 #include <dt-bindings/gpio/gpio.h>
160 #include <dt-bindings/interrupt-controller/irq.h>
161 #include <dt-bindings/mfd/at91-usart.h>
162 #include <dt-bindings/dma/at91.h>
166 compatible = "atmel,at91sam9260-usart";
168 atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
171 clock-names = "usart";
172 atmel,use-dma-rx;
173 atmel,use-dma-tx;
176 dma-names = "tx", "rx";
177 atmel,fifo-size = <32>;
180 - |
181 #include <dt-bindings/gpio/gpio.h>
182 #include <dt-bindings/interrupt-controller/irq.h>
183 #include <dt-bindings/mfd/at91-usart.h>
184 #include <dt-bindings/dma/at91.h>
188 compatible = "atmel,at91sam9260-usart";
190 #address-cells = <1>;
191 #size-cells = <0>;
192 atmel,usart-mode = <AT91_USART_MODE_SPI>;
195 clock-names = "usart";
198 dma-names = "tx", "rx";
199 cs-gpios = <&pioB 3 GPIO_ACTIVE_HIGH>;