Lines Matching +full:at91rm9200 +full:- +full:spi

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 - const: atmel,at91sam9260-usart
30 - items:
31 - const: microchip,sam9x60-dbgu
32 - const: microchip,sam9x60-usart
33 - const: atmel,at91sam9260-dbgu
34 - const: atmel,at91sam9260-usart
35 - items:
36 - const: microchip,sam9x7-dbgu
37 - const: atmel,at91sam9260-dbgu
38 - const: microchip,sam9x7-usart
39 - const: atmel,at91sam9260-usart
47 clock-names:
50 - const: usart
51 - const: gclk
56 - description: USART Peripheral Clock
57 - description: USART Generic Clock
61 - description: TX DMA Channel
62 - description: RX DMA Channel
64 dma-names:
66 - const: tx
67 - const: rx
69 atmel,usart-mode:
72 Must be either <AT91_USART_MODE_SPI> for SPI or
73 <AT91_USART_MODE_SERIAL> for USART (found in dt-bindings/mfd/at91-usart.h).
76 atmel,use-dma-rx:
80 atmel,use-dma-tx:
84 atmel,fifo-size:
92 - compatible
93 - reg
94 - interrupts
95 - clock-names
96 - clocks
97 - atmel,usart-mode
100 - if:
102 atmel,usart-mode:
106 - $ref: /schemas/spi/spi-controller.yaml#
109 atmel,use-dma-rx: false
111 atmel,use-dma-tx: false
113 atmel,fifo-size: false
115 "#size-cells":
118 "#address-cells":
122 - "#size-cells"
123 - "#address-cells"
127 - $ref: /schemas/serial/serial.yaml#
128 - $ref: /schemas/serial/rs485.yaml#
133 - |
134 #include <dt-bindings/gpio/gpio.h>
135 #include <dt-bindings/interrupt-controller/irq.h>
136 #include <dt-bindings/mfd/at91-usart.h>
137 #include <dt-bindings/dma/at91.h>
141 compatible = "atmel,at91sam9260-usart";
143 atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
146 clock-names = "usart";
147 atmel,use-dma-rx;
148 atmel,use-dma-tx;
149 rts-gpios = <&pioD 15 GPIO_ACTIVE_LOW>;
150 cts-gpios = <&pioD 16 GPIO_ACTIVE_LOW>;
151 dtr-gpios = <&pioD 17 GPIO_ACTIVE_LOW>;
152 dsr-gpios = <&pioD 18 GPIO_ACTIVE_LOW>;
153 dcd-gpios = <&pioD 20 GPIO_ACTIVE_LOW>;
154 rng-gpios = <&pioD 19 GPIO_ACTIVE_LOW>;
157 - |
158 #include <dt-bindings/gpio/gpio.h>
159 #include <dt-bindings/interrupt-controller/irq.h>
160 #include <dt-bindings/mfd/at91-usart.h>
161 #include <dt-bindings/dma/at91.h>
165 compatible = "atmel,at91sam9260-usart";
167 atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
170 clock-names = "usart";
171 atmel,use-dma-rx;
172 atmel,use-dma-tx;
175 dma-names = "tx", "rx";
176 atmel,fifo-size = <32>;
179 - |
180 #include <dt-bindings/gpio/gpio.h>
181 #include <dt-bindings/interrupt-controller/irq.h>
182 #include <dt-bindings/mfd/at91-usart.h>
183 #include <dt-bindings/dma/at91.h>
185 /* SPI mode */
186 spi0: spi@f001c000 {
187 compatible = "atmel,at91sam9260-usart";
189 #address-cells = <1>;
190 #size-cells = <0>;
191 atmel,usart-mode = <AT91_USART_MODE_SPI>;
194 clock-names = "usart";
197 dma-names = "tx", "rx";
198 cs-gpios = <&pioB 3 GPIO_ACTIVE_HIGH>;